[Moin-user] [spamsfaked-from] Re: Can one set the creation and modify dates of an article?

Chris G cl at isbd.net
Thu Feb 11 13:46:15 EST 2010


On Thu, Feb 11, 2010 at 08:47:36AM -0800, Roger Haase wrote:
> 
> 
> --- On Thu, 2/11/10, Chris G <cl at isbd.net> wrote:
> 
> > From: Chris G <cl at isbd.net>
> > Subject: Re: [Moin-user] [spamsfaked-from] Re: Can one set the creation and modify dates of an article?
> > To: moin-user at lists.sourceforge.net
> > Date: Thursday, February 11, 2010, 7:08 AM
> > On Thu, Feb 11, 2010 at 01:20:29PM
> > +0100, Thomas Waldmann wrote:
> > > Another hint:
> > > 
> > > > I'm aiming to create a wiki with *history* in
> > many parts of it
> > > 
> > > If that history leaves the date range with valid 32bit
> > UNIX timestamps
> > > (1.1.1970..some date in 2038 iirc), better just use
> > normal text for your
> > > dates, not macros.
> > > 
> > Am I missing something here?  :-)
> > 
> 
> Yes!  Your wiki pages should contain ALL your content.  You are trying to misuse a wiki control field for something other than its intended purpose.  You need to find a different way to create your content on your wiki pages.
> 
> If you want a page summarizing your history, then just create a page:
>   =My Page History=
>   PageOne date1 author1 ...
>   PageTwo date2 author2 ...
> 
You are misusing computers IMHO!  :-)

I want the *computer* to do the work, I'm rubbish at sorting things
into date order and things like that.  I want to simply be able to
create a load of articles with, somehow, a date set in them and then
the *computer* can list them in date order.  Creating the list myself
is doing stuff myself that the computer can do better.

I take your point that maybe the way I'm trying to do it is wrong, but
then I'd appreciate some way of doing it 'right'.  I've been looking
for something to help me do this for a long time, blog software goes
some of the way but does everything in reverse, I want forward sorting.


> If you want to sort it, there is sorttables.
> 
I don't want to even create it!  :-)

> If you want your "creation date" within your pages, then add a date with a label describing what it is.  That should work for the first 5 pages.
> 
Yes, that's fine, but I want to automate generating the table from
these dates in the pages.

> When you get to 50 or 500 pages, then you may want to create an sqllite table and a couple of macros to read the sql table.  One macro would format the whole table for My Page History and the other macro would format whatever you want at the front/middle/end of a topic page.
> 
> It is a really, really bad idea to try to modify the meaning and usage of the Wiki page creation date or last revision date to suit some other purpose.
> 
OK.

-- 
Chris Green





More information about the Moin-user mailing list