Solved

drupal - auto-generate and display contextually related links based on content

Posted on 2010-08-25
5
477 Views
Last Modified: 2012-06-22
Hi, I was wondering if there is any drupal module that will scan our site articles, and automatically suggest contextually relevant links based on the content of the articles.

something similar to the links below:

http://relatedlinks.googlelabs.com/

http://mitcho.com/code/yarpp/ (wordpress)

http://ajaydsouza.com/wordpress/plugins/contextual-related-posts (wordpress)

http://www.searchenginejournal.com/3-ways-to-display-related-posts-in-wordpress-blog/17213/

http://www.surphace.com/ 

0
Comment
Question by:darkbluegr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 

Author Comment

by:darkbluegr
ID: 33523867
0
 
LVL 16

Assisted Solution

by:HagayMandel
HagayMandel earned 200 total points
ID: 33532251
It seems that the best and most simple way to it is to use the search_index table from the database.
The select statement is:
SELECT 'sid' FROM  `search_index`
ORDER BY  `score`DESC ,`word` DESC
LIMIT 0 , 30
(Where LIMIT limits the number of results).
The sid actually is the nid or vid in the node_revisions table.

You can use the otput (array of sid) to generate a select call to the node_revisions table, and generate links to the actual nodes accordingly.

After that, the
0
 

Author Comment

by:darkbluegr
ID: 33549250
Thank you - can you please repost your answer as it was truncated for some reason
0
 

Accepted Solution

by:
ellyjonez earned 300 total points
ID: 33563815
If you use the ApacheSolr search module, it comes with an excellent "related content" block that uses search. It's also a generally better Drupal search.

http://drupal.org/project/apachesolr
0
 

Author Closing Comment

by:darkbluegr
ID: 33658861
thanks for the interesting info
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question