R.Bauer schrieb: > waqas ahmad schrieb: >> Hi, can moinmoin show the pages after a some time limit automatic that it >> expired? For example, I create one page and i want to make changes in this >> page after some time (maybe after 6 months), there is any option that give >> me reminder, that, this page is expired and i should make changes in it. or >> it will give me some warning that this page expired on 10.10.2010. Because >> after a long time maybe after one year, i have created lot of pages and i >> dont know which pages have to refersh . if there is any option that show me >> expire date with page_list then it would also very helpful for me. The >> problem is that i have lot of pages for different product version in >> moinmoin. some have needs to refersh them and some are valid for some >> version.maybe it look like this. PageList ExpiredDate > ProductValidVersionTestPage 10.10.2009 > IE6,IE7,... Testpage2 11.12.2910 TestPage3 09.01.2009 > IS6,IE7 >> >> >> if there is any way to solve this then please help me. I shall be thankful >> to you. >> have a nice day, Best Regards, Waqas Ahmad ([EMAIL PROTECTED]) > > > e.g. > You can patch PageEditor for example > > diff -r f414aece63e0 MoinMoin/PageEditor.py > --- a/MoinMoin/PageEditor.py Tue Nov 11 22:00:33 2008 +0100 > +++ b/MoinMoin/PageEditor.py Tue Nov 18 09:47:31 2008 +0100 > @@ -775,7 +775,8 @@ > 'USERNAME': signature, > 'USER': "-- %s" % signature, > 'SIG': "-- %s <<DateTime(%s)>>" % (signature, now), > - 'EMAIL': "<<MailTo(%s)>>" % (obfuscated_email_address) > + 'EMAIL': "<<MailTo(%s)>>" % (obfuscated_email_address), > + 'TBC': "CategoryDate%s" % (now.split('T')[0].replace('-','')) > } > > then you can add a Category with a timestring into any page you edit by > @TBC@ > > cheers > Reimar > >
you can write a macro which collects the pages dependent of the category and did format the results by widget.browser. cheers Reimar ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user