I'm trying to get Twitter user icons to show up and I'm failing.
I'm using the latest version of FeedApi on the latest D6 version of Drupal.
I'm using a feed generated by search.twitter.com. I'm using SimplePie as my parser.
When I go to: node//map nothing comes up that says anything about the author pic for me to map to one of my fields.
Here is a line of xml from the feed which is an example of what I want simplepie to pick up, but doesn't seem to be doing:
<link type="image/png" rel="image" href="http://s3.amazonaws.com/twitter_production/profile_images/94586918/harriet1_normal.jpg"/>
Anyone have a clue why simplepie is missing the boat on this. Or is there some feedapi problem?
Thanks,
Shai
Comments
Comment #1
simon_s commentedSame problem here! It seems the parser doesn't recognize the image link element in the twitter atom feed. Please help!
Comment #2
Shai commentedkullerkeks and others,
Hmm, should I have posted this in the feedapi_mapper queue? I hate to double post, so I'll wait a little longer here. Any advice at all, including "you posted in the wrong queue" would be helpful.
Thanks so much to everyone who has helped out on a truly awesome module.
Shai Gluskin
Comment #3
alex_b commentedThis is a parser issue. parser_simplepie apparently does not expose this feed element, I'm guessing that parser_common_syndication does not expose it either. A possibility would be to use feedapi_eparser http://drupal.org/project/feedapi_eparser and create a parser plugin that parsers this specific element.
Comment #4
alex_b commentedShorter title, correct version.
Comment #5
simon_s commentedThanks alex_b, you're right, the parser_common _syndication doesn't work for this element either.
Is there a some kind of documentation how to write feedapi_eparser plugins? I could not find any docs for this module so far. With it's standard plugins, the eparser atom mode exposes some more elements of that twitter atom feed, but misses the content of the link element with the twitter-image link, too.