Uniquely identifying each & every html template
gordon at panix.com
Fri Jan 18 21:59:17 CET 2013
In <8deb6f5d-ff10-4b36-bdd6-36f9eed58e1e at googlegroups.com> Ferrous Cranus <nikos.gr33k at gmail.com> writes:
> Problem is that i have to insert at the very first line of every .html template of mine, a unique string containing a number like:
> index.html <!-- 1 -->
> somefile.html <!-- 2-->
> other.html <!-- 3 -->
> nikos.html <!-- 4 -->
> cool.html <!-- 5 -->
> to HELP counter.py identify each webpage at a unique way.
Instead of inserting unique content in every page, can you use the
document path itself as the identifier?
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list