NAME

Mail2Wiki::Wiki::MindTouch - MindTouch wiki object, subclass of Wiki, post content to mindtouch wiki

VERSION

version 0.016

ATTRIBUTES

ua

The UserAgent used to do post, a Mojo::UserAgent object

create_file_api

api used to post a file to a page.

See https://help.mindtouch.us/01MindTouch_TCS/Developer_Guide/API_Reference/PUT%3Apages%2F%2F%7Bpageid%7D%2F%2Ffiles%2F%2F%7Bfilename%7D

create_page_api

api used to post a page.

See https://help.mindtouch.us/index.php?title=01MindTouch_TCS/Developer_Guide/API_Reference/POST:pages%2F%2F%7Bpageid%7D%2F%2Fcontents

dom

Dom object to parse HTML mail content, a Mojo::DOM object.

METHODS

post(%args)

post an Wiki page, if has attachement, will be also posted.

%args

file: an array of filename belongs to the page

content: the content of page

AUTHOR

ChinaXing(陈云星) <chen.yack@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by ChinaXing(陈云星).

This is free software, licensed under:

The (three-clause) BSD License