I’ve been having a bit of a problem with FeedX and quote marks. I was dragging in my Twitter RSS feed, and one latest entry was of the form:
content content "content content" content
Unfortunately, it was being rendered like this:
content content"content content"content
The whitespace around the quotes was being removed. The problem is caused by the PHP XML parser splitting lines with whitespace, and although FeedX is written to handle this, this line (in feedx.class.inc.php) means that whitespace within tag data is trimmed when it shouldn’t be:
374: $data = trim($data);
So, comment out (or remove) the above line and add the following to the beginning of the tagEnd function, and quote marks will be handled properly within content:
$this->elements[count($this->elements)-1]['value'] = trim($this->elements[count($this->elements)-1]['value']);