[ZWeb] CVS: Products/ZWiki/Extensions - convert.py:1.3

Ken Manheimer klm@zope.com
Thu, 13 Dec 2001 15:17:49 -0500


Update of /cvs-zopeorg/Products/ZWiki/Extensions
In directory cvs.zope.org:/tmp/cvs-serv18011

Modified Files:
	convert.py 
Log Message:
Providing some instructions for using the footer-update external
method.

(I've directed /cvs-zopeorg checkins to go to zope-web - the only
thing currently in that repository is the wiki notifications stuff, so
there shouldn't be a whole lot of messages - though there may be a few
while i shake this out.)


=== Products/ZWiki/Extensions/convert.py 1.2 => 1.3 ===
+"""External methods to apply edits for various wiki conversions.
+
+add_subscribe_links(): Adjust wiki_standard_footer text to include link to
+subscribe page.  To use, create an external method with the following values:
+
+  Id: wiki_subscribe_footer_update
+  Module Name: ZWiki.convert
+  Function Name: add_subscribe_links
+
+Then, add "/wiki_subscribe_footer_update" to the url of any folder to update
+the wiki footer for that folder and any contained ones.  It won't make the
+change if it detects the change already in the footer, so you should be able
+to run this multiple times with no harm."""
 
 import string
 
@@ -8,7 +20,7 @@
 def add_subscribe_links(self):
     """Edit standard_wiki_footers to include the "Subscribe" link.
 
-    We look recurively through all folders below the one containing the
+    We look recursively through all folders below the one containing the
     method."""
     did = missed = already_done = 0
     for f in hierarchy_folders(folder=self):