aboutsummaryrefslogtreecommitdiff
path: root/app/shares.php
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-03-14 19:53:33 +0100
committerGravatar GitHub <noreply@github.com> 2022-03-14 19:53:33 +0100
commitd4db9c5a091f9217af533fcdfc79cc8bad546e8e (patch)
tree22715ce2afce31a8128b7fb1bf5bf256f6336486 /app/shares.php
parentc7790bc59a285b2c7ffb1dc063656fd672a2bf03 (diff)
More sharing services (#4270)
* added: Xing * added: Reddit * added: Pinterest * added: Whatsapp
Diffstat (limited to 'app/shares.php')
-rw-r--r--app/shares.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/shares.php b/app/shares.php
index 330f52bb7..9761ed609 100644
--- a/app/shares.php
+++ b/app/shares.php
@@ -109,6 +109,13 @@ return array(
'form' => 'simple',
'method' => 'GET',
),
+ 'pinterest' => array(
+ 'url' => 'https://pinterest.com/pin/create/button/?url=~LINK~',
+ 'transform' => array('rawurlencode'),
+ 'help' => 'https://pinterest.com/',
+ 'form' => 'simple',
+ 'method' => 'GET',
+ ),
'pocket' => array(
'url' => 'https://getpocket.com/save?url=~LINK~&amp;title=~TITLE~',
'transform' => array('rawurlencode'),
@@ -127,6 +134,13 @@ return array(
'form' => 'simple',
'method' => 'GET',
),
+ 'reddit' => array(
+ 'url' => 'https://www.reddit.com/submit?url=~LINK~',
+ 'transform' => array('rawurlencode'),
+ 'help' => 'https://www.reddit.com/wiki/submitting?v=c2ae883a-04b9-11e4-a68c-12313b01a1fc',
+ 'form' => 'simple',
+ 'method' => 'GET',
+ ),
'shaarli' => array(
'url' => '~URL~?post=~LINK~&amp;title=~TITLE~&amp;source=FreshRSS',
'transform' => array('rawurlencode'),
@@ -154,4 +168,18 @@ return array(
'form' => 'advanced',
'method' => 'GET',
),
+ 'whatsapp' => array(
+ 'url' => 'https://wa.me/?text=~TITLE~ | ~LINK~',
+ 'transform' => array('rawurlencode'),
+ 'help' => 'https://faq.whatsapp.com/iphone/how-to-link-to-whatsapp-from-a-different-app/?lang=en',
+ 'form' => 'simple',
+ 'method' => 'GET',
+ ),
+ 'xing' => array(
+ 'url' => 'https://www.xing.com/spi/shares/new?url=~LINK~',
+ 'transform' => array('rawurlencode'),
+ 'help' => 'https://dev.xing.com/plugins/share_button/docs',
+ 'form' => 'simple',
+ 'method' => 'GET',
+ ),
);