Skip to content

feat: updated sitemap manually#151

Merged
Alessandro100 merged 1 commit into
mainfrom
update-sitemap
Jun 22, 2026
Merged

feat: updated sitemap manually#151
Alessandro100 merged 1 commit into
mainfrom
update-sitemap

Conversation

@Alessandro100

Copy link
Copy Markdown
Contributor

Summary:

This is a manual update of the site map (last update was in March 2026). The objective is to autogenerate it in our pipeline described in #19

Expected behavior:

Generated based off the SQL query

SELECT
    stable_id,
    data_type,
    CASE
        WHEN data_type IN ('gtfs', 'gbfs') THEN geolocation_file_created_date
        WHEN data_type = 'gtfs_rt' THEN created_at
    END AS updated_at
FROM feed
WHERE operational_status = 'published'
  AND status IN ('active', 'future', 'inactive');

its not perfect and has room to be more accurate, but for a quick update including the new feeds it will do.
The oldest date is capped at 2026-03-05 (when the last sitemap was generated)

based on the update
576 new feeds added, 132 stale feeds removed

also gave more priority to gtfs feeds over rt and gbfs

Testing tips:

Briefly go over the sitemap and check if the urls make sense

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with yarn test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@Alessandro100 Alessandro100 self-assigned this Jun 22, 2026
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mobilitydatabase-web Ready Ready Preview, Comment Jun 22, 2026 12:59pm

Request Review

@github-actions

Copy link
Copy Markdown

*Lighthouse ran on https://mobilitydatabase-8z1px5x1r-mobility-data.vercel.app/ * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 85 🟢 94 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-8z1px5x1r-mobility-data.vercel.app/feeds * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 79 🟠 87 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-8z1px5x1r-mobility-data.vercel.app/feeds/gtfs/mdb-2126 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🔴 27 🟢 94 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-8z1px5x1r-mobility-data.vercel.app/feeds/gtfs_rt/mdb-2585 * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟢 93 🟠 84 🟢 96 🟢 100

*Lighthouse ran on https://mobilitydatabase-8z1px5x1r-mobility-data.vercel.app/feeds/gbfs/gbfs-flamingo_porirua * (Desktop)
⚡️ HTML Report Lighthouse report for the changes in this PR:

Performance Accessibility Best Practices SEO
🟠 81 🟢 94 🟢 96 🟢 100

@Alessandro100 Alessandro100 merged commit 8be12fc into main Jun 22, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants