Hi, I'm currently using XPath to import entries from a MochiMedia feed located below. Each entry element inside the xml document has a summary element containing XHTML.
I am trying to use the XML parser to access those html elements, while also accessing some of the xml elements outside of the summary element. Is this possible with the XPath parser?
The parser will only either XML or HTML elements when switching between the XML and HTML parsers. If it is not possible to access those HTML elements at the same time as the XML ones, any suggestions about how to do this would be appreciated.
Here is a link to the feed:
http://catalog.mochimedia.com/feeds/query/?q=(((((((((((((category%3Aeducation)%20or%20category%3Aboard-game)%20or%20category%3Aadventure)%20or%20category%3Adriving)%20or%20category%3Adress-up)%20or%20category%3Apuzzles)%20or%20category%3Acustomize)%20or%20category%3Asports)%20or%20category%3Astrategy)%20or%20category%3Arhythm)%20or%20category%3Ajigsaw)%20and%20rating%3Aeveryone)%20and%20recommendation%3A%3E%3D4)%20and%20width%3A%3C%3D900&partner_id=84e1f5458ce73666&format=atom&limit=2
Comments
Comment #0.0
bropp CreditAttribution: bropp commentedtypos
Comment #0.1
bropp CreditAttribution: bropp commentedtypos
Comment #1
twistor CreditAttribution: twistor as a volunteer commentedThere's no easy way to do this. The HTML inside the XML is just like regular text.
See #1459870: Add XPath query Feeds Tamper plugin. for a possible solution.
Comment #2
twistor CreditAttribution: twistor as a volunteer commentedClosing out old issues.