README
1dokudrawingboard plugin for DokuWiki
2
3to create a a drawingboard by using drawingboard.js library
4
5All documentation for this plugin can be found at
6https://github.com/edwardcodelab/dokudrawingboard
7
8If you install this plugin manually, make sure it is installed in
9lib/plugins/dokudrawingboard/ - if the folder is called different it
10will not work!
11
12Please refer to http://www.dokuwiki.org/extensions for additional info
13on how to install extensions in DokuWiki.
14
15----
16Copyright (C) dodotori <dodotori@localhost>
17
18This program is free software; you can redistribute it and/or modify
19it under the terms of the GNU General Public License as published by
20the Free Software Foundation; version 2 of the License
21
22This program is distributed in the hope that it will be useful,
23but WITHOUT ANY WARRANTY; without even the implied warranty of
24MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25GNU General Public License for more details.
26
27See the LICENSING file for details
28
README.md
1# bookmark2wiki
2to send bookmark from browser to dokuwiki
3 /**
4 * bookmark2wiki
5 * forked from post2wiki.php by riny [at] bk [dot] ru
6 * To bookmark webpage using bookmarklet
7 * The app will add the url, title and hightlighed text you want to the end of the content of the targeted namespace. It does not directly read/white the dokuwiki page folder.
8 * Version 0.1
9 * todo : check security of input
10 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
11 * @author edwardcodelab https://github.com/edwardcodelab
12 **/
13
14 // TYPICAL USAGE :
15 // Create bookmarklet as shown in the bookmarklet part below:
16 // Change the window.open statement to reflect the location of the bookmark2wiki.php script.
17 // Drag bookmarklet to your toolbar.
18 // BOOKMARKLET :
19 // javascript:Q=document.selection?document.selection.createRange().text:document.getSelection(); void(window.open('https://myserver/bookmark2wiki.php?te='+escape(Q)+'&ur='+ escape(location.href)+'&ti='+escape(document.title),'dokuwikiadd','scrollbars=yes,resizable=yes,toolbars=yes,width=200,height=100,left=200,top=200,status=yes'));
20