Skip to content

PureKrome/SimpleSitemap

Repository files navigation

Image for: Repository files navigation

NuGet
Production
Development

This simple package helps generate search engine sitemap's for ASP.NET web applications.


Installation

Image for: Installation

Package Name: SimpleSitemap
CLI: install-package SimpleSitemap


What is a Sitemap? Are sitemaps and robots.txt the same thing? Why do I need a sitemap at all?

The wiki has answers all these questions.

Code examples:

Image for: Code examples:

Output examples:

    <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        <sitemap>
            <loc>http://www.myWebSite.com/sitemap/products/?page=1</loc>
            <lastmod>2014-11-24T09:22-08:00</lastmod>
        </sitemap>
        <sitemap>...</sitemap>
        ....
    </sitemapindex>

or

    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        <url>
            <loc>http://www.myWebSite.com/products/1</loc>
            <lastmod>2014-11-21T06:31-08:00</lastmod>
            <changefreq>hourly</changefreq>
            <priority>1</priority>
        </url>
        <url>....</url>
        ....
    </urlset>

Robots will ❤️ you!


About

Image for: About

A simple way to generate a sitemap for your .NET web application

Resources

License

Stars

Watchers

Forks

Sponsor this project

Image for: Sponsor this project

Packages

Image for: Packages 0
No packages published

Contributors 5

Image for: Contributors 5

Languages

Image for: Languages