Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-17-2008, 08:55 AM   #1
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2008, 09:17 AM   #2
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
Bump for me!
Anyone?
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2008, 11:19 AM   #3
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
one last bump!
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2008, 12:20 PM   #4
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally Posted by iMind View Post
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"];
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2008, 04:37 PM   #5
iMind
Confirmed User
 
Join Date: Nov 2007
Posts: 937
Quote:
Originally Posted by rowan View Post
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.
iMind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2008, 10:25 PM   #6
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Try var_dump($item) to see what magpie is parsing and returning.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.