Difference between revisions of "Template:NextBus map"

From Transit.Wiki
(Created page with "<includeonly>Bus stop map for [[{{BASEPAGENAME}}]]. It is possible that not every trip serve every stop. See timetable for details. {{#get_web_data: url=http://webservices.n...")
 
m
Line 4: Line 4:
  
 
{{#get_web_data:
 
{{#get_web_data:
url=http://webservices.nextbus.com/service/publicXMLFeed?command=routeConfig&a={{agency}}&r={{#show:{{BASEPAGENAME}}| ?rnum}}{{#show:{{BASEPAGENAME}}| ?rlet}}
+
url=http://webservices.nextbus.com/service/publicXMLFeed?command=routeConfig&a={{agency}}&r={{#ifeq:{{#show:{{BASEPAGENAME}}| ?rnum}}|0||{{#show:{{BASEPAGENAME}}| ?rnum}}}}{{#ifeq:{{#show:{{BASEPAGENAME}}| ?rlet}}|'||{{#show:{{BASEPAGENAME}}| ?rlet}}}}
 
|format=XML
 
|format=XML
 
|use xpath
 
|use xpath

Revision as of 08:01, 21 April 2013