Closed (fixed)
Project:
Feeds
Version:
6.x-1.0-alpha8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2009 at 11:25 UTC
Updated:
17 Dec 2009 at 14:45 UTC
Is there a recommended way to create fetchers and parsers as standalone modules rather than as patches to this project? I'm looking into writing a feeds client module for the clients API module (http://drupal.org/project/clients).
Comments
Comment #1
adub commentedAlso looking at how to add this fetcher using a plugin. My fetcher's form is dynamic, calling ahah to set up a client configuration - this is triggering the parser before the fetcher options have been set. Is there a good way for sourceForm, sourceFormValidate to use ahah?
Comment #2
alex_b commented#1: I'd say start as a standalone if you're in doubt. Especially if you are working on code that might move fast you don't want to write it as a patch. If it seems beneficial to move it into the Feeds project later, there's nothing easier than that.
#2: haven't every tried it, would love to see how it goes.
Writing plugins should be fairly easy by copying how it's done in feeds (start reading in feeds.plugin.inc)
Note that there is documentation for Feeds: http://drupal.org/node/622696 - always happy to accept amendments to it.
Comment #3
alex_b commentedClosing as issue is inactive and not actionable.