Skip to content

Commit

Permalink
Fix fetching feeds
Browse files Browse the repository at this point in the history
* Replace all operator IDs with feed IDs
* Remove all spaces from names
* Enable fix for feeds that need it
* Enable fetch-interval-days for a feed that doesn't have last-modified
  information
  • Loading branch information
jbruechert committed Apr 4, 2024
1 parent a2286a0 commit 88e684f
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions feeds/us-mi.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,66 +7,70 @@
],
"sources": [
{
"name": "Ann Arbor Area Transortation Authority (TheRide)",
"name": "TheRide",
"type": "transitland-atlas",
"transitland-atlas-id": "o-dps2-annarborareatransportationauthority"
"transitland-atlas-id": "f-dps2-annarborareatransportationauthority",
"fix": true
},
{
"name": "Bay Area Transportation Authority",
"name": "Bay-Area-Transportation-Authority",
"type": "transitland-atlas",
"transitland-atlas-id": "o-dpg-bayareatransportationauthority"
"transitland-atlas-id": "f-bay~area~transportation~authority~mi",
"fix": true,
"options": {
"fetch-interval-days": 1
}
},
{
"name": "Capital Area Transportation Authority (CATA)",
"name": "CATA",
"type": "transitland-atlas",
"transitland-atlas-id": "o-dpeg-capitalareatransportationauthority"
"transitland-atlas-id": "f-dpeg-capitalareatransportationauthority"
},

{
"name": "Detroit Department of Transportation (DDOT)",
"name": "DDOT",
"type": "transitland-atlas",
"transitland-atlas-id": "f-dpsc-detroitdepartmentoftransportation"
"transitland-atlas-id": "f-dpsc-detroitdepartmentoftransportation",
"fix": true
},
{
"name": "Detroit People Mover (DPM)",
"name": "DPM",
"type": "transitland-atlas",
"transitland-atlas-id": "f-dpsby4-detroitpeoplemover"
},
{
"name": "Mass Transportation Authority Flint",
"name": "Mass-Transportation-Authority-Flint",
"type": "transitland-atlas",
"transitland-atlas-id": "o-dpsk-masstransportationauthorityflint"
"transitland-atlas-id": "f-dpsk-masstransportationauthorityflint"
},
{
"name": "Macatawa Area Express (MAX)",
"name": "MAX",
"type": "transitland-atlas",
"transitland-atlas-id": "o-macatawa~area~express"
"transitland-atlas-id": "f-macatawa~area~express"
},
{
"name": "Michigan Flyer",
"name": "Michigan-Flyer",
"type": "transitland-atlas",
"transitland-atlas-id": "o-dps-michiganflyer"
"transitland-atlas-id": "f-dps-michiganflyer~mi~us"
},
{
"name": "Muskegon Area Transit System (MATS)",
"name": "MATS",
"type": "transitland-atlas",
"transitland-atlas-id": "o-muskegon~area~transit"
"transitland-atlas-id": "f-muskegon~area~transit"
},
{
"name": "Saginaw Transit Authority Regional Service (STARS)",
"name": "STARS",
"type": "transitland-atlas",
"transitland-atlas-id": "o-saginaw~stars"

"transitland-atlas-id": "f-saginaw~stars"
},
{
"name": "The Rapid",
"name": "The-Rapid",
"type": "transitland-atlas",
"transitland-atlas-id": "f-dpe-therapid~rt"
},
{
"name": "University of Michigan Transit Services",
"name": "University-of-Michigan-Transit-Services",
"type": "transitland-atlas",
"transitland-atlas-id": "o-dps2w-universityofmichigantransitservices"
"transitland-atlas-id": "f-dps2w-universityofmichigantransitservices"
}
]
}

0 comments on commit 88e684f

Please sign in to comment.