FeedAPI and AP Webfeeds
I was wondering if anyone had discovered a way to fetch AP Webfeeds using FeedAPI on Drupal 6?
So far, I can't seem to get anything to go through. I'd like to be able to retrieve the data and use the Mapper to create nodes, but I don't know if that's going to be possible with the current feed parser.
Groups:
Login to post comments

Nope
I don't think any existing parser can deal with it, since AP doesn't include the actual story in its so-called webfeed. You have to follow the link to the NITF document, fetch it separately, and parse the results. Not rocket science but I don't see a way to do that with anything already coded.
Thanks for that info Mr.
Thanks for that info Mr. Yelvington. I appreciate it.
XML parsing is one place my skills are incredibly weak. Well, only if you consider non-existent to be "weak". Haha.
I was hoping something was out there already that could do the trick. I've been able to retrieve the teaser using SimplePie, but not much more than that.
If anyone out there has a parser which is working for this purpose on Drupal 6 (6.13 to be exact) and might be willing to sell it to me or share it with me, I'd love to hear about it.
While I don't think automating feeds is a huge priority for the smaller community newspapers like ours, it would be nice to take some workload off my editorial team during the day.
Turns out there may be a way
Add &fullContent=true to your AP webfeed URL. See if the Atom feed suddenly gets richer. THAT version may run through FeedAPI without having to write more code. This is an undocumented or poorly documentd AP webfeeds feature; I heard it a moment ago from the guys at NewsEngin.
Oh yeah, that works! I've
Oh yeah, that works!
I've got to figure out my mapping now, but that was the secret sauce I needed. Thanks sir!
Solution?
I am just wondering if there has been a solution for this problem? I am having problems getting the AP WebFeed Atom feed into FeedAPI.
Suggestions?
Robert Rittenhouse