www.webdeveloper.com
Results 1 to 3 of 3

Thread: Parse an RSS

  1. #1
    Join Date
    Jan 2010
    Posts
    12

    Question Parse an RSS

    Hello,

    I'm looking for a way to get both the TEXT and the IMG from this RSS:
    http://www.tasteline.com/rss/middagstipset/?imgitem=1

    I've managed to get the URL and the TEXT, but the image was more diffcult.

    Is there any helpfull soul here at WebDev. that could help me parse the ADDRESS to the IMG aswell as the TEXT?

    I recon PHP or a XML parser could do the trick?
    I'm not so good at getting stuff from an RSS stream - but I'm getting there...

    Kind regards,
    PIXY

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,338
    You could use a 3rd-party solution such as MagpieRSS. (There are quite a few others, this is just the first one I remembered someone else mentioning that he used.)

    If you want to write your own, the SimpleXML or DOM extension is the way I'd approach it.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Mar 2009
    Posts
    3
    You could use RSS Scripts at http://www.feedforall.com/scripts-directory.htm to manipulate the RSS feed

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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