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 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 MetadataXMLPlugin 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" collectionmeta .text "_labeltext_" collectionmeta .Title "_labeltitle_" collectionmeta .Source "_labelSource_" # -- English text ---------------- collectionmeta collectionname [l=en] "MediaWiki collection" 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.

How the collection works

The collection configuration file contains the plugins MediaWikiPlugin, ImagePlugin, ZipPlugin, PDFPlugin, PowerPointPlugin, WordPlugin (along with the standard plugins GreenstoneXMLPlugin, ArchivesInfPlugin and DirectoryPlugin). The MediaWikiPlugin handles the HTML pages downloaded from a MediaWiki website, while ImagePlugin, ZipPlugin, PDFPlugin, PowerPointPlugin and WordPlugin handle the image, zip, PDF, PowerPoint and Word files associated with the Greenstone Wiki.

To build a collection from a MediaWiki website, first download the wiki files using the MediaWiki option on the Download panel of GLI. This download type works in a similar way to a the Web download, but is specially designed for crawling MediaWiki websites.\n

Once the files are downloaded, copy them into a collection using the Gather, dragging them from the Downloaded Files folder in the Workspace tree on the left-hand side.

In the Document Plugins section of the Design panel, add MediaWikiPlugin. MediaWikiPlugin has several specific options which control aspects of page presentation, such as whether or not the table of contents, navigation toolbars and search box are shown on each page. Configure these options based on how you want the pages to appear. You can see the options used by this collection in its collection configuration file. "