Magpie RSS and Namespaced xml problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iMind
    Confirmed User
    • Nov 2007
    • 937

    #1

    Magpie RSS and Namespaced xml problem

    Does anyone here know how to target namespaced RSS elements using Magpie RSS , documentation says I can target it like

    $img = $item[itms][coverArt];

    but that's not working at all :P

    anyone have any ideas ?
  • iMind
    Confirmed User
    • Nov 2007
    • 937

    #2
    Bump for me!
    Anyone?

    Comment

    • iMind
      Confirmed User
      • Nov 2007
      • 937

      #3
      one last bump!

      Comment

      • rowan
        Too lazy to set a custom title
        • Mar 2002
        • 17393

        #4
        Originally posted by iMind
        Does anyone here know how to target namespaced RSS elements using Magpie RSS , documentation says I can target it like

        $img = $item[itms][coverArt];

        but that's not working at all :P

        anyone have any ideas ?
        Have you tried quotes around the names?

        $img = $item["itms"]["coverArt"];

        Comment

        • iMind
          Confirmed User
          • Nov 2007
          • 937

          #5
          Originally posted by rowan
          Have you tried quotes around the names?

          $img = $item["itms"]["coverArt"];
          yeah , no go

          Can't find much in the way of documentation on anything like this somehow either unfortunately.

          Comment

          • rowan
            Too lazy to set a custom title
            • Mar 2002
            • 17393

            #6
            Try var_dump($item) to see what magpie is parsing and returning.

            Comment

            Working...