[geeklog-devel] Story What's Related Block and Displaying Related Topics

Tom websitemaster at cogeco.net
Fri Jun 7 10:25:58 EDT 2013


I needed to get a few things done on my site so I started to tackle these
issues about displaying related items

http://project.geeklog.net/tracking/view.php?id=1614

After looking into things further here are the questions I am struggling
with.

Story What's Related Block

Right now the articles have a what's related block. It currently lists all
links in a story along with links to Geeklog search results for the user who
created the article (the More by Admin link) and one link to Geeklog search
results for a topic (ie More from General News). This Block has several
problems which I plan on fixing
(http://project.geeklog.net/tracking/view.php?id=1607)
- It lists only one topic search result (the story could belong to more)
- The links from the article it lists includes duplicates as well as links
that have no anchor text (like one around an image)
- If your article has a lot of links (internal or external) it will list
them all and the block will get really long


New Related Topics

I want to add a new Related Topics list for stories . I currently use the
tag cloud plugin which lists related tags under the story in one line. With
Geeklog 2.0.0 and are improvements with topics the tag plugin can becomes
unnecessary if you start filing your stories under multiple topics. My plans
was to create a story template variable (and autotag so other items can use
it) which will allow topics the story directly belongs to (no inherited
ones) to be displayed like so under a story:

Topics: General News Topic2 Topic3

The links in this topic list would go straight to the topic (and not search
results).

Does this sound fine to everyone? I would like to do it this way. 

Another option (and hence my struggle :-) would be to remove the topic
search result links from the Story What's Related Block and put them there.
I do not like this option as much since this information kind of gets lost
here and the search result links would be removed.

Thoughts?

Tom





More information about the geeklog-devel mailing list