Modified: forrest/site/docs_0_70/faq.html URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/faq.html?rev=431463&r1=431462&r2=431463&view=diff ============================================================================== --- forrest/site/docs_0_70/faq.html (original) +++ forrest/site/docs_0_70/faq.html Mon Aug 14 16:14:23 2006 @@ -990,11 +990,11 @@ <pre class="code"> <map:match pattern="old_site/**.html"> <map:select type="exists"> - <map:when test="{project:content}{0}"> - <map:read src="{project:content}/{0}" mime-type="text/html"/> + <map:when test="{properties:content}{0}"> + <map:read src="{properties:content}/{0}" mime-type="text/html"/> <!-- Use this instead if you want JTidy to clean up your HTML - <map:generate type="html" src="{project:content}/{0}" /> + <map:generate type="html" src="{properties:content}/{0}" /> <map:serialize type="html"/> --> </map:when> @@ -1339,7 +1339,7 @@ <map:pipelines> <map:pipeline> <map:match pattern="resolver-*.html"> - <map:generate src="{project:content.xdocs}resolver-{1}.xml"/> + <map:generate src="{properties:content.xdocs}resolver-{1}.xml"/> <map:transform src="file:///usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl"/> <map:serialize type="xhtml"/>
Modified: forrest/site/docs_0_70/howto/howto-buildPlugin.html URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-buildPlugin.html?rev=431463&r1=431462&r2=431463&view=diff ============================================================================== --- forrest/site/docs_0_70/howto/howto-buildPlugin.html (original) +++ forrest/site/docs_0_70/howto/howto-buildPlugin.html Mon Aug 14 16:14:23 2006 @@ -588,7 +588,7 @@ </p> <p>If you want to use the realpath where the sitemap.xmap of your plugin resides then you need to use - <span class="codefrag">{forrest:plugins}/PLUGIN_NAME</span> instead of <span class="codefrag">{realpath:/}</span>. + <span class="codefrag">{forrest:forrest.plugins}/PLUGIN_NAME</span> instead of <span class="codefrag">{realpath:/}</span>. </p> <p>See the examples below for more details.</p> <a name="N10138"></a><a name="resources"></a> Modified: forrest/site/docs_0_70/howto/howto-custom-html-source.html URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-custom-html-source.html?rev=431463&r1=431462&r2=431463&view=diff ============================================================================== --- forrest/site/docs_0_70/howto/howto-custom-html-source.html (original) +++ forrest/site/docs_0_70/howto/howto-custom-html-source.html Mon Aug 14 16:14:23 2006 @@ -702,12 +702,12 @@ </p> <pre class="code"> <map:select type="exists"> - <map:when test="{project:content.xdocs}mytests/mybad.ehtml"></pre> + <map:when test="{properties:content.xdocs}mytests/mybad.ehtml"></pre> <p> we quickly discover that there can't be a file of that name in the project-directory. <br> - (The variable '{project:content.xdocs}' is always replaced with + (The variable '{properties:content.xdocs}' is always replaced with the name of your project directory that you can change in the 'forrest.properties'-file.) </p> @@ -840,7 +840,7 @@ <li> -<span class="codefrag"><map:generate src="{project:content.xdocs}{uri}.html" type="html"/></span> +<span class="codefrag"><map:generate src="{properties:content.xdocs}{uri}.html" type="html"/></span> <br> Using the html-generator, Forrest reads the html-document from file and uses JTidy to clean up and convert it to xml @@ -853,7 +853,7 @@ <li> -<span class="codefrag"><map:transform src="{forrest:stylesheets}/html2document.xsl"/></span> +<span class="codefrag"><map:transform src="{forrest:forrest.stylesheets}/html2document.xsl"/></span> <br> Using the standard stylesheet 'html2document.xsl', this XHTML is transformed into Forrest standard document format. @@ -1054,8 +1054,8 @@ <!--Custom Pipeline for my bad html-pages--> <map:pipeline> <map:match pattern="mytest/*.xml"> - <map:generate src="{project:content.xdocs}{uri}.html" type="html"/> - <map:transform src="{forrest:stylesheets}/html2document.xsl"/> + <map:generate src="{properties:content.xdocs}{uri}.html" type="html"/> + <map:transform src="{forrest:forrest.stylesheets}/html2document.xsl"/> <map:transform type="idgen"/> <map:serialize type="xml-document"/> </map:match> @@ -1080,9 +1080,9 @@ <!--Custom Pipeline for my bad html-pages--> <map:pipeline> <map:match pattern="mytest/*.xml"> - <map:generate src="{project:content.xdocs}{uri}.html" type="html" /> - <strong><map:transform src="{forrest:stylesheets}/fixMyBadHTML.xsl"/></strong> - <map:transform src="{forrest:stylesheets}/html2document.xsl" /> + <map:generate src="{properties:content.xdocs}{uri}.html" type="html" /> + <strong><map:transform src="{forrest:forrest.stylesheets}/fixMyBadHTML.xsl"/></strong> + <map:transform src="{forrest:forrest.stylesheets}/html2document.xsl" /> <map:transform type="idgen" /> <map:serialize type="xml-document"/> </map:match> Modified: forrest/site/docs_0_70/howto/howto-view-dsl.html URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/howto/howto-view-dsl.html?rev=431463&r1=431462&r2=431463&view=diff ============================================================================== --- forrest/site/docs_0_70/howto/howto-view-dsl.html (original) +++ forrest/site/docs_0_70/howto/howto-view-dsl.html Mon Aug 14 16:14:23 2006 @@ -545,7 +545,7 @@ stylesheet we use another tag within our view <span class="codefrag"><forrest:css url="default.css"/></span>. </p> <p> - Now we will create a new file as <span class="codefrag">{project:skins-dir}{path}/{name}.css</span>. In our case + Now we will create a new file as <span class="codefrag">{properties:skins-dir}{path}/{name}.css</span>. In our case we will save a file called howTo.css in newSeed/src/documentation/skins/css/howTo.css containing only the following css: </p> Modified: forrest/site/docs_0_70/sitemap-ref.html URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/sitemap-ref.html?rev=431463&r1=431462&r2=431463&view=diff ============================================================================== --- forrest/site/docs_0_70/sitemap-ref.html (original) +++ forrest/site/docs_0_70/sitemap-ref.html Mon Aug 14 16:14:23 2006 @@ -647,7 +647,7 @@ to document-v13:</p> <pre class="code"> <map:when test="howto-v13"> - <map:transform src="{forrest:stylesheets}/howto2document.xsl" /> + <map:transform src="{forrest:forrest.stylesheets}/howto2document.xsl" /> </map:when> </pre> <a name="N10175"></a><a name="other_source"></a> @@ -732,7 +732,7 @@ 2 <map:generate src="cocoon:/{1}{2}.xml"/> 3 <map:transform type="xinclude"/> 4 <map:transform type="<a href="#linkrewriting_impl">linkrewriter</a>" src="cocoon://{1}linkmap-{2}.pdf"/> -5 <map:transform src="skins/{forrest:skin}/xslt/fo/document2fo.xsl"> +5 <map:transform src="skins/{forrest:forrest.skin}/xslt/fo/document2fo.xsl"> 6 <map:parameter name="ctxbasedir" value="{realpath:.}/"/> 7 <map:parameter name="xmlbasedir" value="content/xdocs/{1}"/> 8 </map:transform> Modified: forrest/site/docs_0_70/upgrading_07.html URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/upgrading_07.html?rev=431463&r1=431462&r2=431463&view=diff ============================================================================== --- forrest/site/docs_0_70/upgrading_07.html (original) +++ forrest/site/docs_0_70/upgrading_07.html Mon Aug 14 16:14:23 2006 @@ -502,19 +502,19 @@ <pre class="code"> <map:match pattern="**.html"> <map:select type="exists"> - <map:when test="{project:content}{0}"> - <map:read src="{project:content}/{0}" mime-type="text/html"/> + <map:when test="{properties:content}{0}"> + <map:read src="{properties:content}/{0}" mime-type="text/html"/> <!-- Use this instead if you want JTidy to clean up your HTML - <map:generate type="html" src="{project:content}/{0}" /> + <map:generate type="html" src="{properties:content}/{0}" /> <map:serialize type="html"/> --> </map:when> - <map:when test="{project:content.xdocs}{0}"> - <map:read src="{project:content.xdocs}/{0}" mime-type="text/html"/> + <map:when test="{properties:content.xdocs}{0}"> + <map:read src="{properties:content.xdocs}/{0}" mime-type="text/html"/> <!-- Use this instead if you want JTidy to clean up your HTML - <map:generate type="html" src="{project:content.xdocs}/{0}" /> + <map:generate type="html" src="{properties:content.xdocs}/{0}" /> <map:serialize type="html"/> --> </map:when> Modified: forrest/site/docs_0_70/your-project.html URL: http://svn.apache.org/viewvc/forrest/site/docs_0_70/your-project.html?rev=431463&r1=431462&r2=431463&view=diff ============================================================================== --- forrest/site/docs_0_70/your-project.html (original) +++ forrest/site/docs_0_70/your-project.html Mon Aug 14 16:14:23 2006 @@ -1242,8 +1242,8 @@ ... <strong> <map:match pattern="**download.xml"> - <map:generate src="{project:content.xdocs}{1}download.xml" /> - <map:transform src="{project:resources.stylesheets}/download2document.xsl" /> + <map:generate src="{properties:content.xdocs}{1}download.xml" /> + <map:transform src="{properties:resources.stylesheets}/download2document.xsl" /> <map:serialize type="xml"/> </map:match> </strong> @@ -1336,17 +1336,17 @@ <map:pipelines> <map:pipeline> <map:match pattern="**download.xml"> - <map:generate src="{project:content.xdocs}{1}download.xml" /> - <map:act type="sourcetype" src="{project:content.xdocs}{1}download.xml"> + <map:generate src="{properties:content.xdocs}{1}download.xml" /> + <map:act type="sourcetype" src="{properties:content.xdocs}{1}download.xml"> <map:select type="parameter"> <map:parameter name="parameter-selector-test" value="{sourcetype}" /> <map:when test="download-v1.0"> <map:transform - src="{project:resources.stylesheets}/download2document.xsl" /> + src="{properties:resources.stylesheets}/download2document.xsl" /> </map:when> <map:when test="download-v1.1"> <map:transform - src="{project:resources.stylesheets}/download-v11-2document.xsl" /> + src="{properties:resources.stylesheets}/download-v11-2document.xsl" /> </map:when> </map:select> </map:act> @@ -1382,7 +1382,7 @@ <strong> <map:match pattern="**weblog.xml"> <map:generate src="http://blogs.cocoondev.org/stevenn/index.rss"/> - <map:transform src="{forrest:stylesheets}/rss2document.xsl"/> + <map:transform src="{forrest:forrest.stylesheets}/rss2document.xsl"/> <map:serialize type="xml"/> </map:match> </strong> @@ -1396,7 +1396,7 @@ <p>You will probably want to copy the core Forrest <span class="codefrag">rss2document.xsl</span> to your project, customise it to your needs, and refer to it with - <span class="codefrag">src="{project:resources.stylesheets}/rss2document.xsl"</span>. + <span class="codefrag">src="{properties:resources.stylesheets}/rss2document.xsl"</span>. Then of course you would add an entry to site.xml to link to weblog.html </p>
