I just got it working on Truthdig, and I’m loving it. Really loving it, it’s excellent.
I have just one small bug/complaint, which I’m half convinced it’s my misunderstanding.
The related entries functionality was one of the main reasons I wanted to use Tags 2.0.6. I’m trying to use the tags to suss out related entries for use in the RSS feed.
http://www.truthdig.com/home/rsstest
But, on an entry that has these tags:
http://www.truthdig.com/cartoon/item/20070907_the_name_game_featuring_jerry_lewis/
TAGS: foot-in-mouth disease gay hate speech jerry lewis mr. fish soup
I get this as the top related entry:
http://www.truthdig.com/eartotheground/item/20060707_bush_restricting_public_data/
TAGS: bush freedom government information public restrict
As you can see, there’s no overlap in the tags at all. I’m using this to generate related tags:
{exp:tag:related_entries weblog="not bazaar" orderby="entry_date" sort="desc" entry_id="{embed:eid}" limit="60" rank_limit="5" rank_method="clicks|total_entries"}
{if count == 1}<h3>Related Entries</h3>
<ul>{/if}
<li>{entry_date format="%F %j, %Y"} <a href="{path="{weblog_short_name}/item"}{url_title}/">{title}</a></li>
{if count == total_results}</ul>{/if}
{/exp:tag:related_entries}
*******
Here are my questions:
*******
1) Is there a bug in the related entries tag as I am using it?
2) Is there a way you can pull related entries according to HOW MANY tags two entries share? So that two entries that have 5 similar tags match before two entries that have only 3 similar tags?
And here’s a bonus question:
3) The “click” count for tags—that’s not documented anywhere. I think that clicks and entries are sort of self-reinforcing methods of sorting—a tag that’s on MANY entries will very often tend to have more clicks than a tag that’s only on a few entries.
TTFN
Travis
