Author: cdupoirieux
Date: Thu Oct 12 08:56:59 2006
New Revision: 463293
URL: http://svn.apache.org/viewvc?view=rev&rev=463293
Log:
With few fixes, PHP Plugin is useless.
just add :
<!-- PHP Documentation -->
<map:match type="regexp" pattern="^(.*?)([^/]*).php$">
<map:generate src="cocoon://{1}{2}.html"/>
<map:serialize type="xml"/>
</map:match>
in your project sitemap.xmap.
I don't succeed to delete the plugin, but I try...
Modified:
forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/content-main.ft
Modified: forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl?view=diff&rev=463293&r1=463292&r2=463293
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl
(original)
+++ forrest/trunk/main/webapp/skins/common/xslt/html/strip_namespaces.xsl Thu
Oct 12 08:56:59 2006
@@ -17,7 +17,7 @@
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- FIXME: FOR-555. This might not be the best solution though, but it sure
works -->
- <xsl:template match="comment()">
+ <xsl:template match="comment()|processing-instruction()">
<xsl:copy>
<xsl:apply-templates
select="@*|*|text()|processing-instruction()|comment()"/>
</xsl:copy>
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/content-main.ft
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/content-main.ft?view=diff&rev=463293&r1=463292&r2=463293
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/content-main.ft
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt/html/content-main.ft
Thu Oct 12 08:56:59 2006
@@ -44,7 +44,7 @@
<forrest:part>
<xsl:comment>+ |start content-main +</xsl:comment>
<xsl:apply-templates
- select="//[EMAIL PROTECTED]'content']/[EMAIL
PROTECTED]'content-main']/*">
+ select="//[EMAIL PROTECTED]'content']/[EMAIL
PROTECTED]'content-main']/*|//[EMAIL PROTECTED]'content']/[EMAIL
PROTECTED]'content-main']/processing-instruction()">
<xsl:with-param name="content-main-conf"
select="$content-main-conf"/>
</xsl:apply-templates>
@@ -72,7 +72,7 @@
<xsl:template match="[EMAIL PROTECTED] = 'section']">
<xsl:param name="content-main-conf"/>
<div class="section">
- <xsl:apply-templates select="*">
+ <xsl:apply-templates select="*|processing-instruction()">
<xsl:with-param name="content-main-conf"
select="$content-main-conf"/>
</xsl:apply-templates>