2015-07-15 12:05:36 +02:00
|
|
|
|
## Save to Wallabag plugin for Shaarli
|
|
|
|
|
|
|
|
|
|
For each link in your Shaarli, adds a button to save the target page in your [wallabag](https://www.wallabag.org/).
|
|
|
|
|
|
2015-12-22 10:20:27 +01:00
|
|
|
|
### Installation
|
|
|
|
|
|
2015-07-15 12:05:36 +02:00
|
|
|
|
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
|
|
|
|
|
├── wallabag.html
|
2016-06-09 20:04:32 +02:00
|
|
|
|
├── wallabag.meta
|
2015-12-22 10:20:27 +01:00
|
|
|
|
├── wallabag.php
|
2016-06-09 20:04:32 +02:00
|
|
|
|
├── wallabag.php
|
|
|
|
|
└── WallabagInstance.php
|
2015-07-15 12:05:36 +02:00
|
|
|
|
```
|
|
|
|
|
|
2016-06-09 20:04:32 +02:00
|
|
|
|
To enable the plugin, you can either:
|
2015-07-15 12:05:36 +02:00
|
|
|
|
|
2016-06-09 20:04:32 +02:00
|
|
|
|
* enable it in the plugins administration page (`?do=pluginadmin`).
|
|
|
|
|
* add `wallabag` to your list of enabled plugins in `data/config.json.php` (`general.enabled_plugins` section).
|
2015-07-15 12:05:36 +02:00
|
|
|
|
|
2015-12-22 10:20:27 +01:00
|
|
|
|
### Configuration
|
|
|
|
|
|
2016-06-09 20:04:32 +02:00
|
|
|
|
Go to the plugin administration page, and edit the following settings (with the plugin enabled).
|
2015-07-15 12:05:36 +02:00
|
|
|
|
|
2016-06-09 20:04:32 +02:00
|
|
|
|
**WALLABAG_URL**: *Wallabag instance URL*
|
|
|
|
|
Example value: `http://v2.wallabag.org`
|
2015-12-22 10:20:27 +01:00
|
|
|
|
|
2016-06-09 20:04:32 +02:00
|
|
|
|
**WALLABAG_VERSION**: *Wallabag version*
|
|
|
|
|
Value: either `1` (for 1.x) or `2` (for 2.x)
|
2015-12-22 10:20:27 +01:00
|
|
|
|
|
2016-06-09 20:04:32 +02:00
|
|
|
|
> Note: these settings can also be set in `data/config.json.php`, in the plugins section.
|