Ask Your Question
1

Have you tweaked the CNProg tag code?

asked 2010-04-16 19:53:25 -0500

Hexhead gravatar image Hexhead
93 5 6 10

I have not been able to get OSQA or CNProg tag systems to work like SE where you can select multiple tags and progressively narrow a search down.

But it seems that tags can be combined for list filtering on askbot.

Was this a major effort or just something that needed to be tweaked? .. it's a very important feature IMO !

Thanks

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2010-04-16 20:09:58 -0500

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

updated 2010-04-16 23:18:01 -0500

Hi Hexhead, yes. The common question view branch (running on this site) has "search drilldown" mode, which includes tags, search query and authors.

The main deficiency is that there is no full text search on this branch (and this site). When I fix that in a couple of days, and make some adjustments to the search state manager - will merge onto the master.

Try combining it with text query too - just enter something in search and click search button, don't be rough though :) only title search.

If you get stuck in the search - click the logo.

Finally - try searching some phrase, then click "ask a question".

To get authors - currently you have to click on the "users tags" tag listing in the user profile. You can also start with a url like this one: http://askbot.org/meta/questions/?author=5 and then add/remove tags and search query.

In all it took me about two days to build the mechanism and connect it to the UI.

The relevant parts are:

  • /forum/search/state_manager.py
  • function forum.views.readers.questions
  • /forum/middleware/view_log.py

Also I've changed templates a bit.

link publish delete flag offensive edit

Comments

@Hexhead sorry, I've made an error the first time. The django view that serves questions is called "questions", not "search". Evgeny ( 2010-04-16 23:19:18 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2010-04-16 19:53:25 -0500

Seen: 607 times

Last updated: Apr 16 '10