ZenphotoCMS Forum
RSS links not valid - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: RSS links not valid (/thread-4799.html)



RSS links not valid - Flux - 2009-03-04

Hi there,
I installed Zenphoto few weeks ago, and the RSS feed was working fine.
But for a few days, the links displayed are wrong:
the & are replaced by &, and so the links to pictures dont work any more.

Here an example of link generated by the rss :

http://fluxflixflex.free.fr/index.php?album=cedric-max-week-in-edin&image=DSC04289.JPG

Before, this link used to link directly to the picture, but because of the &, the link goes on the album.
I think this bug appears when I created an album which name contain the & character. I removed it now.

Any ideas would be really welcome.

Thanks




RSS links not valid - Flux - 2009-03-04

okies the & are replaced by the "& amp;", sorry it did not work well when i posted it..




RSS links not valid - Flux - 2009-03-05

any ideas ?




RSS links not valid - acrylian - 2009-03-06

I would say just avoid using "&" in file-/foldernames. How shall the server know that the "&" is part of a filename and not of the url query? You can of course have it as a album/imagetitle as these are independend.




RSS links not valid - Flux - 2009-03-08

Ok i fixed it, I removed the ![CDATA[ in the tag,
and then add an htmlentity_decode() for the uri string.

Working fine now.