PDA

View Full Version : Pixelpost RSS and Feed Demon


jt06
06-30-2006, 01:48 PM
Does anyone here use Feed Demon to subscribe to feeds? I do and I subscribed to my blog to see how it read and I get a bunch of </br> in the description text. The pattern is where you have a paragraph. Instead of reading it as a paragraph its showing 2 line breaks. Oh and another thing, if I make a link to another page or site. Feed Demon doesn't read the link as a hyperlink. It just reads as text.

The strange thing is that I have other feed subscriptions that use pixelpost and they read fine in the reader.

I found the rss to work in other applications and it even looks right in IE7. I did a search on this forum and didnt find a how to fix this so here I am...

Thanks for any help on this.

GeoS
07-01-2006, 08:52 AM
Show us 2 feeds which:
1) one works fine for you
2) one which doesnt work for you

Then check if you have really the newest version of pixelpost files. RSS code wasnt touched for a long time.

inophoto
07-01-2006, 01:13 PM
Checkout this thread too. I have the same problem.

http://forum.pixelpost.org/showthread.php?t=4126&highlight=html

jt06
07-01-2006, 03:37 PM
I have the latest version.

I have found out how to fix the problem with the line breaks showing up in some feed readers. I know the feed was fine. It was just not dispalying right in the readers. They read fine with no breaks in the text now.

The ones I checkout that didn't work are Feed Demon 2, FeedReader and Sage.

inophoto
07-01-2006, 03:42 PM
Well.. that's great. Going to share how you did it? :)

BTW: I can add Liferea (Unix) and NetNewsWire (OSX) as readers displaying this oddity.

jt06
07-01-2006, 03:52 PM
Yeah I can do that. Im not really sure what is causing it. I think it has something to do with the markdown. In the index.php file. line 800 and 801:

$body = ereg_replace("\n","\n&lt;br /&gt;",$body);
$body = strip_tags( $body );

If you take those lines out your rss will read with out the breaks and hyperlinks will work too. With those lines in you get breaks and links dont show in some readers.

The only downfall is that when you are adding a new images you have to add your paragraph tags and other tags in the image description. Being a web designer I can live with that because thats how I write things for the web pages all the time.

inophoto
07-01-2006, 05:52 PM
Yeah. That's no problem at all.

Cheers for letting me know. Maybe the Devs can look at it and fix it in the next release.

jt06
07-01-2006, 07:21 PM
No problem on the tip.

GeoS
07-02-2006, 10:42 PM
Feedreader for me works fine. This code which you are cutting out is for convertion from new line char to new line with XHTML break line tag. As long as the most of readers can execute (X)HTML code its fine (a specially that such code is valid for feed validator). Links and whole stuff works fine for most of our users.
This 2 post are first alerts from quite long time so I think it is just local problem not global for Pixelpost.