Click to See Complete Forum and Search --> : Creating an RSS.XML FILE PLEASE HELP BEFORE I LOSE IT
Gitman
10-07-2005, 10:43 AM
Holy Christ,
WTF, why can't I find out how to do this simplest of tasks? Jesus, every tutorial shows you how to create a .rss file, what is this? I need a .xml file right? I have an rss file made up, and I saved it as a .xml file. The icon changed, and it opened in my web borwser, but I get errors for it.
Can someone please edify me of what the hell is going on? How do I create a very simple .xml file, that I can use to syndicate content.
Thanks.
rss.xml<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Simple title</title>
<link>http://www.someSite.com/</link>
<language>en</language>
<description>What its all about</description>
<webMaster>webmaster@someSite.com</webMaster>
<item>
<title>document 1</title>
<pubDate>Fri, 07 Oct 2005 19:00:00 GMT</pubDate>
<link>http://www.someSite.com/page1.php</link>
<description>bla bla ...</description>
</item>
<item>
<title>document 2</title>
<pubDate>Fri, 07 Oct 2005 19:00:00 GMT</pubDate>
<link>http://www.someSite.com/page2.php</link>
<description>bla bla ...</description>
</item>
</channel>
</rss>
Add a link in the document<link rel="alternate" type="application/rss+xml" title="someSite rss feed" href="rss.xml" />
You might also try the List Garden RSS Feed Generator. It's real simple to use. I wrote a review of it here (http://www.webreference.com/authoring/languages/xml/rss/listgarden/)
Gitman
10-07-2005, 04:54 PM
Yo LeeU,
No diggety on that...ironically, I found that software you mentioned before I came back here, and I just got finished making the feed. I would kiss that man if he stand'th before moi. I don't know how I found that prog, but I was pretty desperate when I did. I'm just glad it seems to be working out now.
To Fang: See, all of these tutorials on how to make an rss, basically tell it like, all you have to do is throw some simple xml tags around your content, add the lil' rss notices at the top, save it in your fav text editor of choice, and VOILA...well, my friend, there is no voila at the end of that rainbow. I had the code looking identical to all of the rss .xml files around the net, but when I tried to save it in notepad, it just wouldn't create the .xml. It looked like an .xml, and kind of smelt like one, but when I opened it, it was just a shell of a xml.
Anyone who finds this thread, and is having the same problems I was having, GET THAT PROGRAM LINKED IN LEEU'S Post.
Cheerios!
but when I tried to save it in notepad, it just wouldn't create the .xml Use a decent editor
Gitman
10-08-2005, 03:52 PM
Hey,
Notepad works fine, I just had ONNNNE whitespace, where it wasn't suppose to be, and it made the whole file bad. Actually, the thing that was causing the problem was an "&" in the title of the feed. Are you not suppose to use these in the title? I used this same title with the & in that Garden program and it worked, so I don't know.
Any thoughts?
"&" should be encoded. The Garden program does that for you.