llms.txt Content
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<script type="text/javascript">
/**
* Shortcut codes go from 404 page to agency stopselector, with optional route/stopcode. 14Apr2[rr]
* Take the path, lowercase it, remove everything that isn't a-z. Compare to lowercased agencies (w/o dashes)
* redirect to host + /#!/{agency with dashes} if found.
**/
var x, candidate = window.location.pathname.toLowerCase().split('/')[1].replace(/[^a-z]/gi, ''), cleanAgency,
rest = window.location.pathname.split('/'), winLoc = window.location.protocol + '//' + window.location.host + '/#!/',
agencies = ["jhu-apl","ccrta","west-hollywood","da","dumbarton-gtfs","escalon","glendale","indianapolis-air","maine-med","omnitrans","pvpta","portland-sc","roosevelt","sfmta-cis","links","stl","sct","ttc","unitrans","ucb","unh","wku",0];
// "rest" is the rest of whatever is after the first slash. could be route, could be stopcode, could be in error.
//
rest.shift();
if (rest.length > 1) {
rest.shift(); // get rid of agency.
}
rest = (rest.length > 0) ? rest[0] : ''; // only one more item in the path is handled, so get rid of additional.
for (x = 0; x !== agencies.length; x++) {
if (agencies[x]) { // ignore zero at end
cleanAgency = agencies[x].toLowerCase().replace(/[^a-z]/gi, '');
if (candidate === cleanAgency) {
window.location.replace(winLoc + agencies[x] + (rest.length ? '/' + rest : '')); // allow agency + route (or stopcode) fast-path
}
}
}
</script>
<link href="/css/predictor.css" rel="stylesheet" type="text/css" />
<link href="/i18n/i18n.css" rel="stylesheet" type="text/css" />
<title>File Not Found</title>
</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#000000" width="6" height="8"><img src="/images/dot_clr.gif" width="6" height