[z3-checkins] r40501 - z3/deliverance/DeliveranceDemo/trunk/docs/slashdot_example

ianb at codespeak.net ianb at codespeak.net
Wed Mar 14 20:07:51 CET 2007


Author: ianb
Date: Wed Mar 14 20:07:48 2007
New Revision: 40501

Added:
   z3/deliverance/DeliveranceDemo/trunk/docs/slashdot_example/
   z3/deliverance/DeliveranceDemo/trunk/docs/slashdot_example/rule.xml
   z3/deliverance/DeliveranceDemo/trunk/docs/slashdot_example/standardrules.xml
Log:
added an example rule

Added: z3/deliverance/DeliveranceDemo/trunk/docs/slashdot_example/rule.xml
==============================================================================
--- (empty file)
+++ z3/deliverance/DeliveranceDemo/trunk/docs/slashdot_example/rule.xml	Wed Mar 14 20:07:48 2007
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rules xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.plone.org/deliverance" >
+  <xi:include href="standardrules.xml" />
+
+  <copy theme="//div[@id='articles']" content="//*[@id='portal-columns']" />
+</rules>
\ No newline at end of file

Added: z3/deliverance/DeliveranceDemo/trunk/docs/slashdot_example/standardrules.xml
==============================================================================
--- (empty file)
+++ z3/deliverance/DeliveranceDemo/trunk/docs/slashdot_example/standardrules.xml	Wed Mar 14 20:07:48 2007
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rules xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.plone.org/deliverance">
+  <prepend theme="//head" content="//head/link" nocontent="ignore" /> 
+  <prepend theme="//head" content="//head/style" nocontent="ignore" /> 
+  <append theme="//head" content="//head/script" nocontent="ignore" />    
+  <append theme="//head" content="//head/meta" nocontent="ignore" />
+  <append-or-replace theme="//head" content="//head/title"
+  nocontent="ignore" />
+</rules>


More information about the z3-checkins mailing list