skip to navigation
skip to content

Not Logged In

bdt_sitemap 0.9

Sitemap.xml generator for a local copy of a website

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

 
File Type Py Version Uploaded on Size
bdt_sitemap-0.9.01105.5b1-py2.7.egg (md5) Python Egg 2.7 2014-08-14 8KB
bdt_sitemap-0.9.01105.5b1.win-amd64.exe (md5) MS Windows installer 2.7 2014-08-14 232KB
bdt_sitemap-0.9.01105.5b1.zip (md5) Source 2014-08-14 23KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 31 downloads in the last week
  • 223 downloads in the last month