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
|
|
|
|
|
2016-08-13 14:22:22 +02:00
|
|
|
Clone this repository inside your `tpl/plugins/` directory, or download the archive and unpack it there.
|
2015-07-15 12:05:36 +02:00
|
|
|
The directory structure should look like:
|
|
|
|
|
2016-08-13 14:22:22 +02:00
|
|
|
```bash
|
2015-07-15 12:05:36 +02:00
|
|
|
└── tpl
|
|
|
|
└── plugins
|
2016-08-13 14:22:22 +02:00
|
|
|
└── wallabag
|
|
|
|
├── README.md
|
|
|
|
├── wallabag.html
|
|
|
|
├── wallabag.meta
|
|
|
|
├── wallabag.php
|
|
|
|
├── 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
|
|
|
|
2023-05-24 11:35:15 +02:00
|
|
|
* enable it in the plugins administration page (`/admin/plugins`).
|
2016-06-09 20:04:32 +02:00
|
|
|
* 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-08-13 14:22:22 +02:00
|
|
|
**WALLABAG_URL**: *Wallabag instance URL*
|
2016-06-09 20:04:32 +02:00
|
|
|
Example value: `http://v2.wallabag.org`
|
2015-12-22 10:20:27 +01:00
|
|
|
|
2016-08-13 14:22:22 +02:00
|
|
|
**WALLABAG_VERSION**: *Wallabag version*
|
2016-06-09 20:04:32 +02:00
|
|
|
Value: either `1` (for 1.x) or `2` (for 2.x)
|
2015-12-22 10:20:27 +01:00
|
|
|
|
2016-08-13 14:22:22 +02:00
|
|
|
> Note: these settings can also be set in `data/config.json.php`, in the plugins section.
|