You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/01/31 22:41:52 UTC

svn commit: r617249 - in /lenya/trunk/src/pubs/default: sitemap.xmap xslt/page2xhtml.xsl

Author: andreas
Date: Thu Jan 31 13:41:48 2008
New Revision: 617249

URL: http://svn.apache.org/viewvc?rev=617249&view=rev
Log:
Removed commented-out old link to neutron introspection, removed introspection pipeline from default publication sitemap.

Modified:
    lenya/trunk/src/pubs/default/sitemap.xmap
    lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl

Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?rev=617249&r1=617248&r2=617249&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Thu Jan 31 13:41:48 2008
@@ -42,29 +42,6 @@
     <!-- This pipeline handles helper requests and metadata, not the actual publication documents -->
     <map:pipeline>
 
-      <!-- Neutron introspection
-           The location of the introspection file is defined in <link rel="neutron-introspection"/>
-           (see xslt/page2xhtml.xsl).
-      -->
-      <map:match pattern="*/**/introspection.xml">
-        <map:select type="resource-exists">
-          <map:when test="fallback://lenya/modules/neutron/sitemap.xmap">
-            <!-- NB: there are problems with the fallback:// source factory when mounting sitemaps, 
-                 that's why the corresponding input module {fallback:} is used. -->
-            <map:mount 
-              uri-prefix="" 
-              src="{fallback:lenya/modules/neutron/sitemap.xmap}" 
-              check-reload="true" 
-              reload-method="synchron"
-            />
-          </map:when>
-          <map:otherwise>
-            <map:generate src="context:/lenya/content/util/empty.xml"/>
-            <map:serialize type="xml"/>
-          </map:otherwise>
-        </map:select>
-      </map:match>
- 
       <!--
          FIXME: the whole webdav shebang should be handled by the webdav module sitemap.
       -->

Modified: lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl?rev=617249&r1=617248&r2=617249&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl (original)
+++ lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl Thu Jan 31 13:41:48 2008
@@ -51,9 +51,6 @@
   <xsl:template match="cmsbody">
     <html>
       <head>
-        <!-- 
-        <link rel="neutron-introspection" type="application/neutron+xml" href="{$root}{$document-path}/introspection.xml"/>
-         -->
         <link rel="neutron-introspection" type="application/neutron+xml"
           href="{$root}{$document-path}.xml?lenya.module=neutron&amp;lenya.action=introspect"/>
         <link rel="stylesheet" href="{$root}/css/page.css" type="text/css"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org