aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/wallabag/README.md
blob: ea21a51925f33de0986a28550a167559e1406043 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## 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/).

### Installation

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

```bash
└── tpl
    └── plugins
        └── wallabag
            ├── README.md
            ├── wallabag.html
            ├── wallabag.meta
            ├── wallabag.php
            ├── wallabag.php
            └── WallabagInstance.php
```

To enable the plugin, you can either:

  * 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).

### Configuration

Go to the plugin administration page, and edit the following settings (with the plugin enabled).

**WALLABAG_URL**: *Wallabag instance URL*
Example value: `http://v2.wallabag.org`

**WALLABAG_VERSION**: *Wallabag version*
Value: either `1` (for 1.x) or `2` (for 2.x)

> Note: these settings can also be set in `data/config.json.php`, in the plugins section.