First time here? Check out the FAQ!
2

Dedicating subdomains for tags
 

I have a site in with askbot app. I have some content in different topics. I like to manage them in category.

Let all of my questions about politics will go to politics.mysite.com

all of my tech questions will go to tech.mysite.com

and so on

How can I do that?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Zahid's avatar
183
Zahid
asked 12 years ago
todofixthis's avatar
1.3k
todofixthis
updated 12 years ago

Comments

Not actually tag only. I also want categories. So that some post with different tag can be classified in to several categories.

Zahid's avatar Zahid (12 years ago)

Askbot doesn't currently have categories, but there is already a feature request for that. See http://askbot.org/en/question/6529/is-it-possible-to-add-categories-in-addition-to/

todofixthis's avatar todofixthis (12 years ago)
see more comments

1 Answer

2

This is impossible at the moment, but a basic effect might be achieved with adding the given tag to the "search state" behind the scenes in the view askbot.views.readers.questions.

I think as always - to really finish that feature, quite a bit more work will be needed:

  • automatically apply tag to new questions
  • make it more difficult to remove that tag - so that questions could not too easily "jump" from site to site.
  • filter users by tags
  • restrict "site-level tags" to just a few - because sites tend to accumulate lots of tags

Regarding categories - those are going to be based on tags - but organized into a tree. Only a few tags will ever be "category level" tags, because you don't want to have too many anyway.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

OK But categories are actually very important you know. Basically it will help my users to browser their queries very quickly and in an efficient way.

Zahid's avatar Zahid (12 years ago)
see more comments