The attached script will run through all the pages of a TWiki web, looking for two things: pages without PAGETITLE set, pages without parent topics set, and pages with invalid parent topics.

I've found that Google/Yahoo/whatnot tends to give priority to pages with the search terms in their titles. You could use one of the various wiki spacing plugins, but you get better flexibility out of the PAGETITLE directive. I like to set, as the first few lines of each of my pages:

<!-- * Set PAGETITLE = Title of page goes here -->

Anyway, an example invocation of this script is as follows. I tend to stick it into cron, with the output emailed to me. This, combined with the optional editurl parameter, will provide you with a handy list of direct links which will take you to pages which need editing.

bin/ public_html/data/Gunwiki/


-- SeanNewton - 15 Feb 2008

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt r1 manage 1.5 K 2008-02-15 - 07:35 SeanNewton Script
Topic revision: r1 - 2008-02-15 - SeanNewton
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback