& converted into & which breaks links

Sam Ruby rubys at intertwingly.net
Tue Aug 18 00:16:22 EST 2009


Ali Ebrahim wrote:
> Hi,
> 
> I have two questions, will ask in sequence.
> 
> Question 1: Ampersand Parsing
> -----------------------------
> 
> When I use a source feed like this:
> 
> http://feeds.feedburner.com/AkhbarBiladImaniyah
> 
> All the post title links have ampersands in them, but after Venus is 
> done parsing, it changes the & into & and this breaks the links. For 
> example, this:
> 
> http://www.zeninfosys.net/zeninfosys/archive_akhbar_details.php?AkhbarType=3&AkhbarID=1608&AkhbarMonth=8&AkhbarYear=1430
> 
> becomes this:
> 
> http://www.zeninfosys.net/zeninfosys/archive_akhbar_details.php?AkhbarType=3&AkhbarID=1607&AkhbarMonth=8&AkhbarYear=1430
> 
> And this problem exists in the generated HTML page and the generated 
> Atom file as well. You can see the output on:
> 
> http://planetbohra.org/
> -and-
> http://planetbohra.org/atom.xml
> 
> How can I avoid this problem?

What is actually going on here is that the feed itself is not well formed:

http://feedvalidator.org/check.cgi?url=http%3A%2F%2Ffeeds.feedburner.com%2FAkhbarBiladImaniyah

Apparently the heuristics in the recovery logic for dealing with such 
feeds could be improved upon.

> Question 2: Planet Venus versions
> ---------------------------------
> 
> As Venus does not have any official versions, it's a bit difficult for 
> non-programmers like me to discern what has changed since the version of 
> Venus I am using (or even if anything relevant as changed at all).
> 
> It would be nice if there were six-monthly versioned releases with a 
> changelog of what happened between the releases so that we know if an 
> upgrade is required.
> 
> At the moment I'm running code from April 2008 and I have no idea if I 
> should upgrade or not, and what files need to be replaced. Some more 
> information on this aspect of Venus would be very much welcome.
> 
> Thanks in advance for your help.

The original plan was for Venus to become Planet version 3.0, but to 
date I have been unable to coordinate properly with Jeff to make this 
happen.

> Regards,
> Ali

- Sam Ruby




More information about the devel mailing list