Every Post Has a UUID

Posted
Categories
note
Tags
site helpful-hint

Gave them all a Universally Unique Identifer, per RFC 4122.

Should simplify rearranging the site sources. Helpful hint: don’t rely on filenames as unique content identifiers for your workflow. Oh sure they work fine 80% of the time, but that last 20% is a doozy.

I used Python’s uuid library. There’s also the uuidgen command if I switch away from a Python workflow.

Got a comment? A question? More of a comment than a question?

Talk to me about this page on: Hacker's Town