Get an API key from developer.wmata.com, and put it in buspos.sh
.
If you don't happen to have a web server running, but you do have Python, do the following:
chmod +x buspos.sh
chmod a+r bus.xslt
mkdir cgi-bin
mv buspos.sh bus.xslt cgi-bin
python -m CGIHTTPServer 8001
The script will then be accessible at http://localhost:8001/cgi-bin/buspos.sh
.
Either way, open Google Earth, and select Add>Network Link. Enter the URL to the script, and set the refresh rate to at least 2 minutes.
These files are in the public domain.