Results 1 to 2 of 2
Thread: Test RSS reader on localhost?
Jan 3, 2007, 21:03 #1
- Join Date
- Oct 2006
- 0 Post(s)
- 0 Thread(s)
Test RSS reader on localhost?
I'm trying to implement an rss feed on my website. So far I've pieced togteher an ajax script from a few soiurces which I think will work, but I don't know how to test it as I'm quite new at RSS. Here's the script:
<?xml version="1.0" encoding="iso-8859-1"?> <rss version="2.0"> <channel> <item> <title>The first feed title</title> <description>The Description is hereThe Description is hereThe Description is hereT </description> <link>http://localhost/thefirstfeed.com</link> </item> <item> <title>The second feed title</title> <description>The Description is here AJAX lemony fresh The Description is here The Description is here AJAX lemony freshThe Description is here AJAX lemony fresh </description> <link>http://localhost/thesecondfeed.com</link> </item> <item> <title>The third feed title</title> <description>The Description is here, VERA vera VERA veraVERA veraVERA veraVERA vera </description> <link>http://localhost/thethirdfeed.com</link> </item> </channel> </rss>
Obviously I have no ".rss.xml" files for the script. Are these the 'actual' feeds or something. Can I simply create these files, or do I have to register my feed with some type of host or something like that? Like I said I'm new to RSS and and I could be totally missing something. Can I even create and test RSS on a 'localhost'? Any help would be appreciated and I can post the ajax xml parse script if that helps.
Jan 4, 2007, 14:34 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 198 Post(s)
- 3 Thread(s)
no xml files to test?
XML files, like HTML files, are plain/text files with the extension .xml instead of .html
I think if you set the path to it correctly you should be able to see something. Unless I'm missing what you're saying here.Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse