I'm just not getting this!

Discussion in 'XML & RSS' started by Notting, Apr 15, 2006.

  1. #1
    Am I correct in say that XML & RSS are used to get the latest stories and things on your webpages.

    I want to get the headlines from google news about "student Poker" onto my webpage.

    I have got as far as:

    http://news.google.com/news?hl=en&ned=us&ie=UTF-8&q=student+poker&output=rss

    I believe this is an XML file.

    I have an HTML page which I want to display these headlines in.

    I have been trying to work this out for HOURS now but just dont get it. I have read the other threads on this subject.

    Im further confused, what exactly is the difference between atom and RSS, in fact what are they?

    Please help!
    Notting
     
    Notting, Apr 15, 2006 IP
  2. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #2
    try magpierss !
    there are other rss parsers for websites ... check on www.sf.net
     
    iatbm, Apr 15, 2006 IP
  3. jackburton2006

    jackburton2006 Peon

    Messages:
    5,296
    Likes Received:
    282
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That rss link is designed to be run through a third-party newsreader.
     
    jackburton2006, Apr 15, 2006 IP
  4. Notting

    Notting Notable Member

    Messages:
    3,210
    Likes Received:
    335
    Best Answers:
    0
    Trophy Points:
    280
    #4
    What do you mean? I cant get it on my site.

    Is it possible to get google news headings onto your website?

    Thanks in advance
    Jamie
     
    Notting, Apr 15, 2006 IP
  5. spainexpat

    spainexpat Peon

    Messages:
    125
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Like iatbm said, try MapPieRSS, it's a PHP script thing that you will use (according to it's instructions) to read the RSS feed and display it in html on your webpage. Your host will have to have PHP installed of course (almost all do though).

    There are other third party solutions as well, try http://rss-info.com/ It's simple, which I think might appeal to you if you don't have any experience with this stuff.

    As for Atom and RSS, I believe that Atom is the same thing as RSS, it's just a different format for it (like there's RSS 1.0, RSS2.0 and others). The most popular (again, I think, I'm no expert... yet ;)) is RSS 2.0. Different RSS readers will read/prefer different formatted feeds.

    Hope that helps.
     
    spainexpat, Apr 15, 2006 IP
  6. jackburton2006

    jackburton2006 Peon

    Messages:
    5,296
    Likes Received:
    282
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes, you can, but unless you write the script and run it through your own server, you're at the mercy of whatever host is providing you the feed to place on your site. If they go down, your site will lag something awful. Best to do it yourself, I'd imagine.
     
    jackburton2006, Apr 17, 2006 IP