Case study
Sitemap Generator
A Python tool that generates a sitemap for a site, validates the result against the specification, and submits it to Google, all from a single command line entry.
Overview
Generates a sitemap for a site, validates the result against the specification, and submits it to Google, from one command. Public, and the oldest thing here.
Complexities tackled
Generating is the easy third of the job. Producing XML from a list of URLs is trivial. Validating that it conforms to the specification, and then actually submitting it rather than leaving the user to do that step by hand, is what makes it a tool rather than a snippet.
Validation catches what generation cannot. A sitemap can be well-formed XML and still be rejected for size, entry count or malformed dates. Checking before submitting means the failure is reported locally with a reason rather than as a silent rejection days later.
Stack
Python.
Working on something similar?
Tell me what you are building and what is in the way. I will tell you honestly whether I am the right person for it.