Welcome to WebmasterWorld Guest from 184.72.177.182

Forum Moderators: bill & werty

Message Too Old, No Replies

Preserving html formatting

Preserving html formatting

     
12:30 pm on Feb 27, 2006 (gmt 0)

New User

5+ Year Member

joined:Feb 27, 2006
posts:3
votes: 0


Hi,

Here are 2 pages, on our site, that I would like to create RSS feeds for - both are dynamic in that there is new material each week.

<snip>

Series of plant/gardening tips

<snip>

The Car Review is the target here. I have already created a RSS feed for this one - actually the news publishing software does this - but my question for both is how to preserve the html formatting - as in paragraphs are separated, Bold text is preserved in the feed as bold, etc...

Also - both of these features have corresponding mp3 files generated each week - could those be incorporated as a podcast type of feed?

Thanks
Dodge

[edited by: werty at 5:06 pm (utc) on Feb. 28, 2006]
[edit reason] Removed links - Please see TOS #13. [/edit]

12:58 pm on Mar 1, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 20, 2002
posts:889
votes: 0


Hi Dodger. Welcome to WebmasterWorld.

I'm confused as to why you want to preserve formatting on your rss feeds? If people wanted to see your formatting then surely they would go to your webpage. If you do leave your HTML tags in your feed then it is up to the RSS Reader/Aggregator as to what they do with it. Some will use it, some will escape it (e.g you would see <B>Hello</B> in the text, others will remove it.

As far as Podcasts are concerned, a Podcast is just an <item> in a RSS2.0 feed with an <enclosure> that points to an MP3 file. So you can easily add in your mp3 files.

11:33 am on Mar 2, 2006 (gmt 0)

New User

5+ Year Member

joined:Feb 27, 2006
posts:3
votes: 0


I see ... I think. It's not necessary to include the entire article in the feed - simply a short description and the link to the webpage containing the article? That sounds reasonable... I guess I thought that folks would want to read it within their news readers.

Thanks!
Dodge

12:14 pm on Mar 2, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 20, 2002
posts:889
votes: 0


No, why not include the whole article in the feed. But the content is not meant to include any HTML markup.
12:25 pm on Mar 2, 2006 (gmt 0)

New User

5+ Year Member

joined:Feb 27, 2006
posts:3
votes: 0


When I include the entire feed - it is jumbled all together as there are no paragraphs as in the original [html ] web column.

[edited by: engine at 12:43 pm (utc) on Mar. 2, 2006]