Auf Kommentar antworten

RSS for non-RSS sites

I am a great fan of RSS, since it allows me to keep track of numerous sites I would otherwise check manually. Especially with some webcomics that are rather irregularly updated this is a pain and much better with RSS. On that note I'd really like webcomic authors to not just provide a link to the strips but rather embed the image itself into the RSS which makes reading much more comfortable (and should reduce traffic on their site).

A few hours ago I hacked together two pretty ugly scripts that fetch a web comic for a fellow student and one for me and output the last 5 strips as RSS. Works fine for now, I'll see whether there are any problems with updates.

You can adapt to your own needs if you see fit.

UPDATE (2008–01–31 10:20): Code for bash.org was missing. This is fixed now.

UPDATE (2008–11–06 07:46): Code for ruthe.de adapted since the site changed in the meantime.

UPDATE (2009–02–29 14:16): RSS for bash.org was invalid when encountering non-ASCII characters in the text. Should be fixed now.

UPDATE (2010–04–14 12:40): Code for ruthe.de adapted again due to a small change in the site's layout.

AnhangGröße
The Whiteboard RSS Source Code3.05 KiB
Ruthe.de RSS Source Code2.83 KiB
bash.org RSS Source Code2.67 KiB

Antworten

The content of this field is kept private and will not be shown publicly.