www.webdeveloper.com
Results 1 to 7 of 7

Thread: Creating an RSS.XML FILE PLEASE HELP BEFORE I LOSE IT

  1. #1
    Join Date
    May 2005
    Posts
    134

    Creating an RSS.XML FILE PLEASE HELP BEFORE I LOSE IT

    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.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    rss.xml
    Code:
    <?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
    Code:
    <link rel="alternate" type="application/rss+xml" title="someSite rss feed" href="rss.xml" />
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    May 2004
    Location
    FL
    Posts
    3,453
    You might also try the List Garden RSS Feed Generator. It's real simple to use. I wrote a review of it here
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill

  4. #4
    Join Date
    May 2005
    Posts
    134
    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!

  5. #5
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    but when I tried to save it in notepad, it just wouldn't create the .xml
    Use a decent editor
    At least 98% of internet users' DNA is identical to that of chimpanzees

  6. #6
    Join Date
    May 2005
    Posts
    134
    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?

  7. #7
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    "&" should be encoded. The Garden program does that for you.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles