dlcount.php, Ampersands, RSS (podcast)

Report bugs of current version 2.2.5 here!

Moderators: Moderator Team, Development Team

dlcount.php, Ampersands, RSS (podcast)

Postby kus on Fri Feb 17, 2006 3:07 pm

i tried to use dlcount.php to count my downloads in a podcast/rss feed

the invalid xml encloure tag will look like this

Code: Select all
<enclosure url="http://www.whatever.com/pphlogger/dlcount.php?id=userid&url=http://www.somethingelse.com/ext/drumming.mp3" length="4024170" type="audio/mpeg" />

valid xml enclosure tag (ampersand escaped)

Code: Select all
<enclosure url="http://www.whatever.com/pphlogger/dlcount.php?id=userid&amp;url=http://www.somethingelse.com/ext/drumming.mp3" length="4024170" type="audio/mpeg" />

the problem is the ampersand between userid and url. this is not valid xml. escaping the ampersand to &amp; would be valid, but then dlcount.php fails to work.

any suggestions?
Posts: 1
Joined: Fri Feb 17, 2006 3:00 pm

Return to PPhlogger bug reports

Who is online

Users browsing this forum: No registered users and 2 guests