MyShaarli/plugins/wallabag
ArthurHoaro 7fde6de121 New init function for plugins, supports errors reporting
All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded.

This function is aware of the config, and can return initialization errors, which are displayed in the header template.

Note that the previous error system hack no longer work.
2016-10-14 13:22:58 +02:00
..
README.md Fix: add missing final newlines, untabify text 2016-08-13 14:22:22 +02:00
wallabag.html Fixes #411: remove hardcoded plugin icon size 2016-02-28 14:25:10 +01:00
wallabag.meta Add a description to wallabag plugin parameters 2016-08-02 11:12:05 +02:00
wallabag.php New init function for plugins, supports errors reporting 2016-10-14 13:22:58 +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
            ├── 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.