|
Comments for: bealers20000616
| Message # 1025134: |
|
Date: 04/07/05 13:20
By: saraadmin Subject: FileGenerator I wonder if this article was written with Cocoon 1 in mind? With Cocoon 2 you have a sitemap into which you can add a pipeline using the standard file generator with a URL to your XML generating PHP script as the src: <map:pipeline> <map:match pattern="*/*.html"> <map:generate src="http://localhost/db/getRecord.php?table=$1&id=$2" /> <map:transform src="record2html.xsl" /> <map:serialize type="html" /> </map:match> </map:pipeline> |
Previous Message | Next Message |


