FAQ
Anybody know of a script to generate an rss feed from a regular static html
document? Maybe one that would update the feed when the page is updated?

Just an html page with CSS, Apache, Fedora...

Or is there a tool?

Thanks,

Lincoln

BTW great list, I'm still a lurker.


--
She is not refined. She is not unrefined. She keeps a parrot.
-- Mark Twain

Search Discussions

  • Chris Devers at Dec 13, 2004 at 2:05 am

    On Fri, 10 Dec 2004, Lincoln wrote:

    Anybody know of a script to generate an rss feed from a regular static html
    document? Maybe one that would update the feed when the page is updated?
    Isn't the whole point of RSS to not be static?

    The usual approach would be more along the lines of using a module like
    XML::RSS to generate a dynamic feed with changing content --

    <http://search.cpan.org/~kellan/XML-RSS-1.05/lib/RSS.pm>

    But if you want to convert a static HTML document to something that
    looks like RSS, the easiest way to do it, provided that the HTML is well
    formed and, ideally, XHTML compliant, might be an XSLT converter. This
    article gives one look at how to go about doing that:

    <http://www.xml.com/pub/a/2003/01/02/tr.html>

    Actually, that does a different conversion, but converting your HTML to
    the RSS dialect of XML should certainly be possible.

    You can get Perl involved if you want to, but this is a problem that can
    be done with command line XML processing tools just as easily.


    --
    Chris Devers

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupbeginners @
categoriesperl
postedDec 10, '04 at 2:07p
activeDec 13, '04 at 2:05a
posts2
users2
websiteperl.org

2 users in discussion

Lincoln: 1 post Chris Devers: 1 post

People

Translate

site design / logo © 2022 Grokbase