diff options
| author | 2018-12-11 18:20:04 -0500 | |
|---|---|---|
| committer | 2018-12-12 00:20:04 +0100 | |
| commit | a1071e7dd9b9efe3b1f61a3f6bb9f936ad6d7c6a (patch) | |
| tree | 9c8d866b35e92bac466a9930304c8973ce45ecd0 /app/shares.php | |
| parent | 195c0b6867848f1bea0ec2eb861b7dad5bc1db60 (diff) | |
Add option to share to Pinboard. (#2178)
* Prelim. Add Pinboard
based on the url found in the "For iPad" section here: https://pinboard.in/howto/
* add i18n string for Pinboard
* Add help to pinboard
* add title to Pinboard Share
Title seems to be an element, but isn't documented in the API. Perhaps it's an alternative to description? It probably won't hurt to include it.
* Feedback from @samplereality
* Minor Whitespace
Diffstat (limited to 'app/shares.php')
| -rw-r--r-- | app/shares.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/shares.php b/app/shares.php index 6d234b374..4f7fde3ed 100644 --- a/app/shares.php +++ b/app/shares.php @@ -137,4 +137,11 @@ return array( 'form' => 'simple', 'method' => 'GET', ), + 'pinboard' => array( + 'url' => 'https://pinboard.in/add?next=same&url=~LINK~&title=~TITLE~', + 'transform' => array('urlencode'), + 'help' => 'https://pinboard.in/api/', + 'form' => 'simple', + 'method' => 'GET', + ), ); |
