I've finally "finished" my work on the rawdog rss plugin (which should realistically be called "syndication.py" or something similar). You can view the results at the rawdog-rss github repository. The plugin was originally authored by Jonathan Riddell, and was later updated by Adam Sampson. While I may leave the git repository online, it should not be considered the new plugin homepage. Now, with that out of the way, the big changes I made:
- There's now a unit test framework built up around the plugin.
- The plugin outputs well-formed XML (in RSS, OPML, and FOAF formats).
- FOAF output is now more better.
I also added a hack: after noticing that the Planet KDE configuration file included HTML references instead of Unicode characters (i.e.
"á" instead of just
"á"), I decided to make the plugin do what was intended , not what was actually written.
The only other thing worth noting is that you can't run the test suite without modifying the rawdog source code. Comments, questions, and criticisms are welcome. Bug reports should be filed at github.