I'd like to limit the terms extractor to a single content type. The attached patch adds an option to admin/settings/yahoo_terms so that the administrator can select content types to act on. If no content types are selected, then it continues to work as-is, on all content types.
| Comment | File | Size | Author |
|---|---|---|---|
| yttypes.patch | 2.69 KB | douggreen |
Comments
Comment #1
electblake commentedI checked out latest from cvs and applied this patch and YES, it worked like gang busters. ping me to get patched version of yahoo_terms.
thanks doug :)
Only thing I can think of is that at line 228.
'#options' => node_get_types('names'),
maybe we don't use just full array details of a type and merely the name, a suggestion. Overall this works and if someone else wants to review this should be comited for others wicked soon.
Comment #2
Shiny commentedwill be ported to D6
Comment #3
Shiny commentedD6 version in CVS - all unit tests passing
Comment #4
Shiny commentedNeeds porting to D7 now