Reply
Get HTML to show up in XML/RSS feed
Old 02-16-2009, 03:01 PM Get HTML to show up in XML/RSS feed
Spud In Disguise's Avatar
Super Spam Talker

Posts: 802
Location: UK... where else?
Trades: 0
Hi everyone, I have just started to use XML: to create a simple news feed for my site. I create the feed, burn it on feedburner and then use their 'Buzz Boost' to syndicate the content on my page.

However I would like to know if its possible to include html within a feed, I'm getting the impression that it isn't - but I would appreciate confirmation either way. Also, I cannot make symbols appear, I am trying to get the pound (£) symbol to show up, but all I get is the question mark. I have tried adding the ascii for it and that doesn't work either.

In case it helps here's my code, I appreciate any help you can offer

Code:
<?xml version="1.0"?>
<rss version="2.0">
<channel>

<title>Ambient Moods News</title>
<description>The latest news and information from www.ambient-moods.co.uk - featuring upcoming and new releases.</description>
<link>http://www.ambient-moods.co.uk</link>

<item>
<title>Hero of the Grey Area added to the site</title>
<description>Today you can download the 2007 album from SGX in our store. The album spans several genres and can be yours for just £5!</description>
<link>http://ambient-moods.muzicom.net/news/links/click.php?id=2</link>
<pubDate>Sun, 15 Feb 2009 18:00:00 GMT</pubDate>
</item>

<item>
<title>The Shadow EP by Morpheus X Added </title>
<description>We are proud to announce the first Ambient Moods exclusive release, the Shadow EP by Morpheus X. From the solo project of one of the members of Auteur Theory this release features three brand new tracks which span an eerie wilderness through to epic atmosphere! </description>
<link>http://ambient-moods.muzicom.net/news/links/click.php?id=1</link>
<pubDate>Fri, 09 Jan 2009 20:00:00 GMT</pubDate>
</item>

</channel>
</rss>
__________________
Daft Punk - Fansite
Music Recommendation - Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
 
When You Register, These Ads Go Away!
Old 02-16-2009, 03:31 PM Re: Get HTML to show up in XML/RSS feed
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
You can't, your best bet is to make xsl, or use "BB" tags with the str_replace php function.
__________________
Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 02-16-2009, 03:33 PM Re: Get HTML to show up in XML/RSS feed
Spud In Disguise's Avatar
Super Spam Talker

Posts: 802
Location: UK... where else?
Trades: 0
xsl? how does that work?
__________________
Daft Punk - Fansite
Music Recommendation - Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Old 02-16-2009, 03:54 PM Re: Get HTML to show up in XML/RSS feed
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
Quote:
Originally Posted by Spud In Disguise View Post
xsl? how does that work?
Its style sheets but for xml, frankly I like to stick to "style parsing". Here is the "official" site is here.
__________________
Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 02-21-2009, 03:42 PM Re: Get HTML to show up in XML/RSS feed
VirtuosiMedia's Avatar
Usability > SEO

Posts: 1,108
Trades: 0
You can include HTML in your RSS feed. Do a search on CDATA and RSS. It should give you what you need.
VirtuosiMedia is online now
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 02-28-2009, 01:21 PM Re: Get HTML to show up in XML/RSS feed
Spud In Disguise's Avatar
Super Spam Talker

Posts: 802
Location: UK... where else?
Trades: 0
Excellent, that worked a charm! What is CDATA then?
__________________
Daft Punk - Fansite
Music Recommendation - Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Old 02-28-2009, 02:52 PM Re: Get HTML to show up in XML/RSS feed
chrishirst's Avatar
Super Moderator

Posts: 26,524
Location: Blackpool. UK
Trades: 0
Character Data

The CDATA tag tells the XML parser that the the contents of these nodes should NOT be parsed by the XML interpreter.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | Crowded Nightclub? | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Get HTML to show up in XML/RSS feed
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11671 seconds with 13 queries