Code Monkey home page Code Monkey logo

alouer's Introduction

alouer

introduction

the purpose of this program is to fetch information about apartments for rent from kijiji and craigslist and then display this information on a google map.

installation

to install this program, look in the _release directory and get the latest version of the alouer jar. additionally, this program requires a third-party jars to be in the classpath (just put them in the same directory as the alouer jar).

download the following third-party jars. the jars listed below the urls are the only ones really needed:

place all of the above jars along with the alouer jar.

also, you will need at least the java jre 1.5.

installation is now complete.

configuration

  • step 1: create a google account
  • step 2: create a google map and name it whatever you like
  • step 3: edit the google map and draw at least one closed polygon, this polygon is a filter for the rss feed items, only items in that polygon will be inserted on the google map. you may have more than one polygon.
  • step 4: copy the template.config in the _release directory and place the file somewhere on your file system.
  • step 5: modify your config file (do not put spaces before/after the equals)
    • google.maps.map is the title of the map you just created
    • google.maps.username is your google account username
    • google.maps.password is your google account password
    • google.maps.default.latitude is the latitude used when the entry has no address
    • google.maps.default.longitude is the longitude used when the entry has no address
    • google.maps.geocache is the full path to a text file to cache geo coordinates
    • rss.feed.kijiji is the url of a kijiji feed to periodically check
    • rss.feed.craigslist is the url of a craigslist feed to periodically check
    • rss.feed.cache is the full path to a cache file to remember the state of the rss feeds
    • log.file is the full path to the text file used for log information

running the program

to run the program (where x is the version you downloaded): java -jar alouer-x.jar /path/to/your/config.file

you should arrive at a command prompt. the available commands are:

  • help, which displays all the commands
  • start [frequency], which starts processing at the given frequency in minutes
  • show, which displays all map entries and polygons
  • delete, which deletes all map entries and polygons
  • stats, which shows current counters
  • version, which shows the current version
  • quit, which stops and exits the program

as an example if you are at the prompt and type "start 10" and hit enter, the program will check the rss feeds every 10 minutes and insert any updates on the google map.

alouer's People

Contributors

ethul avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.