]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - plugins/wallabag/README.md
Merge pull request #281 from ArthurHoaro/plugin-wallabag
[github/shaarli/Shaarli.git] / plugins / wallabag / README.md
1 ## Save to Wallabag plugin for Shaarli
2
3 For each link in your Shaarli, adds a button to save the target page in your [wallabag](https://www.wallabag.org/).
4
5 ### Installation/configuration
6 Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there.
7 The directory structure should look like:
8
9 ```
10 └── tpl
11 └── plugins
12    └── wallabag
13    ├── README.md
14    ├── wallabag.html
15    └── wallabag.png
16 ```
17
18 To enable the plugin, add `'wallabag'` to your list of enabled plugins in `data/options.php` (`PLUGINS` array)
19 . This should look like:
20
21 ```
22 $GLOBALS['config']['PLUGINS'] = array('qrcode', 'any_other_plugin', 'wallabag')
23 ```
24
25 Then, set the `WALLABAG_URL` variable in `data/options.php` pointing to your wallabag URL. Example:
26
27 ```
28 $GLOBALS['config']['WALLABAG_URL'] = 'http://demo.wallabag.org' ; //Base URL of your wallabag installation
29 ```