Feature Request - Enhanced Tag Support for searching

  8 posts   Feedicon  
Replies: 7 - Last Post: May 12, 2011 05:58
by: dengdai
showing 1 - 8 of 8
 
Posted: June 04, 2009 16:50 by Adam Myatt
In the Tag cloud displayed on homepage, it looks like you can click a tag and it displays a page with all projects that have that tag. It would be convenient if there was an alternate tab on the results page that allowed you to automatically view Forums posts, Wiki pages, etc that contained the tag you had selected. For example, on the results page that shows the tag matched project there's a tab "Project's A-Z" and "Most Recent Projects". Place a new tab or tabs here like "Forum Posts with this Tag"... "Wiki pages with this Tag". You wouldn't need actual tags for the wiki or forums, just search the text in the wiki pages and forums posts (or build an index slowly in a background thread).
 
Posted: November 18, 2009 20:25 by Bruce Schubert
I like the idea of adding tags to forum posts. I'm often looking to help -- or looking for help -- within my areas of interest. But presently, it seems the only way to learn about (and get involved in) interesting discussions is to monitor the Kenai Home page and My Page for recent posts. Unfortunately, the Home recent topics list is pretty shallow: it is limited to just three posts.

Adding the capability to search across project forums for "tagged" content would allow developers to leverage and/or contribute to the collective knowledge base that is encapsulated within Project Kenai. This seems to be in line with the "more than just a forge" concept.

 
Posted: November 18, 2009 20:38 by john_brock
Site wide search is something that still has not been implemented yet on Kenai.com. While this post is about Tags, it does cover more about the ability to search across all of the projects for a specific "keyword" if you will.

One of the things that can be done today, and works pretty well actually, is to add the site:kenai.com parameter to a google search page.

For instance, going to google.com and running this search:

site:kenai.com particpation

will return all uses of that work across Forums, Wiki pages, and source code on Kenai.com

The the real answer for what you're looking for, but it does help move in that direction.

--jb

The Project Kenai Team
 
Posted: November 18, 2009 20:41 by john_brock
this of course will work on Bing as well by the way.

You can narrow things a little bit more by setting the site parameter to be:

kenai.com/projects

That will remove Jira and SCM content from the results.

--b
 
Posted: November 19, 2009 13:25 by Bruce Schubert
Hi John,

I just discovered the query and other common parameters in the Kenai Web APIs. Cool.

What do you think of this idea: Can we use a script language and JSON to retrieve a list of projects that match a particular tag, and then recurse the selected project's forums for the search terms?

For instance, this Web Project API query returns the 48 projects tagged with netbeans_platform:
https://kenai.com/api/projects?q=netbeans_platform

From here, a robust script could troll thru the these project's Forums (and Wiki) for matching search terms.

Note, however, I was unable to successfully use a query term on the forum topics as documented in the Forum API. The following API query returns 0 matching topics.
https://kenai.com/api/projects/cps/features/forum/topics?q=stakeholders

Is this a bug? BTW: I don't know whether it is querying the message text and/or the message subject. The API docs didn't make this clear.

I suppose a sophisticated script could perform it's own regular expression searches of the Wiki text and Forum posts, but leveraging the built in query functionality of the API seems like a good place to start. Is this something we could try in jb's world? Smile

-- Bruce
 
Posted: November 19, 2009 15:49 by john_brock
Interesting idea Bruce. Could definitely be done.

Change the "q=" in your API URI to "query=" and it will work for you.

This is probably a bug in the API docs. I'll take care of it later today.

The robust script would have to be pretty complex in that it would have to find the projects returned from the tags call, then walk their features to find all of the Forums and Wiki features. Then parse the post messages and wiki content for everything below that.

I'm close to having the script completed that walks a project and finds all of the forum features and returns the topics and posts, but I don't have anything for Wiki parsing at this time.

I can add you as a software developer to the JB's World project if you want to mess around with it, that's perfectly fine.

--jb
 
Posted: November 19, 2009 17:14 by Bruce Schubert
Hmm, I tried the "?query=" syntax and it returns an unfiltered list of all the topics. I tried other bogus param names as well and I got the same results. Since the behavior from the "?q=" syntax is different, I suspect "q" might actually be the right param (just not working). But that's just a guess on my part.

Regarding JB's World -- sure, I look forward to collaborating. I just created a new project today to pursue my own API explorations: http:\\bds.kenai.com. I can make you a member there too, or you can feel free to "drop in" any time you'd like.

-- Bruce
 
Posted: November 19, 2009 17:53 by john_brock
Ahhh, you are correct. I didn't look closely at the results. Just say that it returned something when the Q did not.

Teach me to take more time in my reviewing. Smile

I'll file a bug on the Q param not working.

--jb
showing 1 - 8 of 8
Replies: 7 - Last Post: May 12, 2011 05:58
by: dengdai
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close