svn commit: r636135 - /lenya/trunk/src/pubs/default/sitemap.xmap

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Mar 11 15:46:37 2008
New Revision: 636135

URL: http://svn.apache.org/viewvc?rev=636135&view=rev
Log:
Use RSS mime-type when delivering RSS XML.

Modified:
    lenya/trunk/src/pubs/default/sitemap.xmap

Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?rev=636135&r1=636134&r2=636135&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Tue Mar 11 15:46:37 2008
@@ -74,7 +74,7 @@
       -->
       <map:match pattern="**.rss">
         <map:generate src="{resource-type:format-rss}"/>
-        <map:serialize type="xml"/>
+        <map:serialize type="xml" mime-type="application/rss+xml"/>
       </map:match>
 
       <!-- FIXME: either this should be moved into a metadata module, or at least we need to establish
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.