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

twistor’s picture

Assigned: Unassigned » twistor
Status: Active » Fixed

video:imageUrl is another level deep. You want.

context: //item
image_url: video:movieData/video:imageUrl

burgs’s picture

Thank you so much for this twistor. For some reason this just didn't click :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.