Alexander Levenetz wrote:
> I know how to delete an article, that works fine ;-) My questions is
> if there is a way to have an article delete itself after a certain
> time. I thought that the end date would maybe take care of that but
> that's not the case as far as I understand.
> The reason for this would be that we have an internal subtopic where we
> create articles that have as a name an activity in the database, f.i.
> "03.02.01 article 'bla' added to topic XYZ". This list gets longer and
> longer but after appr. 60 days articles could be deleted. Doing that
> by hand is quite a task, though... Any better way to do that?
Currently you could do that in two ways:
Directly access the database and remove them with an SQL statement. But
I don't think this is repligard-safe.
Create a page (requiring authentication) that does the job for you, then
have a cron job visit this page with wget, lynx or somesuch.
There is (or was, I haven't kept up with that one) work underway to
create perl bindings for Midgard, which makes external access easier.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]