From ff101137223b0b9d27cc92c0611c546ebbf518ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Thu, 17 Nov 2011 19:35:50 +0100 Subject: [PATCH 1/2] Fix Unicode in PNG generation --- apps/Makefile | 4 ++-- services/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/Makefile b/apps/Makefile index 8cb11d1..eabf6a4 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -1,6 +1,6 @@ VALIDATOR := perl ../utils/validator.pl --schema spore_validation.rx --description -SPORE2DOT := perl ../utils/spore2dot.pl +SPORE2DOT := perl -CO ../utils/spore2dot.pl check: spore_validation.rx @make -C couchdb check @@ -18,7 +18,7 @@ png: \ @make -C couchdb png %.png : %.dot - dot -T png -o $@ $< + dot -T png -Gutf8 -o $@ $< %.dot: %.json $(SPORE2DOT) $< > $@ diff --git a/services/Makefile b/services/Makefile index 31f3bb4..05b2f71 100644 --- a/services/Makefile +++ b/services/Makefile @@ -1,5 +1,5 @@ VALIDATOR := perl ../utils/validator.pl --schema spore_validation.rx --description -SPORE2DOT := perl ../utils/spore2dot.pl +SPORE2DOT := perl -CO ../utils/spore2dot.pl check: spore_validation.rx @make -C github check @@ -44,7 +44,7 @@ png: \ @make -C linkedin png %.png : %.dot - dot -T png -o $@ $< + dot -T png -Gutf8 -o $@ $< %.dot: %.json $(SPORE2DOT) $< > $@ From e144849350fe72ff7453ddc92cf9f810dfdef96c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Thu, 17 Nov 2011 19:38:45 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Add=20V=C3=A9lib'=20(Paris=20shared=20bike?= =?UTF-8?q?=20system)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/Makefile | 2 ++ services/velib.json | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 services/velib.json diff --git a/services/Makefile b/services/Makefile index 05b2f71..0765540 100644 --- a/services/Makefile +++ b/services/Makefile @@ -18,6 +18,7 @@ check: spore_validation.rx @$(VALIDATOR) ohloh.json @$(VALIDATOR) twitter.json @$(VALIDATOR) intervals.json + @$(VALIDATOR) velib.json test: check @@ -38,6 +39,7 @@ png: \ ohloh.png \ intervals.png \ indextank.png \ + velib.png \ twitter.png @make -C github png @make -C googlemaps png diff --git a/services/velib.json b/services/velib.json new file mode 100644 index 0000000..c948b72 --- /dev/null +++ b/services/velib.json @@ -0,0 +1,22 @@ +{ + "name": "Vélib'", + "authority": "GITHUB:dolmen", + "base_url": "http://www.velib.paris.fr/", + "version": "1.0", + "methods": { + "list": { + "path": "/service/carto", + "method": "GET", + "expected_status": [200] + }, + "details": { + "path": "/service/stationdetails/:station", + "method": "GET", + "required_params": [ + "station" + ], + "expected_status": [200] + } + }, + "formats": [ "xml" ] +}