Closed (fixed)
Project:
Feeds XPath Parser
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Jan 2011 at 03:55 UTC
Updated:
22 Feb 2011 at 23:50 UTC
I've looked everywhere for help on this, and thought someone here could help instantly.
My xml that I'm importing with feeds looks like:
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:video="http://www.example.com" version="2.0">
<channel>
<item>
<description>Eddie Murphy stars as a successful financial executive who has more time for his blackberry than his seven-year-old daughter (Yara Shahidi). When he has a crisis of confidence and his career starts going down the drain, however, he finds the solution to all his problems in his daughter's imaginary world.</description>
<pubDate>Fri, 17 Dec 2010 08:58:27 GMT</pubDate>
<title>Imagine That</title>
<video:movieData>
<video:genre>Family</video:genre>
<video:imageUrl>/image.jpg</video:imageUrl>
<video:actors>Nicole Ari Parker, Eddie Murphy, Thomas Haden Church</video:actors>
<video:classification>PG</video:classification>
</video:movieData>
<video:productReviews>
<video:review>
<video:reviewText>Love it!</video:reviewText>
<video:reviewer>agvedotti</video:reviewer>
</video:review>
</video:productReviews>
</item>
I'm setting the context to //item
But I can't get the value for video:imageUrl
Any ideas?
Comments
Comment #1
twistor commentedvideo:imageUrl is another level deep. You want.
context: //item
image_url: video:movieData/video:imageUrl
Comment #2
burgs commentedThank you so much for this twistor. For some reason this just didn't click :)