Download & Extend

Make pluggable, offer an API

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?

AttachmentSize
suggestedterms-pluggable-extractor.patch11.23 KB

Comments

#1

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.

nobody click here