View Full Version : Problem with ATOM feeds
08-18-2005, 07:24 PM
There is an XML parsing error here:
How to fix?
08-18-2005, 07:33 PM
the problem is not with ATOM, the reason is your IMG-code and RSS and ATOM are very picky with special characters:
<img id="image" src="images/20050816014243_die_seagull.jpg" alt="Die, Seagull" title="Die, Seagull | August 17th 2005 - 18:00 | Category: <a href='/photoblog/index.php?x=browse&category=12'>Animals /</a> " />
what is this code? A HREF-LINK inside a image-title??????
if you fix that I am sure your FEED will validate better, CSS as well
08-18-2005, 07:47 PM
From my template:
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><img id="image" src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_TITLE> | <IMAGE_DATETIME> | <IMAGE_CATEGORY>" /></a>
08-18-2005, 07:51 PM
Okay, the problem was that <IMAGE_CATEGORY> had links. Still, that is irrelevant.
The PROBLEM is an XML-parsing error:
title='A broken arm doesn't stop me'
the ' in doesn't is making problems. Perhaphs I should use " in the code?
Edit: it seemed that my fix (using " instead of ') worked. I consider this as a bug, since you cannot have ' in your image titles.
08-18-2005, 07:57 PM
Ah, I see, which PP version are you using?
This error is fixed in the next version, Apostrophe in titles etc.
so, in the moment I wouldn't use this character or mask it
08-18-2005, 07:58 PM
Im using PP 1.4.2.
So until you use 1.5 beta stop adding special chars into titles :P
05-20-2006, 01:28 AM
I am using pp1.5RC (1? i think) and recently experienced this "apostrophe in titles" issue--not in the page displaying the fullsize image, but in the archive page (browse_template) where the title appeared: the page and thumbnails show up fine, no problems, but it will not validate. something to do with the way the <THUMBNAILS_WHOLE_PAGED> tag renders the titles (with single quotation marks)?
<a href='index.php?showimage=46'><img src='thumbnails/thumb_20060514101129_shang.jpg' alt='it's a very deep sea' title='it's a very deep sea' class='thumbnails' /></a>
Not a big deal, fixed by simply removing the offending "it's" but when I came across this discussion here I thought you guys might want to know. Apologies if this is the wrong section of the forum...
05-21-2006, 09:00 AM
thanks. We must check how the Addon for paged archives escapes the title-text.
thanks for the info!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.