Posted by nedjo on October 15, 2010 at 6:21pm
1 follower
Jump to:
| Project: | Suggested Terms |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Issue Summary
Similar terms offers several options but is not yet pluggable and can't readily be used by other modules.
Attached is a quick and fairly superficial reworking to enable other modules to add methods and expose an API. Also adds support for Extractor. (Not a dependency--Extractor just shows up as an additional option in the suggestedterms settings if installed.)
Modules wanting to alter or add methods would implement hook_suggestedterms_methods_alter().
Probably for D7 we'd want to consider something more drastic/robust (ctools plugin approach or similar), but this may serve as an interim step before upgrading. Thoughts?
| Attachment | Size |
|---|---|
| suggestedterms-pluggable-extractor.patch | 11.23 KB |
Comments
#1
Yeah, a half measure like the one I sketched out here really doesn't get us anywhere much.
Posted a proposed spec for tag suggestion and autotagging, http://groups.drupal.org/node/100179. Let's see if that helps.