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?

CommentFileSizeAuthor
suggestedterms-pluggable-extractor.patch11.23 KBnedjo

Comments

nedjo’s picture

Status: Needs review » Postponed

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.

bbinkovitz’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

All feature requests should now be against 7.x-1.x. Any patches that get committed will then need to be backported.