JJSIterator

Summary: let the browser iterate over a set of wiki pages
Version: 1.0
Prerequisites:
Status:
Maintainer: jjs
Categories: Administration, PHP72
Discussion: JJSIterator-Talk

Questions answered by this recipe

I'm using JjsCMS. How can I publish all pages of a Group at once?

Description

Installation

Download jjsiterator1_0.phpΔ and place it in your cookbook directory.

Add this line to config.php

  require_once($FarmD . '/cookbook/jjsiterator1_0.php'); 

Usage

Using an url like

  http://.../pmwiki.php?jjsiterator=0&action=jjscmspublish

your browser will visit all pages in your wiki thereby refreshing the jjscms cache.

Optional Parameters

jjsiteratordelay
Seconds to wait before the next page is loaded.
jjsiteratorpat
Limit search to pagelist pattern. Example: jjsiterator=0&jjsiteratorpat=Main use only pages from group "Main"
any pmwiki parameter
All parameters given at start will be used for each iteration. Example: jjscmsiterator=0&action=print will show all pages in print layout.

Notes

Release Notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

2006-03-18 initial release

See Also

Contributors

Comments

See discussion at JJSIterator-Talk

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.