Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 08-18-2005, 07:24 PM
dan1el Offline
pp regular
 
Join Date: Aug 2005
Posts: 28
Problem with ATOM feeds

There is an XML parsing error here:
http://www.dan1el.net/photoblog/?x=atom

How to fix?
Reply With Quote
  #2  
Old 08-18-2005, 07:33 PM
Connie
Guest
 
Posts: n/a
Daniel,

the problem is not with ATOM, the reason is your IMG-code and RSS and ATOM are very picky with special characters:

Quote:
<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&amp;category=12'>Animals /</a> &nbsp;" />
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
Reply With Quote
  #3  
Old 08-18-2005, 07:47 PM
dan1el Offline
pp regular
 
Join Date: Aug 2005
Posts: 28
From my template:
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><im g id="image" src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_TITLE> | <IMAGE_DATETIME> | <IMAGE_CATEGORY>" /></a>
Reply With Quote
  #4  
Old 08-18-2005, 07:51 PM
dan1el Offline
pp regular
 
Join Date: Aug 2005
Posts: 28
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.
Reply With Quote
  #5  
Old 08-18-2005, 07:57 PM
Connie
Guest
 
Posts: n/a
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
Reply With Quote
  #6  
Old 08-18-2005, 07:58 PM
dan1el Offline
pp regular
 
Join Date: Aug 2005
Posts: 28
Im using PP 1.4.2.
Reply With Quote
  #7  
Old 08-18-2005, 10:07 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
So until you use 1.5 beta stop adding special chars into titles :P
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #8  
Old 05-20-2006, 01:28 AM
ranko Offline
pp regular
 
Join Date: Apr 2006
Posts: 46
Exclamation apostrophe in thumbnail title

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)?

Code:
<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...
__________________
supersteady.org
Reply With Quote
  #9  
Old 05-21-2006, 09:00 AM
Connie
Guest
 
Posts: n/a
Ranko,

thanks. We must check how the Addon for paged archives escapes the title-text.

thanks for the info!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:00 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs