GeoRSS aggregator and Layar augmented reality server
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
Adrian Short 18403cbc29 Rename get and get_all methods to fetch and fetch_all pirms 12 gadiem
app Rename get and get_all methods to fetch and fetch_all pirms 12 gadiem
config Activate all rails frameworks pirms 12 gadiem
db Change feeds.last_fetched and posts.published to datetime pirms 12 gadiem
doc First commit pirms 12 gadiem
lib New task to fetch all feeds pirms 12 gadiem
log First commit pirms 12 gadiem
public Improved add feed usability on the home page pirms 12 gadiem
script First commit pirms 12 gadiem
test Basic password reset setup pirms 12 gadiem
vendor First commit pirms 12 gadiem
.gitignore Ignored .rvmrc pirms 12 gadiem
Gemfile Add meta_request gem to use RailsPanel Chrome extension pirms 12 gadiem
Gemfile.lock Add meta_request gem to use RailsPanel Chrome extension pirms 12 gadiem
README.md Improved README pirms 12 gadiem
Rakefile First commit pirms 12 gadiem
config.ru First commit pirms 12 gadiem

README.md

Apollo

A GeoRSS aggregator and augmented reality server for Layar

© 2012 Adrian Short and Charlotte Gilhooly at Headline Data

This software was commissioned by Talk About Local as part of the HypARlocal project.

HypARlocal is funded by NESTA and the Nominet Trust.

What it does

  • Periodically pulls from a list of subscribed GeoRSS feeds into a local database
  • Serves requests from Layar in JSON format for posts (points of interest) within a radius of a specified point.

Requirements

  • Rails 3
  • MongoDB
  • MongoMapper
  • Feedzilla

Installation

Before installing/deploying:

$ export APOLLO_HOSTNAME=example.org

On Heroku:

$ heroku config:add APOLLO_HOSTNAME=example.org

Replace example.org with your own hostname. When running locally this will probably be localhost:3000.

Set up a cron job or other scheduler to run

$ rake get_all_feeds

once per hour or to taste.

Now create yourself a user account from the console:

$ rails c
> User.create :email => "me@example.org", :password => "verysecret", :password_confirmation => "verysecret"