On Wed, 7 Nov 2007 16:15:41 +0000, "Brian Butterworth" <[EMAIL PROTECTED]> wrote: > > Looks like an unmanageable mess to me. I must prefer a database table, > much > easier to manage, especially if the short code is translated into a > integer.
Or if that's the case you could make the algorithm two way and then you don't need a database table. But there's no magic integer id for every page on bbc.co.uk. Incidentally the ids in the /programmes urls are generated by a two way algorithm from an integer (or at least the bit that changes is an integer). Cheers Jonathan - Sent via the backstage.bbc.co.uk discussion group. To unsubscribe, please visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html. Unofficial list archive: http://www.mail-archive.com/[email protected]/

