0

I am using Feeds and Feeds XPath Parser.

I have an XML source like this.

<item>
    <description>
         MYdescription
     </description>

     <content:encoded>
     <![CDATA[ ]]>

     <p>text text text
     <img class="aligncenter size-medium wp-image-105428" src="example.com/sample0.jpg" alt="" width="300" height="300" 
     srcset="example.com/sample1.jpg 
     300w, example.com/sample2.jpg 150w, example.com/sample3.jpg 420w, " />
     </p> 

     <p>text</p>

     ]]>
    </content:encoded>

</item>

I am trying to parse first image src in the <content:encoded> tag but not work

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.