[drupal-devel] Core Folksonomy: First Code Available

Julian Bond julian_bond at voidstar.com
Thu Mar 17 05:07:42 UTC 2005


Moshe Weitzman <weitzman at tejasa.com> Wed, 16 Mar 2005 09:21:19
> > 5) A hook in the save() code populates term_relation to provide "tags
>> like this one" cluster analysis and navigation.
>
>not sure whats being accomplished here. in any case, we already have 
>hook_taxonomy() which should do what you need.

del.icio.us and flickr make a big thing of showing "related tags" when 
viewing results for a tag. The underlying data to present this should 
presumably be in term_relation. You can calculate it on the fly but it's 
DBMS intensive. So it needs calculating in background via cron or at 
save time. And yes, it could be done via hook_taxonomy.

-- 
Julian Bond Email&MSM: julian.bond at voidstar.com
Webmaster:                 http://www.ecademy.com/
Personal WebLog:          http://www.voidstar.com/
M: +44 (0)77 5907 2173      T: +44 (0)192 0412 433
S: callto://julian.bond/



More information about the drupal-devel mailing list