RSS Parser

Discussion in 'XML & RSS' started by NetworkTown.Net, Feb 16, 2007.

  1. #1
    Hi

    Im looking for a RSS parser that is able to parse the CDATA in rss aswell like youtube has got CDATA taged around the keywords, autor and image which is all under description so i need some sort of parser that will also read the CDATA and allow me to add a array for it too.

    So i can have something like
    
    $item['title'] = $item->title
    bla bla the rest then the CDATA using the same method.
    PHP:

     
    NetworkTown.Net, Feb 16, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Well, on PERL you can use XML::XPath Module.
     
    ajsa52, Feb 20, 2007 IP
  3. class

    class Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Have you tried the PHP parser, magpierss.sourceforge.net? It should be able to do what you want.
     
    class, Feb 21, 2007 IP
  4. NetworkTown.Net

    NetworkTown.Net Well-Known Member

    Messages:
    2,022
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    165
    #4
    Nope, i know it can but there is no guide or installation thing to tell you how to use it i spent over 3 hours trying to find something on it but ended with nothing.
     
    NetworkTown.Net, Mar 8, 2007 IP