Hi Arne,
> I don't really understand the concept behind it and I could not find a document
> describing it. In particular, I don't know what of the features is PHP and what
> is midgard.
I am not an expert, but I believe the following is done by mod_midgard:
* Mapping von URLs to ROOT pages and expanding the tree of page and
style elements to one page html per ROOT element, as you described it.
* Authentication
The following is done by midgards version of php:
* All mgd_xxx functions.
* The evaluation of the &(xx.xx:x); syntax
> One last question: Can I set the style for a page dynamically somehow? I have
> an active page of the form /topic/, which uses one style, and the pages of the
> form /topic/article123.html should use another style. Currently I have merged
> both styles into one style document and I select the appropiate one with an "if
> ($flag) {" construction, but this does not feel right. I would rather like to
> set the style explicitely in the piece of code where I handle the argv[]
> arguments.
I believe each page is assigned to exactly one style, according to the
values in the database. Thus, a style cannot be the result of a
computation other than using the 'merging' approach which you desrcibe
above.
Frank
--
Dr Frank Boehme | Email: [EMAIL PROTECTED]
National University of Ireland, Cork | phone: +353-21-903163
Dept of Computer Science | fax: +353-21-903113
Cork, Ireland |
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]