Mailinglist Archive: opensuse-web (39 mails)

< Previous Next >
Re: [opensuse-web] frontpage uses static.opensuse.org in SVN
  • From: Andreas Demmer <mail@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 16 Dec 2008 14:51:27 +0100
  • Message-id: <200812161451.30165.mail@xxxxxxxxxxxxxxxxx>
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.

Does the change propagate to the other servers automatically?

The news.html file resides on www.opensuse.org. I now that two servers are
used to load-balance the website, but I never noticed that the news section
was out of sync. So I guess Mike Cronquist made sure that the generation php
script is either called on oth machines or that the resulting HTML snippet is
synchronized between them.

Greets,
Andreas

--
Skype: andreas.demmer
ICQ: 103 924 771

http://www.andreas-demmer.de
< Previous Next >