Define a hook_feedapi_info() hook
mustafau - December 18, 2007 - 20:36
| Project: | FeedAPI |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
I am not sure if this is a good idea or not.
Defining a hook_feedapi_info() hook (similar to hook_node_info()) to be implemented by parser and processor add on modules might be useful.

#1
What info would you like to return on this hook? Could we use the drupal hook_help() for this purpose?
#2
hook_help() is meant to provide documentation strings. A hook_feedapi_info() hook might provide the name and type (parser, processor or both) of an add on module to FeedAPI.
#3
<?php
function parser_simplepie_feedapi_info() {
return array(
'name' => t('Parser SimplePie'),
);
}
?>
Seems better to me than using hook_help().
#4
I can provide a patch if you are willing to commit.
If you are holding the issue because you think hook_feedapi_info() is unnecessary please tag it as "won't fix".
#5