GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Magpie RSS and Namespaced xml problem (https://gfy.com/showthread.php?t=815620)

iMind 03-17-2008 08:55 AM

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 03-17-2008 09:17 AM

Bump for me!
Anyone?

iMind 03-17-2008 11:19 AM

one last bump!

rowan 03-17-2008 12:20 PM

Quote:

Originally Posted by iMind (Post 13930319)
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"];

iMind 03-17-2008 04:37 PM

Quote:

Originally Posted by rowan (Post 13931292)
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.:disgust

rowan 03-17-2008 10:25 PM

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


All times are GMT -7. The time now is 07:52 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123