public
Description: Command-line interface for Y!'s Placemaker API
Homepage: http://developer.yahoo.com/geo/placemaker/
Clone URL: git://github.com/mojodna/placemaker-cli.git
name age message
file README.markdown Thu May 21 13:14:15 -0700 2009 add documentTitle param [James E. Flemer]
file placemaker Thu May 21 13:14:15 -0700 2009 add documentTitle param [James E. Flemer]
README.markdown

Placemaker CLI

This is a command-line interface to Yahoo!'s Placemaker API. Placemaker is a geoparsing web service, which means that it extracts locations from bodies of text.

Usage

To use it, point it at a URL that you'd like locations extracted from:

$ ./placemaker --appid=<appid> <url>

Or feed it something content directly:

$ cat document.txt | ./placemaker --appid=<appid> --documentType=text/plain -

Optional arguments are (default):

--documentType=mime/type        (text/html)
--inputLanguage=lang-code       (en-US)
--autodisambiguate=true|false   (false)
--outputType={xml|rss}          (xml)
--focusWoeid=number             (none)
--documentTitle=string          (none)

To register for an app id, visit https://developer.yahoo.com/wsregapp/