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.
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.
Great, thanks for the explanation. Now it all makes sense. I have put it on my list to check on all current servers (4 since last night). Peter -- Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure SUSE LINUX Products GmbH Research & Development