Τη Τρίτη, 22 Ιανουαρίου 2013 11:08:57 μ.μ. UTC+2, ο χρήστης Dennis Lee Bieber έγραψε: > On Mon, 21 Jan 2013 22:49:31 -0800 (PST), Ferrous Cranus > > <nikos.gr...@gmail.com> declaimed the following in > > gmane.comp.python.general: > > > > > You are right, it cannot be done. > > > > > > So i have 2 options . > > > > > > Either identify an .html file from its "filepath" or from its "hash". > > > > > > Which method do you advice me to utilize? > > > > The hash identifies based upon the file contents -- any edit to the > > file will result in a different hash (and if the hash system isn't large > > enough, you may even encounter collisions where two or more files have > > the same hash). However, moving or renaming the file should still > > produce the same hash. > > > > Path/name at least lets the file contents be edited. Anything that > > changes the path/name will be seen as a new file. > > > > Which condition is most useful to your needs: allowing free content > > edits while keeping the counter tied to the end URL; or tying the > > counter to a fixed page but letting the URL to that page change.
The best would be to: Allow free content edits, while the URL to that page may also change. -- http://mail.python.org/mailman/listinfo/python-list