17 Jan 2010 movement   » (Master)

Liferea strict feed validation tip


New versions of Liferea refuse to parse any feed that fails to validate, even for relatively "minor" problems (the libxml2 recovery facility is no longer used; besides, it abandons the rest of the feed when it hits such problems). I don't want to use Google Reader, since I don't like the interface.


Typically bad feeds have things like high-bit chars or bare ampersands. Thankfully, there's a "conversion filter" feature that you can use to work around the bad feeds. On the two bad feeds, I run this filter:


[moz@pent ~]$ cat bin/fix-ampersands
#!/bin/bash

sed 's/\o226/&/g' | sed 's/& /\&/g' | sed 's/\o243/GBP/g'

Syndicated 2010-01-17 16:33:00 (Updated 2010-01-17 17:08:35) from John Levon

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!