build a URL with variables in it
Posted: Fri May 02, 2008 12:11 am
Hi, I would like to include variables into a URL that I am passing to Yahoo Pipes. In the URL below, I would like to have a variable for EndTime (set below to yesterday) and StartDate (set below to 15+days).
http://pipes.yahoo.com/pipes/pipe.run?EndDate=yesterday&StartDate=%2B15+days&_id=84&_render=kml
This URL is being passed in my html code that generates a google map:
var geoXml2 = new GGeoXml(http://pipes.yahoo.com/pipes/pipe.run?EndDate=yesterday&StartDate=%2B15+days&_id=23e0135e18323711db0d9db51ccca684&_render=kml;
If I could assign the EndTime and StartTime to variables, then I could control what comes back from the Yahoo Pipe onto the map. I think php is the right way to do this, but I'm not sure how.
Thanks!
http://pipes.yahoo.com/pipes/pipe.run?EndDate=yesterday&StartDate=%2B15+days&_id=84&_render=kml
This URL is being passed in my html code that generates a google map:
var geoXml2 = new GGeoXml(http://pipes.yahoo.com/pipes/pipe.run?EndDate=yesterday&StartDate=%2B15+days&_id=23e0135e18323711db0d9db51ccca684&_render=kml;
If I could assign the EndTime and StartTime to variables, then I could control what comes back from the Yahoo Pipe onto the map. I think php is the right way to do this, but I'm not sure how.
Thanks!