django-planet 0.1.3a0
Django app to build a planet, RSS/Atom feeds aggregator.
This is a generic application for Django projects aiming to provide a planet feed aggregator app.
Django-planet is heavily based on Feedjack's models by Gustavo Picon and my django app that extends it: feedjack-extension. Changes and addings to models were inspired by Mark Pilgrim's Feedparser.
Screenshots:
The following screenshots are just for demonstration purposes:
INSTALLATION
In order to get django-planet working you must:
Create a local_settings.py file:
DEBUG = False
TEMPLATE_DEBUG = DEBUG
LANGUAGE_COOKIE_NAME = "planetlng"
SESSION_COOKIE_NAME = "planetid"
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'planet', # Or path to database file if using sqlite3.
'USER': '<myuser>', # Not used with sqlite3.
'PASSWORD': '<mypass>', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
TIME_ZONE = 'America/Chicago'
USER_AGENT = "django-planet/0.1"
Then create the database structure:
./manage.py syncdb
Add some feeds:
./manage.py add_feed http://simonwillison.net/atom/tagged/django/ ./manage.py add_feed http://jannisleidel.com/cat/django/feed/atom/ ./manage.py add_feed http://andrewwilkinson.wordpress.com/tag/django/feed/ ./manage.py add_feed http://djangodose.com/everything/feed/ ./manage.py add_feed http://seeknuance.com/tag/django/feed/atom ./manage.py add_feed http://www.willmcgugan.com/blog/tech/feeds/tag/django/
And surely you'll want to add a cron entry to periodically run:
30 * * * * python manage.py update_all_feeds
This attempts to pull for new posts every 30 minutes.
And finally run:
./manage.py runserver
Browse http://localhost:8000/ and enjoy it!
Demo Project
There's a simple demo project at sample_project directory: just follow sample_project/INSTALL instrucctions :) or see it live at http://www.matagus.com.ar/friends/
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| django-planet-0.1.3a0.tar.gz (md5) | Source | 2010-09-14 | 179KB | 488 | |
- Author: Matias Agustin Mendez
- Home Page: http://github.com/matagus/django-planet
- License: BSD
-
Categories
- Development Status :: 5 - Production/Stable
- Framework :: Django
- Intended Audience :: Developers
- License :: OSI Approved :: BSD License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 2.6
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
- Package Index Owner: matagus
- DOAP record: django-planet-0.1.3a0.xml
