1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Scrape an RSS feed?

Discussion in 'PHP & Perl' started by macyzbor, Oct 12, 2009.

  1. macyzbor

    macyzbor Junior Member

    Joined:
    Jul 23, 2009
    Messages:
    147
    Likes Received:
    12
    Location:
    On the Sun
    I need to scrape an rss feed, and take only the url from there. I can't find a script that does this easily.

    Does some one has this kind of script?
     
    Last edited: Oct 12, 2009
  2. dukefx

    dukefx Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 8, 2009
    Messages:
    246
    Likes Received:
    109
    Occupation:
    VP Information Technology
    Location:
    Dagobah
    you can use curl and regex
     
  3. TheMadBlackHatter

    TheMadBlackHatter Newbie

    Joined:
    Aug 7, 2009
    Messages:
    38
    Likes Received:
    47
    Occupation:
    Self-employed
    Location:
    The web
    Try http://www.simplepie.org/. It makes all of that a lot easier.
     
    • Thanks Thanks x 1