Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!nuzba.szn.dk!pnx.dk!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.048 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; '21,': 0.07; 'script,': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'instance,': 0.17; 'jan': 0.18; 'otherwise,': 0.20; 'external': 0.24; 'script': 0.24; 'header:In- Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'pointer.': 0.29; 'retain': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'done': 0.34; 'moved': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'tracking': 0.61; 'kind': 0.61; 'subject: & ': 0.67; '2013': 0.84; 'altered)': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=4QZBq+fCnShMwBkpg3BwX4cLUsXoknEP02VekdEICaQ=; b=mc1svtJFALZeepiHlV2l2MfmiJ1OEJ2cP6DZ1K1A2o7dEaBfVCj4QpW/PXoP7VQ69k HAg3oHwULvTBYO7SGVYdlu/J3hBCdKnGs6Ih2abNdbMQKL7+E3lBN15C9lCK0rMsnHLd +cEetd0f56Uw1hQ9s/QNan3A1IIdrqwdPEEEpZ44IA9PFts6QKiV8er7Rh5V8xt4paqZ tdJJB3ZR+MZikpSj2l2u6j5UmGuHG7ndr4nKGfooRNa/GIh16iOPQpmegabQEMU1rv1C a/gg+0yru1v+MSPVJG8gndhnDzZc1P1KzWUG7MCdvc18JORVQBhq3De46KcZ2fLumVZN paDA== MIME-Version: 1.0 X-Received: by 10.52.176.202 with SMTP id ck10mr16000659vdc.42.1358752815549; Sun, 20 Jan 2013 23:20:15 -0800 (PST) In-Reply-To: <03581a24-9330-4019-bde9-61a607000d3d@googlegroups.com> References: <8deb6f5d-ff10-4b36-bdd6-36f9eed58e1e@googlegroups.com> <5dd4babd-716d-4542-ad36-e6a841b73ec3@googlegroups.com> <03581a24-9330-4019-bde9-61a607000d3d@googlegroups.com> Date: Mon, 21 Jan 2013 18:20:15 +1100 Subject: Re: Uniquely identifying each & every html template From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1358752818 news.xs4all.nl 6968 [2001:888:2000:d::a6]:44885 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:37163 On Mon, Jan 21, 2013 at 6:08 PM, Ferrous Cranus wrote: > An .html page must retain its database counter value even if its: > > (renamed && moved && contents altered) Then you either need to tag them in some external way, or have some kind of tracking operation - for instance, if you require that all renames/moves be done through a script, that script can update its pointer. Otherwise, you need magic, and lots of it. ChrisA