Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node

0.9

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bdt_sitemap-0.9.01105.5b1-py2.7.egg (9.2 kB) Copy SHA256 Checksum SHA256 2.7 Egg Aug 14, 2014
bdt_sitemap-0.9.01105.5b1.win-amd64.exe (238.1 kB) Copy SHA256 Checksum SHA256 2.7 Windows Installer Aug 14, 2014
bdt_sitemap-0.9.01105.5b1.zip (24.1 kB) Copy SHA256 Checksum SHA256 Source Aug 14, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting