This option uses "html()" QueryPath method to return raw element source. But unlike jQuery QueryPath returns not only children elements but the full element itself. I think it's not the behavior everyone waits for... May be "innerHTML()" will be better?

--- FeedsQueryPathParser.inc.orig       2010-10-22 00:50:39.000000000 +0400
+++ FeedsQueryPathParser.inc    2010-10-26 20:21:50.000000000 +0400
@@ -44,7 +55,7 @@
         $values[] = $i->attr($attr);
       }
       elseif (in_array($source, $this->rawXML)) {
-        $values[] = $i->html();
+        $values[] = $i->innerHTML();
       }
       else {
         $values[] = $i->text();

Comments

twistor’s picture

Category: Bug report » Feature request
Issue summary: View changes
Status: Active » Closed (works as designed)

This is inline with how Feeds XPath Parser works.

Feeds Ex adds an inner html option.