Skip to content

Conversation

BinderDavid
Copy link
Collaborator

@BinderDavid BinderDavid commented Dec 28, 2024

Fixes #537 (hopefully)

The generated sitemap looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

    <url>
        <loc>https://errors.haskell.org/messages/Cabal-7070/index.html</loc>
        <changefreq>weekly</changefreq>
        <lastmod>2024-10-27</lastmod>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>https://errors.haskell.org/messages/GHC-00158/index.html</loc>
        <changefreq>weekly</changefreq>
        <lastmod>2023-06-10</lastmod>
        <priority>0.8</priority>
    </url>

    SNIP...
</urlset>

Currently only the html pages for individual errors are indexed.

@BinderDavid
Copy link
Collaborator Author

See also https://www.sitemaps.org/protocol.html#informing for next steps.

@BinderDavid BinderDavid marked this pull request as ready for review December 28, 2024 13:23
Copy link
Contributor

@MangoIV MangoIV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me. I have not validated the sitemap though. perhaps we can do this somehow?

Copy link
Collaborator

@Bodigrim Bodigrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried a few online sitemap validators (which is not really a proper way to test, but...), they do not find any issues.

@Bodigrim Bodigrim merged commit ab5eeda into main Feb 2, 2025
6 checks passed
@Bodigrim Bodigrim deleted the add-sitemap branch February 2, 2025 18:18
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.

Doesn't seem to be indexed well by search engines

3 participants