smsm1 / blogs.osm.org

The new feed aggregator for blogs.osm.org

Home Page:http://planet-osm.shaunmcdonald.me.uk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#OpenStreetMap Blogs listing Code for blogs.osm.org

Intro

Main scripts for updating the OSM blogs instance running on the pluto software.

Requirements

Install the ruby requirements (assuming bundler is already installed)

bundle install

Initial build

Run the following command to build the site for the first time:

pluto build -t osm -o build

The site will be built into the build folder using the osm template. The information about the feeds is stored in an SQLite database in the file planet.db, which is kept out of git.

Subsequent updates

Thereafter you run the smaller update command each say hour:

pluto update

You need to run the build command each time there is an update of theme, or list of planet feeds.

Theme

The OSM theme is avilable in the theme folder, thus is available by default. You can check this by running

pluto list

The theme was started by taking the blank template, and also merging in the feeds template

To update the CSS in the theme, update the Sass, as documented at the start of the relevant file.

About

The new feed aggregator for blogs.osm.org

http://planet-osm.shaunmcdonald.me.uk/


Languages

Language:CSS 71.1%Language:Ruby 13.8%Language:JavaScript 12.5%Language:Shell 2.6%