code review for the "pivots" project
Hi all, We are working on the "pivots" project as an attempt to give module recommendations. The idea is to display on a module page the related forum conversations and related modules that are referenced in the same conversations. We think it could provide some useful information for users to decide whether to download a module or how to use it. The "pivots" system has been enabled for D.O. site maintainers and CVS account holders. More details can be found here: http://drupal.org/node/265450 We are about to deliver it to all interested D.O. users. And we hope to get some code reviews from the community to improve code quality. The code is published to CVS: contributions/modules/pivots4do Or, for a quick browse, you might go to the following links. PHP: http://danithaca.pastebin.com/m798c291d http://danithaca.pastebin.com/m2ea9911a Java Indexer: http://danithaca.pastebin.com/m1b147b25 http://danithaca.pastebin.com/m53f9621b http://danithaca.pastebin.com/m592c46ec For a short description of the architecture and security concerns, please refer to: http://drupal.org/node/265450#comment-884264 Your comments would be much appreciated. Thanks! Cheers, Daniel
Daniel Xiaodan Zhou wrote:
We are working on the "pivots" project as an attempt to give module recommendations. The idea is to display on a module page the related forum conversations and related modules that are referenced in the same conversations.
I looked at a couple of my modules. The "recent discussions" didn't even reference my modules. It is unlikely the "referenced modules" really have any significance either. This could be damaging in the eyes of those who fail to research, which seems to be the vast majority of DO users. Please do NOT open it up to the general public in the condition its in now. No virus found in this outgoing message. Checked by AVG. Version: 8.0.100 / Virus Database: 270.4.1/1519 - Release Date: 6/25/2008 4:13 PM
We use module title together with the word "module" to find related discussions on a module page. Take the "image" module for example, all forum posts that have the text string "image module" would be considered as a match. But it has another problem. People sometimes refer to a module using an alias (eg.cck) rather than the exact module title plus the word "module" (eg. content construction kit module). To fix that problem, we manually add links between modules and their commonly used aliases so that the algorithm can spot the right match. So, for those modules that we should have (but didn't have) added an alias, the "related discussions" doesn't display as many links as it should. The problem is fixed (we hope) when we add the aliases, In short, every recommendation algorithm has its own pros and cons. We hope to launch this project as one of the approaches to make module recommendations to DO users. And we'll continue to improve the algorithm based on feedbacks. Thanks. Daniel On Sat, Jun 28, 2008 at 12:11 AM, Nancy Wichmann <nan_wich@bellsouth.net> wrote:
Daniel Xiaodan Zhou wrote:
We are working on the "pivots" project as an attempt to give module recommendations. The idea is to
display on a module page the related forum conversations and related modules that are referenced in
the same conversations.
I looked at a couple of my modules. The "recent discussions" didn't even reference my modules. It is unlikely the "referenced modules" really have any significance either. This could be damaging in the eyes of those who fail to research, which seems to be the vast majority of DO users.
Please do NOT open it up to the general public in the condition it's in now.
No virus found in this outgoing message. Checked by AVG. Version: 8.0.100 / Virus Database: 270.4.1/1519 - Release Date: 6/25/2008 4:13 PM
participants (2)
-
Daniel Xiaodan Zhou -
Nancy Wichmann