Re: a suggested way of creating a RSS feed for the

From: Robert Bernier <robert(dot)bernier5(at)sympatico(dot)ca>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Justin Clift <justin(at)postgresql(dot)org>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, josh(at)agliodbs(dot)com, pgsql-www(at)postgresql(dot)org
Subject: Re: a suggested way of creating a RSS feed for the
Date: 2005-03-07 23:57:12
Message-ID: 200503071857.12759.robert.bernier5@sympatico.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On March 7, 2005 06:11 pm, Marc G. Fournier wrote:
> On Mon, 7 Mar 2005, Dave Page wrote:
> > We would run the code in this way on wwwmaster.postgresql.org. It would
> > automatically be saved to a static file periodically, for mirroring to
> > the static front end servers.
> >

Yes, running the php as a command line script and piping its standard output
to a file should do the trick.

> > Using an imap source shouldn't be a major problem, but how would you
> > expire messages? Perhaps some code should be added to delete everything
> > over 1 month old?
>
> wwwmaster uses cyrus-imapd for its imap spool ... whih includes a
> 'cyr_expire' command that could be run from cron to periodically dump any
> messages in a mailbox > n days ...

Excellent idea.

We could add tags of our own into the email news event that when read by the
script would also carry out extra instructions. For example, if there's an
older announcement that is still important it could still be placed near the
top of the list by using one the RSS ordering tags on the news items.

regards

Robert

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Robert Bernier 2005-03-08 02:54:18 Re: a suggested way of creating a RSS feed for the
Previous Message Marc G. Fournier 2005-03-07 23:11:19 Re: a suggested way of creating a RSS feed for the