Wikivoyage formatting converter
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
translation
.gitignore
.htaccess .htaccess directory index changed Dec 23, 2015
BeautifulSoup.py
ElementSoup.py
README.md Update README.md Sep 3, 2016
heuristics.py Added plain flag for non-html output May 17, 2013
ordereddict.py
page.py
utils.py
websrv.py Added plain flag for non-html output May 17, 2013
wvtagconvert.py

README.md

wvtagconvert

Wikivoyage formatting converter. Converts unformatted or tagged list entries (Do / Eat / Drink / Sleep sections) to vcard or tag format by using a bunch of heuristics. A sample installation for testing is available here. If you notice any parsing errors, please write me a comment about it.

Run

For local testing:

python -m bottle websrv

Somewhere remote, either run it as a CGI script or:

python -m bottle --server gevent -b <external_ipaddress> websrv

And then direct your browser to localhost:8080 or <external_ipaddress>:8080

Requirements

Todo

  • Automatic currency symbol conversion according to style guides

License

GPLv3