creator greenstone@cs.waikato.ac.nz maintainer greenstone@cs.waikato.ac.nz public true buildtype mgpp #indexes document:text document:Title document:Source indexes text Title Source defaultindex text levels document plugin GreenstoneXMLPlugin plugin PDFPlugin plugin WordPlugin plugin NulPlugin plugin MetadataXMLPlugin plugin MediaWikiPlugin -searchbox_div_exp ]*)id=(\"|')p-search(\"|')(.|\n)*? -show_toc -delete_toc -remove_title_suffix_exp " - (.*)" -toc_exp ]*)id=(\"|')toc(\"|')(.|\n)*?\n -nav_div_exp ]*)id=(\"|')p-navigation(\"|')(.|\n)*? -delete_searchbox -delete_nav plugin ArchivesInfPlugin plugin DirectoryPlugin classify AZList -metadata Title classify AZList -metadata Source format VList "[link][icon][/link] [ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink] [highlight] {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} [/highlight]{If}{[ex.Source],
([ex.Source])}" format HList "[link][highlight][ex.Title][/highlight][/link]" format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}
" format DocumentText "[Text]" format DocumentButtons "Detach|Highlight" format SearchTypes "plain,form" collectionmeta collectionname [l=en] "wiki" collectionmeta .document:text [l=en] "text" collectionmeta .document:Title [l=en] "titles" collectionmeta .document:Source [l=en] "filenames" collectionmeta .text [l=en] "text" collectionmeta .Title [l=en] "titles" collectionmeta .Source [l=en] "filenames" # -- English text ---------------- collectionmeta collectionextra [l=en] "This demonstration collection is made from the Greenstone Wiki website. It shows off the new feature of building a Greenstone collection from a MediaWiki website in Greestone.\n

How the collection works

\n

The collection configuration file contains nine plugins MediaWikiPlug, ImagePlug, ZipPlug, PDFPlug, PPTPlug, WordPlug (along with the standard three GAPlug, ArcPlug and RecPlug). The MediaWikiPlug handles the HTML pages downloaded from a MediaWiki website, while the ImagePlug, ZipPlug, PDFPlug, PPTPlug, WordPlug handles the image, zip, PDF, PPT and Word files associated with the Greenstone Wiki. \n

To build the collection from a MediaWiki website, first add the new MediaWiki download plug on the Download panel of GLI. This plug works in a similar way with the Web download plug, but is speically for crawling MediaWiki websites.\n

In the Document Plugins section of the Design panel, add MediaWikiPlug. MediaWikiPlug has 5 options, show_toc, toc_exp, delete_toc, delete_nav, nav_exp. Switch on show_toc will copy the table of contents on the website\'s main page to the collection\'s about page. This needs to specify a regex expression for the table of contents in the toc_exp option. Select the delete_toc option will surpress the table of content on each Wiki page. delete_nav and nav_exp options are for supressing the navigation toolbar, which is normally on the left side of a wiki page, and the nav_exp option is an regular expression of the position of the navigation toolbar. \n " collectionmeta iconcollection [l=en] "_httpprefix_/collect/wiki/images/en/wiki.gif" collectionmeta iconcollectionsmall [l=en] "_httpprefix_/collect/wiki/images/en/wiki.gif"