Uniquely identifying each & every html template

Piet van Oostrum piet at vanoostrum.org
Mon Jan 21 21:48:11 CET 2013

Ferrous Cranus <nikos.gr33k at gmail.com> writes:

> This python script acts upon websites other people use and every html
> templates has been written by different methods(notepad++,
> dreamweaver, joomla).
> Renames and moves are performed, either by shell access or either by
> cPanel access by website owners.
> That being said i have no control on HOW and WHEN users alter their html pages.

Under these circumstances the only way to solve it is to put an
identification *inside* the file and make sure it will not be changed.
It could for example be some invisible piece of HTML, or an attribute to
some tag. If that can't be done the problem cannot be solved and it
makes no sense keeping asking the same question over and over again.
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]

More information about the Python-list mailing list