Skip to main content

A tool for generating xml sitemaps from a list of urls.

Project description

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Description: # Sitemapper

A utility for generating sitemaps from a list of URLs.

## Installation

```
pip install sitemapper
```

## Usage

```
sitemapper --input-file URLs.txt --output-directory out --change-freq weekly --max-urls-per-sitemap 50000 --sitemap-root https://example.com --pretty-print
```


## Sample output

```
<?xml version='1.0' encoding='utf-8'?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://marcomontagna.com/sitemap0.xml</loc>
<lastmod>2018-06-01T19:02:17.440168</lastmod>
</sitemap>
<sitemap>
<loc>https://marcomontagna.com/sitemap1.xml</loc>
<lastmod>2018-06-01T19:02:17.440168</lastmod>
</sitemap>
</sitemapindex>
```

```
<?xml version='1.0' encoding='utf-8'?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://marcomontagna.com/</loc>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://marcomontagna.com/blog.html</loc>
<changefreq>weekly</changefreq>
</url>
</urlset>
```

Keywords: sitemaps,sitemap index,sitemap generator
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=2.7
Description-Content-Type: text/markdown

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sitemapper-1.1.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

sitemapper-1.1.2-py2-none-any.whl (7.5 kB view details)

Uploaded Python 2

File details

Details for the file sitemapper-1.1.2.tar.gz.

File metadata

  • Download URL: sitemapper-1.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sitemapper-1.1.2.tar.gz
Algorithm Hash digest
SHA256 38a78558102addc2e2b26416e8e98c6a0d3540b97bf40b0aa8433cdd56b9d735
MD5 1037a93cac4e5cdc6955ab7139d259d1
BLAKE2b-256 1b9683f147a9c0807ae7aa9afb562b8aab61ef517219e1ba52b23d231465f20e

See more details on using hashes here.

File details

Details for the file sitemapper-1.1.2-py2-none-any.whl.

File metadata

File hashes

Hashes for sitemapper-1.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 582a7367c94067c38725c8edfd6356a88a0c0b8245a86f3e9d6e661576f37a94
MD5 b75bffccb628d93d1d8445b113b1ab5f
BLAKE2b-256 b6d5eaf658713fcf38d237671360581b3f8810daf7bf0cf088efa7645737b7c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page