klenwell googlepages : uPublisher demo

This is a demonstration of the uPublisher package. It is called directly from the klenwell google code repository where the source can be viewed.

demo

the code

var debug = 0;
var MyPublisher = new uPublisher(debug);
var stylesheet = MyPublisher.dirpath + 'upublisher.default.css';
var jedofid = 'uPublisher sample';
MyPublisher.ini();
MyPublisher.kwey = 'uPublisher';
MyPublisher.load_file(jedofid);
MyPublisher.build_page();
MyPublisher.add_page_handler_img('last', MyPublisher.dirpath + 'image/dogear.back.png');
MyPublisher.add_page_handler_img('next', MyPublisher.dirpath + 'image/dogear.next.png');
MyPublisher.add_stylesheet(stylesheet);
MyPublisher.publish('uBook');