A django application for aggregating your activities from various social networking sites
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
djangregator
.gitignore
DOCUMENTATION.html
DOCUMENTATION.rst
LICENSE.txt
README.rst
djangregator_fetch.py
setup.py

README.rst

Djangregator

A lifestream aggregation application for sites built using the Django web framework.

About

With a multitude of web services allowing you to share information about yourself in different places, it gets difficult to get a complete view of your activity without visiting many different sites. The solution espoused by many is aggregating all of your social news together into one unified, reverse-chronological list, often called a "lifestream".

There are already services like FriendFeed which accomplish this feat for you. Simply sign up and provide the details of your various social identities, and FriendFeed will provide you with the lifestream.

Djangregator is a Django application which makes it easy to provide a FriendFeed-style lifestream. Using the public APIs that are available for most social networking sites, djangregator will fetch new entries from each of your online identities and provide access to them as well-structured objects within the Django ORM.

Djangregator currently supports the following sources of information:

  • Twitter
  • Flickr (photos only, no sets)
  • Delicious

I wrote it because I wanted to try my hand at a problem that was a little larger than just "Write a blog". Along the way I had to learn about signals, the ORM, writing template tags, model inheritance -- all sorts of subjects that one needs to grok before diving into something larger.

You can follow and contribute to djangregator's development happens at http://github.com/idangazit/djangregator/.

License

Djangregator is yours to use according to the terms of the BSD license. The license text and terms may be read in a file named LICENSE.txt which should be in the same directory as this readme.

Requirements

Djangregator requires:

  • Python 2.5
  • Django 1.0

Sadly, there is no unified API for accessing different sites. The following libraries are required for interfacing with the relevant site. Note that if a library is not present, djangregator will simply skip that service when fetching updates, even if the service has been configured for fetching.

Credits

Djangregator is heavily inspired by (read: blatantly ripped off from) several django luminaries' efforts. Each of these are worth reading and knowing if you are learning Django!

Ryan Berg

The original inspiration for this project. Ryan shows how he implemented his aggregation system on his blog, which has been an endless source of wisdom and education.

Horst Gutmann

A talented blogger who also wrote a django application for dealing with lifestreams, appropriately titled "django-lifestream". He also has some very useful advice to impart about using generic relations in the Django ORM in his blog.

Nuno Mariz

Shows how to accomplish the same thing as djangregator with a lot less work by leveraging the fact that FriendFeed offers an API into its already-aggregated lifestream. The code for the cron script is largely based on his example.

Jesse Legg

Authored another project similar to djangregator, if "similar" were a synonym for "a lot more polished" and "written long before mine".