forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1713959 - in /forrest/trunk: main/webapp/raw.xmap main/webapp/sitemap.xmap site-author/status.xml
Date Thu, 12 Nov 2015 02:42:29 GMT
Author: crossley
Date: Thu Nov 12 02:42:29 2015
New Revision: 1713959

URL: http://svn.apache.org/viewvc?rev=1713959&view=rev
Log:
Added a reader and a serializer for JSON

Modified:
    forrest/trunk/main/webapp/raw.xmap
    forrest/trunk/main/webapp/sitemap.xmap
    forrest/trunk/site-author/status.xml

Modified: forrest/trunk/main/webapp/raw.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/raw.xmap?rev=1713959&r1=1713958&r2=1713959&view=diff
==============================================================================
--- forrest/trunk/main/webapp/raw.xmap (original)
+++ forrest/trunk/main/webapp/raw.xmap Thu Nov 12 02:42:29 2015
@@ -72,6 +72,9 @@ $Revision: 1.2 $
         <map:match pattern="**.jpeg">
           <map:read src="{lm:project.{0}}" mime-type="image/jpeg" />
         </map:match>
+        <map:match pattern="**.json">
+          <map:read src="{lm:project.{0}}" mime-type="application/json" />
+        </map:match>
         <map:match pattern="**.pdf">
           <map:read src="{lm:project.{0}}" mime-type="application/pdf" />
         </map:match>

Modified: forrest/trunk/main/webapp/sitemap.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/sitemap.xmap?rev=1713959&r1=1713958&r2=1713959&view=diff
==============================================================================
--- forrest/trunk/main/webapp/sitemap.xmap (original)
+++ forrest/trunk/main/webapp/sitemap.xmap Thu Nov 12 02:42:29 2015
@@ -188,6 +188,9 @@ $Revision: 1.12 $
       <map:serializer logger="sitemap.serializer.text" mime-type="text/plain" name="text"
src="org.apache.cocoon.serialization.TextSerializer">
         <encoding>UTF-8</encoding>
       </map:serializer>
+      <map:serializer name="json" mime-type="application/json; charset=UTF-8" src="org.apache.cocoon.serialization.TextSerializer">
+        <encoding>UTF-8</encoding>
+      </map:serializer>
 <!--
       <map:serializer mime-type="application/x-shockwave-flash" name="swf" src="org.apache.cocoon.serialization.SWFSerializer"/>
       <map:serializer mime-type="application/msword" name="fo2rtf" src="org.apache.cocoon.serialization.RTFSerializer"/>

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=1713959&r1=1713958&r2=1713959&view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Thu Nov 12 02:42:29 2015
@@ -154,6 +154,10 @@
         <link href="site:upgrading_010">upgrading to v0.10-dev</link>
       </action>
 <!-- 2015-## -->
+<!-- 2015-11 -->
+      <action context="code" type="add" dev="DC">
+        Added a reader and a serializer for JSON.
+      </action>
 <!-- 2015-04 -->
       <action context="docs" type="update" dev="DC">
         Improved the "upgrading" notes to remind to keep any optional



Mime
View raw message