julen / django-socialdict

Social dictionary application for Django projects.

This URL has Read+Write access

julen (author)
Mon Nov 09 11:33:24 -0800 2009
commit  d77f574a0c26c34e0c7bab2adf82793c2ae6961d
tree    7948d626f4541ca8042d8ef81fdb4e58bd420053
parent  7516c45fe61895c860392c49bef18a253ab80ca2
name age message
file .gitignore Loading commit data...
file README
directory socialdict/
README
django-socialdict
=================

http://github.com/julen/django-socialdict

socialdict is a django app that retrieves terms from microblogging sites and stores and displays them as a simple 
dictionary.

Currently terms can only be retrieved from a single backed, although support for multiple sites is planned.

Installation
------------

* Add 'socialdict' to your INSTALLED_APPS and sync your database.
* In your project settings file you need to add the following settings:
SOCIAL_URL : the URL string to perform the search
SOCIAL_HASHTAG : the hashtag that will be used to retrieve terms.
* Include socialdict.urls within your project's URL structure.
* To retrieve terms you need to setup a cron job that calls the socialdict/bin/update_terms.py. You can also run this 
script from the command line.

How it w orks
-------------

Terms are retrieved based on a certain hashtag and there is a parser that defines what goes in and what goes out. 
Currently entries that contain URLs or the at-sign are discarded, since they can lead to false positives. The hastag is 
deleted and a colon character splits the term and the meaning.

So the pattern to follow is:
TERM: meaning #hashtag