|
From: | Gary V . Vaughan |
Subject: | [emacs-wiki-discuss] Re: Date strangeness - emacs-wiki-blosxom |
Date: | Sun, 13 Jun 2004 19:08:10 +0100 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13 Jun 2004, at 18:54, TC wrote:
How are manual changes to the date header in an emacs-wiki-blosxom storymeant to be handled? As I played around with it I thought I'd found abug in that emacs-wiki-publish-this-page appeared to successfully modifythe published file's timestamp only if the new date was *earlier* than the original.
The blosxom-set-time function is supposed to call touch to set the story timestamp. Does the following work? M-: (blosxom-set-time "/path/to/blosxom/wiki/page") Or maybe the alist is getting messed up. Is there an entry in the list for the published location of the wiki page: M-: (assoc (emacs-wiki-published-file "/path/to/blosxom/wiki/page") blosxom-page-date-alist)
But although that does seem to be a factor, it's not consistent. I havea file in which I change the date header, backwards and forwards. Whether or not the timestamp on the published file changes accordingly seems almost random. Sometimes it does, and sometimes it doesn't. As well as changing the date, I also make mods to the content, so I can make sure that my emacs-wiki-publish-this-page is actually doingsomething. And it is. The file is definitely being transmogrified intoit's corresponding .txt version. It's just that the timestamp seems to be changing according to sunspot activity, phase of the moon, or similar. I'm actually checking this at the unix file level, so it can't be ablosxom caching issue (although I have disabled my "entriescache" pluginjust to be sure). What am I doing wrong?
Nothing obvious. There is an option in blosxom.cgi to ignore files with a future filestamp. I have found that removing all the (hidden!) cache files in the blosxom state directory sometimes unclogs changing dates of an existing story... this never happens when I add a new story (which is my main use of blosxom), only when I want to shuffle the dates. Let me know how you get on. Cheers, Gary. - -- Gary V. Vaughan ())_. address@hidden,gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (Darwin) iD8DBQFAzJgPFRMICSmD1gYRAj7aAJ4mk4KPUsUNC5lTQ2cVE2PGO020LACfWXGL x3MCsoJvnue4w8Z9wLV08mU= =N24d -----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |