atom feed - 2nd = sign

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

atom feed - 2nd = sign

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: atom feed - 2nd = sign

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

How should I view that page with atom.css? What does it have to do with Serendipity?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post 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
Post Reply