According to http://tools.ietf.org/html/rfc4287#section-4.2.1 the atom:author tag is a Person construct. It can (as http://tools.ietf.org/html/rfc4287#section-3.2) has 3 children. Something like this is valid:
<author>
<name>John Doe</name>
<email>johndoe@example.com</email>
</author>
(both in feed source or each entry).
Currently Aggregator does not parse author tag, nor its children.
A consequence of this bug is if we have this:
<summary>some data...</summary>
<author>
<name>John Doe</name>
<email>johndoe@example.com</email>
</author>
Then after the parsing, $feed->items[0]['summary'] contains erronous data:
some data...
John Doe</name>
johndoe@example.com
It is because the parser does not process these tags.
Comments
Comment #1
jcisio commentedThis is the first try. I should work, however I don't understand why 'author' is NULL. As I don't have more time for this, I just upload this patch and fix my project with a workaround.
Note: this patch however fixes the 'summary' field.
Comment #1.0
jcisio commentedadd a consequence
Comment #2
Crisz commentedComment #4
ParisLiakos commentedi think now we switched parsing to zend, this should be fixed
Comment #5
jcisio commentedOk then patches for Drupal 7.
Comment #6
jcisio commentedComment #10
jcisio commentedIt's weird that we has tests failed but only in RemoveFeedItemTestCase. I have different fails locally, so retest to check.