Page 1 of 1

atom feed - 2nd = sign

Posted: Sat Jan 22, 2005 11:53 am
by Timbalu
Hi

if you have a link like this one

http://www.google.de/search?hl=de&q=xml ... uche&meta=
--------------------------------------------------^
atom erors. Does anybody know how to solf this problem, without having to short down the url?

Re: atom feed - 2nd = sign

Posted: Sat Jan 22, 2005 12:23 pm
by garvinhicking
You need to escape entities. Use '&' instead of '&' in your URLs.

Or use the "Fix common XHTML errors" Serendipity plugin, that should fix it automatically for you.

Regards,
Garvin

Posted: Sun Jan 23, 2005 9:44 pm
by Timbalu
Thanks Garvin,

but know atom has another error.

Please try testing this url

http://www.redensarten-index.de/suche.p ... %5D=bsp_ou

an then view the page with atom.css

Posted: Mon Jan 24, 2005 9:44 am
by garvinhicking
How should I view that page with atom.css? What does it have to do with Serendipity?

Regards,
Garvin

Posted: Tue Jan 25, 2005 5:40 pm
by Timbalu
well, garvin

just place the url with an href tag in a new article and view the site with rss.php?version=atom0.3

The plugin "Fix common XHTML errors" does not really repair the error.

That is a matter of serendipity, isn“t it?
Ian

Posted: Wed Jan 26, 2005 11:00 am
by garvinhicking
Hi Ian!

This works well for me; you just need to pay attention that the 'Fix common XHTML errors' plugin is the first in stack of event plugins; the 'track exits' plugin MUST appear after that.

It works here on my installation: http://supergarv.hn.org/cvs/serendipity ... on=atom0.3 (see the 'Testlink' link is escaped properly with &s instead of &s)

Regards,
Garvin

Posted: Wed Jan 26, 2005 12:12 pm
by Timbalu
garvinhicking wrote:This works well for me; you just need to pay attention that the 'Fix common XHTML errors' plugin is the first in stack of event plugins; the 'track exits' plugin MUST appear after that.
Hi Garvin

Thats the point, I think!
Hmmm, glad you found the trick - thank you v.m.!

I just tested it. Now atom delivers the feed as wanted, but the &amp
does not get changed when you follow the link.
Remember its 0.7.1 not 0.8.

Ian