Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
CHANGELOG | ||
| |
README.markdown | ||
| |
VERSION | Sun Jan 18 08:32:23 -0800 2009 | |
| |
app/ | ||
| |
build.xml | Sun Jan 04 14:32:06 -0800 2009 | |
| |
db/ | Sun Jan 18 05:21:45 -0800 2009 | |
| |
deploy_env.properties.example | ||
| |
library/ | ||
| |
log/ | Tue Jan 06 03:11:25 -0800 2009 | |
| |
phplifestream-conf.php.example | Wed Jan 07 08:35:37 -0800 2009 | |
| |
public/ |
PHP Lifestream
Aggregates feeds and combines them to one.
- Built with Zend Framework
- Easy to extends with new aggregators and services
- Atom and RSS support
Live example is availabe at http://www.johannilsson.me
Contact me on Twitter if you have any suggestions, like it or dont like it http://twitter.com/johanjohanjohan
Installation
Configuration
Database
Edit the file app/conf/db.ini
Include path
If Zend Framework is not in your include path you need to add it. Rename the file phplifestream-conf.php.example into phplifestream-conf.php and add the path to Zend Framework.
Environment
You can change the environment in the above mention file phplifestream-conf.php see comment in it.
Webserver
Point the webservers webroot to the public directory.
Refer to the Zend documentation if running another server than apache what to replace the .htaccess file with.
Logging
Application logs is stored in ./log you might need to chmod this.
Cronjob
Setup the cron job for aggregation, the example will run every 5 minute change it to whatever suits you best.
*/5 * * * * php /path/to/phplifestream/app/jobs/aggregate.php >> /dev/null
In production make sure that the directory where the phplifestream-conf.php is is in the include path for an easy way to set environment.
*/5 * * * * php -d include_path="/path/to/phplifestream/" /path/to/phplifestream/app/jobs/aggregate.php
Add Feeds
Go to /services/add to add services you want to aggregate.
Deployment
Rename the file deploy_env.properties.example into deploy_env.properties and edit it, properties in this file will replace production properties in the directory app/conf.
Then run
ant package
The directory dist is created containing a prepared version of the application for your production environment based on the settings in deploy_env.properties.
Changelog
Concider it unstable and to break for each commit.
- Since commit 52a208dcae4e3d7b526d462c655054a0c0c507fc the schema was updated please run db/migrate/1.0.1/up.sql to migrate to the latest schema. Also changed to use sha1 instead of md5 when calculating the unique_id so you might want to re run aggregation.
Todo
- Admin Admin
- Ideas?
- Tags from feeds
- Comments
Credits
- Photo icon by Mark James http://www.famfamfam.com/lab/icons/silk/
- Zend Framework








