Skip to content

t4k/planetcode4lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

planet.code4lib.org

Planet Code4Lib aggregates feeds and blogs of interest to the Code4Lib community. It uses Planet Venus.

Installation generally

> git clone git@github.com:code4lib/planetcode4lib.git
> cd planetcode4lib
> git submodule init
> git submodule update
> ./venus/planet.py --verbose

The generated files will be in output/.

To test it with one feed, run

> ./venus/planet.py --verbose test.ini

Installation on the code4lib.org server

Downloading and cloning is done over HTTPS so it's as generic as possible. No updates are to be made on the server; they should be made locally, pushed to GitHub, then pulled down.

> # Become the c4l user
> cd /var/www/code4lib.org/planet_new
> git clone https://github.com/code4lib/planetcode4lib.git
> cd planetcode4lib
> git submodule init
> git submdule update
> ./venus/planet.py --verbose --expunge

To update:

> # Become the c4l user
> cd /var/www/code4lib.org/planet_new/planetcode4lib
> git pull

The relevant line in c4l's crontab is:

10,40 * * * * cd /var/www/code4lib.org/planet_new/planetcode4lib; ./venus/planet.py --expunge 2>&1

Adding a feed

Additions are welcome!

Email William Denton or submit a pull request modifying config.ini.

About

Configuration for http://planet.code4lib.org/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 84.2%
  • CSS 15.8%