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 2009/04/16 14:02:54 UTC

svn commit: r765588 - in /lenya/branches/BRANCH_2_0_X/src/pubs/default: example-content/tutorial/index_en sitemap.xmap

Author: andreas
Date: Thu Apr 16 12:02:53 2009
New Revision: 765588

URL: http://svn.apache.org/viewvc?rev=765588&view=rev
Log:
Fixed meta data link in default publication example content, removed obsolete pipeline.

Modified:
    lenya/branches/BRANCH_2_0_X/src/pubs/default/example-content/tutorial/index_en
    lenya/branches/BRANCH_2_0_X/src/pubs/default/sitemap.xmap

Modified: lenya/branches/BRANCH_2_0_X/src/pubs/default/example-content/tutorial/index_en
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/example-content/tutorial/index_en?rev=765588&r1=765587&r2=765588&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/pubs/default/example-content/tutorial/index_en (original)
+++ lenya/branches/BRANCH_2_0_X/src/pubs/default/example-content/tutorial/index_en Thu Apr 16 12:02:53 2009
@@ -80,8 +80,7 @@
     <p>The LenyaMetaDataGenerator lets you receive the meta data for any given document. In
       this pub there is an example in the sitemap.xmap (pattern="meta") it only should
       demonstrate one possible usage (you would need to edit this match for your own use case).
-      See the meta data from this page with <a href="meta?docid=/tutorial&amp;lang=en">
-      meta?docid=/tutorial&amp;lang=en</a>.</p>
+      View the meta data of this page with <a href="tutorial.html.meta">tutorial.html.meta</a>.</p>
     
     <h2>Publishing a document</h2>
 

Modified: lenya/branches/BRANCH_2_0_X/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/sitemap.xmap?rev=765588&r1=765587&r2=765588&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/pubs/default/sitemap.xmap (original)
+++ lenya/branches/BRANCH_2_0_X/src/pubs/default/sitemap.xmap Thu Apr 16 12:02:53 2009
@@ -82,11 +82,7 @@
            Here we use .html.meta, bxe uses .bxe.html.
       -->
       <map:match pattern="*/**.html.meta">
-        <map:generate type="lenyaMetaData" src="lenya-document:{page-envelope:document-uuid},area={1}"/>
-        <map:serialize type="xml"/>
-      </map:match>
-      <map:match pattern="**meta">
-        <map:generate type="lenyaMetaData" src="lenya-document:{request-param:uuid},lang={request-param:lang},pubid={request-param:pubid},area={request-param:area}"/>
+        <map:generate type="lenyaMetaData" src="lenya-document:"/>
         <map:serialize type="xml"/>
       </map:match>
 



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