Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sitemap.xml to improve indexing by search engines #551

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

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?

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
2 participants