Vsebina
Name
InterWiki - wiki exchange library
Synopsis
use InterWiki; # wiki object $wiki = InterWiki->new('http://www.wikipedia.org/",$wiki_type); # meta info about this wiki %info = $wiki->info(); # read and write $args = { version=>1.7, format=>'source' }; $result = $wiki->getPage('SandBox', $args); $result = $wiki->putPage('SandBox', $page_source_text, $args); $result = $wiki->appendToPage('SandBox', $page_source_text); # get article properties $path = $wiki->getPath('SandBox'); $url = $wiki->getURL('SandBox'); %result = $wiki->stat('SandBox'); # whole wiki operations $result = $wiki->getRecentChanges($timestamp); @result = $wiki->search($keywords,$search_types); $contents = $wiki->getFile($name,$version);
Todo
- If user credentials supplied, login.
- Cacheing. Specify max cache age in getPage.
- Support for MoinMoin
- Support for TWiki
Bugs
Some standard way of converting between different Wiki markups is needed.