Re: 1. virtual pages (Alexander Bernauer)
Nir Soffer <[email protected]> Sun, 7 Nov 2004 13:01:33 +0200
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
On 7 Nov, 2004, at 6:46, [email protected] wrote: > The site will consist of mainly two parts: > 1) Patent information stored in a SQL database > 2) User annotations stored as ordinary wiki pages. I would not use the proposed virtual pages concept. This would be the most expansive way to to this. I would try: 1. A macro that query the database for detail, and fill them in an html template. Don't use wiki markup here, its expensive to parse and format. You can change the template and have all the wiki updated. example: [[GetPatent]] the macro will use the page name to get the patent data from the database 2. Page template for wiki bug page. You can use the blog style hack, having the macro on an acl read only page, and the comments on a sub page: example: #acl All:read [[GetPatent]] [[Include(/Comments)]] [http://.../Comments?action=edit - add a comment about this patent] The included "/Comments" sub page will have #acl All:read,write. This edit hack can be better, but this is what you can do with current syntax. One can build a better macro to to this, like [[Edit(PageName)]] ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click