Tags Related Entries not working effectively?
Posted: 08 October 2007 04:31 PM   [ Ignore ]
Member
Avatar
RankRankRank
Total Posts:  65
Joined  2005-03-31

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

Profile
 
 
Posted: 17 October 2007 06:27 PM   [ Ignore ]   [ # 1 ]
Member
Avatar
RankRankRank
Total Posts:  65
Joined  2005-03-31

Hi guys. (bump)

Any idea what’s causing this malfunction?

TTFN
Travis

Profile
 
 
Posted: 22 October 2007 08:20 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  736
Joined  2004-03-30

Travis,

On 1.
This is not a known bug. But as soon as I can reproduce it, it will be a known bug! No doubt you must have taken all of the references to tag:related_entries off your templates out of frustration. I couldn’t find any examples to test. Can you catch me up?

On 2.
Currently you can’t pull related entries according to how many tags two entries share. Sorry. Yes, that would be cool. But we do still want the pages to load right? smile

On 3.
Yes. Clicks and Entries may line up in their counts and be reinforcing, but it’s not necessarily so. I find it useful, but others may not. Still it’s built and ready to use.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 22 October 2007 09:14 PM   [ Ignore ]   [ # 3 ]
Member
Avatar
RankRankRank
Total Posts:  65
Joined  2005-03-31

If you’re logged in, you can see what I’m referring to

http://www.truthdig.com/eartotheground/item/20071022_the_world_watches_california_burn/
TAGS: california disaster fire firefighters malibu media

says it’s related to:
http://www.truthdig.com/eartotheground/item/20061112_rocketman_tackles_religion/
TAGS: elton john gay religion

Profile
 
 
Posted: 23 October 2007 12:33 PM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  736
Joined  2004-03-30

Travis,

You’re on Tag 2.0.8. I’m going to send you Tag 2.0.9. The new upgrade flow may return a white screen for you since you have just shy of 10,000 tags, but no worries. It just may choke on the recount.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 05 November 2007 07:06 PM   [ Ignore ]   [ # 5 ]
Member
Avatar
RankRankRank
Total Posts:  65
Joined  2005-03-31

I still don’t see this resolved in Tag 2.0.9.

You can look here: http://www.truthdig.com/eartotheground/item/20071105_writers_picket_with_star_power/
and if you’re logged in, you will see “RELATED STORIES” at the bottom of the story.

Profile
 
 
Posted: 06 November 2007 04:36 PM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  736
Joined  2004-03-30

Travis,

I thought you took Tag offline. If it’s still running there I’d love to roll up my sleeves again and track down the issue. May I?

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 06 November 2007 05:11 PM   [ Ignore ]   [ # 7 ]
Member
Avatar
RankRankRank
Total Posts:  65
Joined  2005-03-31

I did, but I’ve put it back up. Dive in!

TTFN
Travis

Profile
 
 
Posted: 06 November 2007 05:42 PM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  736
Joined  2004-03-30

Ok.

I’ll get at it as soon as possible.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 20 August 2008 06:11 AM   [ Ignore ]   [ # 9 ]
Newbie
Avatar
Rank
Total Posts:  14
Joined  2008-01-28

Hi Travis did you solve the problem?
‘Cause I’m experiencing the same…

Well, actually…I’ve got two posts tagged with the same tag. The third post is not tagged at all but displays the other two as related entries…


Carlo

Profile
 
 
Posted: 21 August 2008 07:02 AM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Carlo,

Are you using the Photo Gallery? smile
If so, are you tagging any of the photos?

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 21 August 2008 07:19 AM   [ Ignore ]   [ # 11 ]
Newbie
Avatar
Rank
Total Posts:  14
Joined  2008-01-28

Yep I’m using the photo gallery and tagging photos…

Profile
 
 
Posted: 22 August 2008 05:55 AM   [ Ignore ]   [ # 12 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Carlo,

Your issue might be related to this known issue:

http://www.solspace.com/forums/viewthread/1288/

 Signature 

Check out the new Solspace Blog!

Profile