Re: New Website for opengroupware.org project

Helge Hess <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.discuss.general
Message-ID <[email protected]>
On Jun 27, 2005, at 16:18, chris h wrote:
> Took a quick look at the source and it appears to be using the 
> xtemplate system? Most files are in .xtmpl which I am not familiar 
> with.

Yes, as mentioned it something own. And no, there is no documentation 
on it ;-)

Maybe Michael can give some information since he used it too.

> Any info on this or output mechanism that produces html vs xml would 
> be interesting.

The exporter walks over the .html files inside the filesystem tree and 
uses the templates to render each of them. Rendering always starts at 
Main.xtmpl and templates are inherited to subcollection (somewhat 
similiar to template acquisition in Zope).

> What is the process for generating this code?

There is an exporter tool which is started by some small makefiles:
   http://svn.opengroupware.org/www/home/trunk/cms/

The current process to update the site is:
a) change the page in a local checkout
b) checkin the changes
c) login to developer.ogo, run the exporter (~15 minutes)
d) check whether the export went fine
e) pack the export, scp it to www and unpack the export

> I can see your problem I think as it would not be a simple exercise to 
> update or maintain this structure my multiple input providers as in a 
> typical office setting.

Greets,
   Helge

PS: my favorite solution would be to rewrite the CMS! - I think I could 
build quite a cool CMS using SOPE on top of Subversion ;-) Now if only 
I had the time ;-|
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

-- 
OpenGroupware.org Discussion [email protected]
http://mail.opengroupware.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.