How to use xml?

Reply

Join Date: Apr 2005
Posts: 32
Reputation: steven01 is an unknown quantity at this point 
Solved Threads: 0
steven01 steven01 is offline Offline
Light Poster

How to use RSS?

 
0
  #1
Dec 25th, 2005
I want to use RSS at my site,how to do in dreamweaver?
This is the code:

HTML and CSS Syntax (Toggle Plain Text)
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. - <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  3. - <channel>
  4. <title>WeakGame Entertainment</title>
  5. <link>weakgame.com</link>
  6. <lastbuilddate>Sun, 25 Dec 2005 04:15:31 -0500</lastbuilddate>
  7. <description>The latest posts on WeakGame.com</description>
  8. <language>en-us</language>
  9. - <item>
  10. <title>No Santa</title>
  11. <link>http://www.weakgame.com/?show=5594</link>
  12. <description />
  13. <dc:date>Sun, 25 Dec 2005 00:00:00 -0500</dc:date>
  14. </item>
  15. - <item>
  16. <title>The "L" Word</title>
  17. <link>http://www.weakgame.com/?show=5593</link>
  18. <description />
  19. <dc:date>Sun, 25 Dec 2005 00:00:00 -0500</dc:date>
  20. </item>
  21. - <item>
  22. <title>Peter Griffin Christmas</title>
  23. <link>http://www.weakgame.com/?show=5592</link>
  24. <description />
  25. <dc:date>Sun, 25 Dec 2005 00:00:00 -0500</dc:date>
  26. </item>
  27. - <item>
  28. <title>Get Rid of Wifey</title>
  29. <link>http://www.weakgame.com/?show=5585</link>
  30. <description>A funny McDonalds commercial that shows us how to get rid of the wife</description>
  31. <dc:date>Sun, 25 Dec 2005 00:00:00 -0500</dc:date>
  32. </item>
  33. - <item>
  34. <title>Ref Knock-out</title>
  35. <link>http://www.weakgame.com/?show=5560</link>
  36. <description>Lucky this wasnt a championship match or else the red would be walking away with a belt around his waist.</description>
  37. <dc:date>Sat, 24 Dec 2005 00:00:00 -0500</dc:date>
  38. </item>
  39. </channel>
  40. </rss>
Last edited by tgreer; Dec 25th, 2005 at 1:29 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to use xml?

 
0
  #2
Dec 25th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: How to use xml?

 
0
  #3
Dec 25th, 2005
It looks as if he followed up with a post in the PHP forum: http://www.daniweb.com/techtalkforum...tml#post181852
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC