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

adub’s picture

Also 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?

alex_b’s picture

#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.

alex_b’s picture

Status: Active » Closed (fixed)

Closing as issue is inactive and not actionable.