MyShaarli/plugins/wallabag
2016-06-11 09:30:56 +02:00
..
config.php.dist Wallabag plugin improvement 2015-12-27 15:30:34 +01:00
README.md Wallabag plugin improvement 2015-12-27 15:30:34 +01:00
wallabag.html Fixes #411: remove hardcoded plugin icon size 2016-02-28 14:25:10 +01:00
wallabag.meta Wallabag plugin: add version parameter in the meta file 2016-02-10 13:08:19 +01:00
wallabag.php Use the configuration manager for wallabag and readityourself plugin 2016-06-11 09:30:56 +02:00
wallabag.png PLUGIN wallabag 2015-11-07 16:45:20 +01:00
WallabagInstance.php Git *wants* to rewrite this file in the exact same way... 2016-01-06 20:40:17 +01:00

Save to Wallabag plugin for Shaarli

For each link in your Shaarli, adds a button to save the target page in your wallabag.

Installation

Clone this repository inside your tpl/plugins/ directory, or download the archive and unpack it there.
The directory structure should look like:

└── tpl
    └── plugins
        └── wallabag
            ├── README.md
            ├── config.php.dist
            ├── wallabag.html
            ├── wallabag.php
            └── wallabag.png

To enable the plugin, add 'wallabag' to your list of enabled plugins in data/options.php (PLUGINS array). This should look like:

$GLOBALS['config']['PLUGINS'] = array('qrcode', 'any_other_plugin', 'wallabag')

Configuration

Copy config.php.dist into config.php and setup your instance.

Wallabag instance URL

$GLOBALS['config']['WALLABAG_URL'] = 'http://v2.wallabag.org' ;

Wallabag version: either 1 (for 1.x) or 2 (for 2.x)

$GLOBALS['config']['WALLABAG_VERSION'] = 2;

Note: these settings can also be set in data/config.php.