Update of /var/cvs/config/components
In directory james.mmbase.org:/tmp/cvs-serv4271
Modified Files:
core.xml
Log Message:
caching news
See also: http://cvs.mmbase.org/viewcvs/config/components
Index: core.xml
===================================================================
RCS file: /var/cvs/config/components/core.xml,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- core.xml 7 Jan 2009 20:56:37 -0000 1.62
+++ core.xml 10 Jan 2009 18:39:17 -0000 1.63
@@ -438,21 +438,30 @@
</body>
</block>
- <block name="mmbase_news"
- classification="mmbase.about:100"
+ <block name="mmbase_news_uncached"
mimetype="text/html">
+ <body>
+ <class name="org.mmbase.framework.ConnectionRenderer">
+ <param name="url">http://www.mmbase.org/rss</param>
+ <param name="xslt">xslt/rss.xslt</param>
+ </class>
+ </body>
+ </block>
+
+ <block name="mmbase_news"
+ classification="mmbase.about:100">
<title xml:lang="nl">Nieuws</title>
<title xml:lang="en">News</title>
<description xml:lang="en">Shows latest news from
www.mmbase.org</description>
<description xml:lang="nl">Toont het laatste nieuws van
www.mmbase.org</description>
<body>
- <class name="org.mmbase.framework.ConnectionRenderer">
- <param name="url">http://www.mmbase.org/rss</param>
- <param name="xslt">xslt/rss.xslt</param>
+ <class name="org.mmbase.framework.CachedRenderer">
+ <param name="wraps">mmbase_news_uncached</param>
</class>
</body>
</block>
+
<block name="releasenotes"
classification="mmbase.about:11"
mimetype="text/html">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs