Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: twistor commentedvideo:imageUrl is another level deep. You want.
context: //item
image_url: video:movieData/video:imageUrl
Comment #2
burgs CreditAttribution: burgs commentedThank you so much for this twistor. For some reason this just didn't click :)