question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Save to Pocket - is it possible?

See original GitHub issue

Pocket is read it later service and they allow to put their buttons on web sites. This is code for inserting button:

<a data-pocket-label="pocket" data-pocket-count="horizontal" class="pocket-btn" data-lang="en"></a>
<script type="text/javascript">!function(d,i){if(!d.getElementById(i)){var j=d.createElement("script");j.id=i;j.src="https://widgets.getpocket.com/v1/j/btn.js?v=1";var w=d.getElementById(i);d.body.appendChild(j);}}(document,"pocket-btn-js");</script>

In order to support multiple buttons on a page, you place the button code anywhere you would like a Pocket button to appear. Then, for each button, you will need to simply add a data-save-url attribute to the in your button code. The value of this attribute should be the url of the corresponding link that you are placing the button next to.

<a href="https://getpocket.com/save" class="pocket-btn" data-lang="en"
  data-save-url="http://yourDomain.com/the/page/to/save.html"
  data-pocket-count="vertical" 
  data-pocket-align="left"
  >Pocket</a>
<script type="text/javascript">...

Is it possible to include Save to Pocket in jssocials and also in Joomla plugin by @Ruud68 ? Pocket Button Documentation

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Ruud68commented, Aug 30, 2016

Cool, will do a PR here for pocket tomorrow, will ‘ping’ you on my forum with new Joomla plugin for testing

1reaction
Ruud68commented, Aug 30, 2016

Hi @nidzo80 when implemented in the script, I will implement it in the Joomla plugin 😃

Could you try this sharing url? https://getpocket.com/save?url=%post_full_url%&title=%post_title%

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the Save to Pocket Extension for Google Chrome
You can save to Pocket in a few different ways: ... When you're viewing a page that you'd like to save to Pocket,...
Read more >
Save to Pocket
The easiest, fastest way to capture articles, videos, and more. Pocket's Chrome extension is the easiest, fastest way to capture articles, ...
Read more >
How to Use Pocket - Zapier
Click the button to save an article to Pocket. It's that simple. You'll see a pop-up notifying you the article is saved, and...
Read more >
The Pros and Cons of Pocket: Save for Later vs. Bookmarks
Pocket gives you an interface not only to keep track of the links you're saving but also for a clean reading experience. When...
Read more >
What Is Pocket and How Do I Use It on My Devices?
Formerly known as Read It Later, Pocket is an app and web service that makes it possible to save, manage, and read articles...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found