Ask Your Question
2

Tag subscription statistics commands

asked 2011-01-14 09:43:43 -0500

Benoit gravatar image Benoit flag of United States
865 22 8 31

updated 2011-01-21 19:18:44 -0500

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

I would like to see a couple of commands that would help me gather information on tag usage.

Tag subscription Statistics
For every tags in the system, dump the number of users that have the tag marked as interesting and ingored.
This would allow an admin to know what tags are being followed (as opposed to how the questions are classified).

manage.py tag-sub-stats
Tag              Interesting  Ignore
===============  ===========  ======
centOS                2         0
fedora                22        5
...

User Tags Usage
For every user in the system, prints out the list of ignored and followed tags

manage.py tag-user-list
User              Tags
===============  ======
joe              Int: red-hat fedora centOS 
                 Ign: ubuntu suse
bob              Int: ubuntu
                 Ign: fedora
delete close flag offensive retag edit

Comments

Shall be done, thanks. Evgeny ( 2011-01-14 19:25:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-01-21 19:18:00 -0500

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

updated 2011-01-21 19:18:27 -0500

Made a simple command get_tag_stats (in revision 0.6.61) to be used with one of the options - either -t - per tag or -u - per user. The output format is a little different, I think yours is better for the 'tag-user-list'. I can fix that if you like.

The command is also described at the documentation page (browser cache may need to be purged - still need to fix the caching of doc pages).

link publish delete flag offensive edit

Comments

That's fantastic! In fact, yours is better since some users have a large list of tags. Thanks Benoit ( 2011-01-21 22:48:09 -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: 2011-01-14 09:43:43 -0500

Seen: 52 times

Last updated: Jan 21 '11