954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to use xml?

I want to use RSS at my site,how to do in dreamweaver?
This is the code:

<?xml version="1.0" encoding="ISO-8859-1" ?> 
- <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
- <channel>
  <title>WeakGame Entertainment</title> 
  <link>weakgame.com</link> 
  <lastbuilddate>Sun, 25 Dec 2005 04:15:31 -0500</lastbuilddate> 
  <description>The latest posts on WeakGame.com</description> 
  <language>en-us</language> 
- <item>
  <title>No Santa</title> 
  <link>http://www.weakgame.com/?show=5594</link> 
  <description /> 
  <dc:date>Sun, 25 Dec 2005 00:00:00 -0500</dc:date> 
  </item>
- <item>
  <title>The "L" Word</title> 
  <link>http://www.weakgame.com/?show=5593</link> 
  <description /> 
  <dc:date>Sun, 25 Dec 2005 00:00:00 -0500</dc:date> 
  </item>
- <item>
  <title>Peter Griffin Christmas</title> 
  <link>http://www.weakgame.com/?show=5592</link> 
  <description /> 
  <dc:date>Sun, 25 Dec 2005 00:00:00 -0500</dc:date> 
  </item>
- <item>
  <title>Get Rid of Wifey</title> 
  <link>http://www.weakgame.com/?show=5585</link> 
  <description>A funny McDonalds commercial that shows us how to get rid of the wife</description> 
  <dc:date>Sun, 25 Dec 2005 00:00:00 -0500</dc:date> 
  </item>
- <item>
  <title>Ref Knock-out</title> 
  <link>http://www.weakgame.com/?show=5560</link> 
  <description>Lucky this wasnt a championship match or else the red would be walking away with a belt around his waist.</description> 
  <dc:date>Sat, 24 Dec 2005 00:00:00 -0500</dc:date> 
  </item>
  </channel>
  </rss>
steven01
Light Poster
32 posts since Apr 2005
Reputation Points: 10
Solved Threads: 0
 

That looks like valid RSS, so however you created it, you did it correctly. If on the other hand, you are asking how to consume that RSS feed to display content on your site, you'll need to write some code in whatever server-side language you use to parse the XML into whatever you like (HTML, presumably). So you should ask your question in either the ASP, PHP, or ASP.NET Forum.

I don't use Dreamweaver, but doubt it has any way of authoring an RSS consumer.

tgreer
Made Her Cry
Team Colleague
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
 

It looks as if he followed up with a post in the PHP forum: http://www.daniweb.com/techtalkforums/post181852.html#post181852

cscgal
The Queen of DaniWeb
Administrator
19,437 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 231
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You