I made sudo code for you

These pages will be linked from the listings page, like in craigslist.
We need each posting to be given a unique id so we can track which ones
are being used.