Closed (works as designed)
Project:
FeedAPI
Version:
6.x-1.6
Component:
Code parser_simplepie
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2009 at 02:13 UTC
Updated:
18 Aug 2009 at 09:49 UTC
This may be an obvious question, but here goes nothing:
I would like to add new feed elements - i.e. . I have found the easiest way to do this is just to hack parser_simpliepie.module, by adding the new element to the $curr_item loop (i.e. $curr_item->new_element_name = $value; )
Is there a better "best-practice" method of doing this?
Thanks
Comments
Comment #1
alex_b commentedHave you had a look at ? http://drupal.org/project/feedapi_eparser
Comment #2
newmediaist commentedI checked it out, but honestly couldn't really figure out how to get it to do what I needed - it was a lot easier to just add 2-3 lines to the simplepie include...
Comment #3
aron novakUnfortunately there is no _elegant_ way other than eparser