From 88e684fcf24b3d20df9d0658b468e58de5404735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20Br=C3=BCchert?= Date: Thu, 4 Apr 2024 23:13:31 +0200 Subject: [PATCH] Fix fetching feeds * 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 --- feeds/us-mi.json | 52 ++++++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/feeds/us-mi.json b/feeds/us-mi.json index 9c86b701..472baac2 100644 --- a/feeds/us-mi.json +++ b/feeds/us-mi.json @@ -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" } ] }