Closed (fixed)
Project:
FeedAPI Extensible Parser
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 23:25 UTC
Updated:
16 Sep 2009 at 21:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
neclimdulI wasn't keen on this but the more I messed with things I think there's a need for at least most of this patch. How does the attached patch fit with the idea?
It does a couple things.
Moves the call to download into parse(I think it might have been there anyways at one point).
Moves the cache logic into ->parse() like your patch but wrapping ->download as well.
It doesn't add a method for calling these methods. However since you can load it and call it directly now things are pretty simple. See the call to parse in the feedapi hook.
Comment #2
neclimdulreal patch...
Comment #3
andrewlevine commentedI didn't have a chance to actually test this patch but the refactoring is better than both what is in feedapi_eparser now and my patch. It makes more sense to do the initialization on plugin load than on method call. If you've confirmed this working on your local, I'd say commit it and then I will test it.
Comment #4
neclimdulsounds good to me. committed.
Comment #5
andrewlevine commentedtested and seems to work fine. thanks