Mailinglist Archive: opensuse-web (39 mails)

< Previous Next >
Re: [opensuse-web] frontpage uses static.opensuse.org in SVN
  • From: Peter Poeml <poeml@xxxxxxx>
  • Date: Thu, 18 Dec 2008 00:39:09 +0100
  • Message-id: <20081217233909.GH31284@xxxxxxx>
Hi Andreas,

On Tue, Dec 16, 2008 at 02:51:27PM +0100, Andreas Demmer wrote:
Peter Poeml schrieb am Dienstag 16 Dezember 2008:
I would think that this change happened after we deployed that directory
on that host, and wouldn't expect a local change. Is this something that
gets changed through the admin interface as well?

Nope, only "whats_hot.html" files can be changed via the WYSIWYG editor.

Or is it in fact content that's pulled from news.o.o once in a while,
and the file therefore receives local changes?

That's correct! A cronjob calls /rss_client/refresh_frontpage_news.php every
now and then. This little script renders the RSS newsfeed as static HTML
snippet (/news.html) which is pulled into the website via SSI (server-side
includes).

Should it be committed to svn?

No need for that. Even a new checkout would be updated automatically as soon
as the cronjob calls the refresh-script.

Okay, there is now a local cron job on each machine which does this
hourly too - so that every machine gets it.
It's done at 30 minutes after clock hour, so it doesn't conflict with
your cron job.

Peter
--
Contact: admin@xxxxxxxxxxxx (a.k.a. ftpadmin@xxxxxxxx)
#opensuse-mirrors on freenode.net
Info: http://en.opensuse.org/Mirror_Infrastructure

SUSE LINUX Products GmbH
Research & Development
< Previous Next >