Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



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

Posts: 808
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>
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
 
Register now for full access!
Old 02-16-2009, 04: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.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 02-16-2009, 04:33 PM Re: Get HTML to show up in XML/RSS feed
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
xsl? how does that work?
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Old 02-16-2009, 04: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.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 02-21-2009, 04:42 PM Re: Get HTML to show up in XML/RSS feed
VirtuosiMedia's Avatar
Web Design Made Simple

Posts: 1,228
Trades: 0
You can include HTML in your RSS feed. Do a search on CDATA and RSS. It should give you what you need.
__________________
Want new web resources every day? - Follow me on
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 02-28-2009, 02:21 PM Re: Get HTML to show up in XML/RSS feed
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
Excellent, that worked a charm! What is CDATA then?
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Old 02-28-2009, 03:52 PM Re: Get HTML to show up in XML/RSS feed
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
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.18515 seconds with 12 queries