aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGravatar Amaury Carrade <amaury@carrade.eu> 2016-05-03 14:42:16 +0200
committerGravatar Amaury Carrade <amaury@carrade.eu> 2016-05-03 14:42:16 +0200
commit138bbedac6a21b74b289c0b7f9d396f9e4f0f6b2 (patch)
treec407104094c4758cada6cb30c2407fbb21171307 /data
parent94348e5f4f7692d89b37bfb5d6194041c34319b1 (diff)
Added a share for Wallabag v2
The new version of Wallabag (2) was rewrote completly, and the sharer changed. This keeps the old Wallabag v1 sharer, for people still using it, and adds a new one for Wallabag v2. The old sharer for wallabag v1 is renamed to 'wallabag v1' (instead of 'wallabag').
Diffstat (limited to 'data')
-rw-r--r--data/shares.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/shares.php b/data/shares.php
index 264c8fed7..1295a26ac 100644
--- a/data/shares.php
+++ b/data/shares.php
@@ -38,6 +38,15 @@ return array(
'help' => 'http://www.wallabag.org/',
'form' => 'advanced',
),
+ 'wallabagv2' => array(
+ 'url' => '~URL~/bookmarklet?url=~LINK~',
+ 'transform' => array(
+ 'link' => array('rawurlencode'),
+ 'title' => array(),
+ ),
+ 'help' => 'http://www.wallabag.org/',
+ 'form' => 'advanced',
+ ),
'diaspora' => array(
'url' => '~URL~/bookmarklet?url=~LINK~&amp;title=~TITLE~',
'transform' => array('rawurlencode'),