Re: generate a rss.xml from a bunch of HTML files
Emanuel Berg wrote:
> How can I generate a rss.xml from a bunch of HTML files?
>
> Tho one would think this to be quite a simple tool of parsing
> the HTML and outputting the RSS XML dialect, I can't find any
> tool...
>
> tt-rss maybe, but when I install it it tries to setup a MySQL
> database which fails.
That's a web-based RSS reader, not a generator.
> I don't know why, but it seems too involved anyway, there
> isn't a webpile2rss tool like this or something:
>
> $ webpile2rss *.html > rss.xml # sweet
There isn't one packaged in Debian, but there are libraries
packaged which would allow you to build one.
You might be happy with a static site generator, which takes a
directory full of documents and arranges them into a website,
usually including an RSS or ATOM feed.
Packaged in Debian:
hugo, jekyll, lektor, nanoc, staticsite, pelican
-dsr-
Reply to: