Difference between revisions of "Template:NextBus map"
m |
m |
||
Line 2: | Line 2: | ||
It is possible that not every trip serve every stop. See timetable for details. | It is possible that not every trip serve every stop. See timetable for details. | ||
− | |||
− | |||
{{#get_web_data: | {{#get_web_data: | ||
− | url=http://webservices.nextbus.com/service/publicXMLFeed?command=routeConfig&a={{agency}}&r={{# | + | 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 |