Home > vz-stream

vz-stream

Vz-stream is a project mainly written in PYTHON and JAVASCRIPT, based on the MIT license.

Another Django LifeStream

VZ Stream

A Django powered life stream app.

Requirements

  • Django 1.2+
  • Universal FeedParser
  • jQuery 1.3+
  • jQuery Visualize Plugin

TODO

  • templates
    • view all entries
    • view entries by source
    • view entries by date
    • stream stats
  • search/filter entries
  • cron job script

Features

  • Smart updating: uses E-Tag or last-modified from headers to determine if source should be updated or not. For feeds that have neither, only add entries newer than the source's last entry.
  • Twitter parsing, if the feed is a twitter feed @USER is converted to a link, as well as #TOPIC.

Settings

You can put STREAM_NUM_ENTIRES in your settings.py, this should be an integer. This defines how many entries to get in the stream_view view. Defaults to 20.

Templates

Templates follow the Django Best Practices.

Template Blocks for stream_view.html

  • extends base.html
  • content_title
  • content

Template Blocks for stream_stats.html

  • extends base.html
  • extra_head - only if you want the jQuery Visualize graphs
  • content_title
  • content

Updating Your Life Stream

Included is a custom Django-Admin Command that will update your life stream. This can be added to a cron task.

python path/to/project/manage.py stream_update

Previous:Teste