Skip to main content

Sitemap.xml generator for a local copy of a website

Project description

Can be used as a library, or run standalone in the command line.

Supports two arguments:

Domain: In url form, the domain name for which you’re generating sitemaps. Subdomains are also supported. Each domain and subdomain must be run separately. ‘domain.com’ and ‘subdomain.domain.ru’ are both valid.

LocalPath: Path to the website directory as stored locally. Platform agnostic.

WARNING: If the LocalPath argument is not passed, current directory will be assumed! You will be asked if this was a mistake, and given a chance to exit, but that’s all! You will end up with sitemap.xmls all over the place if you’re not careful!

Usage:

bdt_sitemap mysite.com ~/sites/sitefolder

bdt_sitemap tadeuszow.com /home/xenmen/sites/Tadeuszow-site/main

bdt_sitemap daniel.tadeuszow.com C:UsersXenmensitesTadeuszow-sitedaniel

Usage as a library in WIP, and presently creates a global variable called emod_time, and defines three functions:

init_emod_time()

compare_emod_time(newtime)

create_sitemap(domain, site_dir, ignorelist=[])

It is recommended to use bdt_sitemap standalone, and not as a library, until version 1.0

Project details


Release history Release notifications | RSS feed

This version

0.9

Download files

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

Source Distribution

bdt_sitemap-0.9.01105.5b1.zip (24.1 kB view details)

Uploaded Source

Built Distributions

bdt_sitemap-0.9.01105.5b1.win-amd64.exe (238.1 kB view details)

Uploaded Source

bdt_sitemap-0.9.01105.5b1-py2.7.egg (9.2 kB view details)

Uploaded Source

File details

Details for the file bdt_sitemap-0.9.01105.5b1.zip.

File metadata

File hashes

Hashes for bdt_sitemap-0.9.01105.5b1.zip
Algorithm Hash digest
SHA256 bde33cfa0acfa5d0a3dfb2ff23d874d95b4fc9300023b87591810192573b27d5
MD5 49a8fa59b10f307d331cc7bca9976ec9
BLAKE2b-256 843093ddedf7354a794df58363814f22249450401cc88ce7d40e369c4a2fa88e

See more details on using hashes here.

File details

Details for the file bdt_sitemap-0.9.01105.5b1.win-amd64.exe.

File metadata

File hashes

Hashes for bdt_sitemap-0.9.01105.5b1.win-amd64.exe
Algorithm Hash digest
SHA256 f7f279757639802a5aa0e4f2cec2383e4e3c0ab8290e0c4b1d61963d1e3b071d
MD5 303a24905b241ffbe72c21b5286a13f0
BLAKE2b-256 67f70ae9a4d983f2da232f8015e2c3605a8e4965835c0eeb9977b1495b616bff

See more details on using hashes here.

File details

Details for the file bdt_sitemap-0.9.01105.5b1-py2.7.egg.

File metadata

File hashes

Hashes for bdt_sitemap-0.9.01105.5b1-py2.7.egg
Algorithm Hash digest
SHA256 1ce0d9669df2cb5754606fdbb6ba191a87ccdcbf08c621755704169602b60e15
MD5 9ba764e8f2cd51ec63e4df73f988de98
BLAKE2b-256 7226e76834d5ef14254a7ed36f645d17a20e0499e72da5748398951c1a4560b5

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