[Moin-user] Suppressing non-relevant help pages from a moinmoin wiki

David Cramer (Tech Pubs) dcramer at motive.com
Fri Jun 24 08:40:08 EDT 2005


Well, in case anybody cares, here's what I ended up doing (run from
/usr/share/moin/mywiki/underlay/pages):
 
mkdir /tmp/non-en_US-content; for file in $(ls); do if grep "#language "
$file/revisions/00000001 | grep -v "#language en" > /dev/null ; then mv
$file /tmp/non-en_US-content; fi; done

# Also move a couple that are incorrectly marked as #language en
mv
Le\(c3a7\)onDeWiki\(2f\)Br\(c3a8\)veIntroduction\(2f\)091_Astuces_pour_l
\(27c3a9\)diteur/ /tmp/non-en_US-content/
mv "(d09fd0bed0bcd0bed189d18cd09fd0bed093d0bbd0b0d0b2d0b0d0bc)"
/tmp/non-en_US-content/

David

________________________________

From: moin-user-admin at lists.sourceforge.net
[mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of David Cramer
(Tech Pubs)
Sent: Sunday, June 19, 2005 11:47 PM
To: moin-user at lists.sourceforge.net
Subject: [Moin-user] Suppressing non-relevant help pages from a moinmoin
wiki
		
	We run some moinmoins on our intranet and have them indexed by a
search appliance. The licensing of that appliance is by the number of
pages indexed, so we prefer not to index pages unnecessarily. Since we
have more than one wiki, there is the potential that each help page will
be indexed multiple times. Is there an easy way to have <meta
name="robots" content="noindex,nofollow"> added only to system pages?
Other suggestions?
	 
	Thanks,
	David





More information about the Moin-user mailing list