Julian Bond <julian_bond@voidstar.com> Wed, 16 Mar 2005 15:26:02
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.
Actually there is no hook in _node_save(). It would need an array of tids and the hook would need to be after all the term_node entries had been created right at the end of the function. -- 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/