Skip to main content

Pinboard.in support

42 replies [Last post]
hl
Offline
Joined: 07/14/2009

Wondering if you are looking into supporting http://www.pinboard.in/
BTW great job on 1.8 release.

0
Justin
Justin's picture
Offline
Joined: 05/28/2008
I just became aware of

I just became aware of Pinboard today. I have left a comment on the TechCrunch post, asked in IRC, and emailed the creator of Pinboard :-)

Justin
Justin's picture
Offline
Joined: 05/28/2008
By the way, Pinboard does not

By the way, Pinboard does not currently seem to have an API, meaning applications can't work with it. I've asked them to implement an API, ideally similar to Delicious' API.

grahams
Offline
Joined: 07/13/2009
FYI - Pinboard.in is now has

FYI - Pinboard.in is now has a preliminary API, which is apparently (at least right now) a clone of the delicious one:

"Initial version of API

I've released a trial version of our API (see Google group mailing list for details). Right now it's a partial clone of the delicious API with an endpoint at https://api.pinboard.in/v1/. Please try it out, but don't build any real apps with it until I finish debugging!"

(via http://pinboard.in/blog/)

As an aside, is there a way in Pukka to have different accounts use different API? I see the API field in the Advanced preferences panel, but it seems to me that this would apply to all accounts. It'd be nice to be able to post to different sites.

Justin
Justin's picture
Offline
Joined: 05/28/2008
Yes, I noticed this a bit ago

Yes, I noticed this a bit ago but stopped short of announcing it publicly as of yet. No big deal that you did, however :-)

Right now, Pukka's API setting is app-wide across all account. I'm currently working on the best way to allow multiples. It will likely be in 2.0.

jamster
Offline
Joined: 11/21/2009
So if you only have one

So if you only have one account and want to move to pinboard.in, does pinboard.in work with pukka now? (i.e. by changing the API url across all accounts).

Justin
Justin's picture
Offline
Joined: 05/28/2008
Every time I've gone to test

Every time I've gone to test it, I see problems. Posts don't download and posting fails with an XML problem. I will be looking at this very soon and working with Pinboard to resolve any issues so that it works perfectly.

Justin
Justin's picture
Offline
Joined: 05/28/2008
This now appears to be

This now appears to be working great. You need to be sure to specify the following as the API URL:

https://api.pinboard.in/v1

Note the lack of trailing slash. With this setting in Pukka's Preferences > Advanced, posting, fetching, and searching all seem to work great.

Comments welcome from anyone who tries this out.

kiranmaxweber
Offline
Joined: 01/13/2010
pinboard.in settings for Pukka

Thanks so much for your prompt attention to this Justin, very much appreciated! Using pinboard.in with Pukka is very easy.

1. Launch Pukka for the first time
2. Enter your Pinboard username
3. Enter your Pinboard password
4. Uncollapse the triangle next to "Advanced Options" and paste the following into the "API URL" field:

https://api.pinboard.in/v1

Here's how it should look: http://bit.ly/7OXVLL

5. Click "Get Started."

That's it, enjoy Pukka!

- Kiran

samu
Offline
Joined: 07/13/2009
Oh, YES! Bye-bye, Delicious.

Oh, YES! Bye-bye, Delicious. I'm as happy as a Frenchman who's invented a pair of self-removing trousers.

Works perfectly for me, with one quirk; the "Visit bookmarks…" menu item (or "Visit bookmarks for [username]" inside the Dock icon) still leads to the Delicious page.

Seriously, though, this … oh, yes.

samu
Offline
Joined: 07/13/2009
Another issue: posting works

Another issue: posting works perfectly, but I just noticed that the local bookmark list hadn't updated in several days. After I poked around in the preferences a bit, it did, and is now up to date, so something seems to have triggered it, but I don't think it's updating as regularly as it did with Delicious.

jmck
Offline
Joined: 06/05/2010
Visit Bookmarks.... for pinboard

I think the reason Visit Bookmarks doesn't work for pinboard accounts is because it's going to:

http://pinboard.in/username

When pinboard is using the slightly more awkward

http://pinboard.in/u:username

at least it's easy to fix? :)

Justin
Justin's picture
Offline
Joined: 05/28/2008
This is fixed for Pinboard in

This is fixed for Pinboard in the next release, due soon. I've specifically made an exception for Pinboard's URL format.

jamster
Offline
Joined: 11/21/2009
Appreciate that you have

Appreciate that you have worked around this issue, but have you been in contact with Pinboard at all? It seems to me that all it would take to support http://pinboard.in/username urls would be a simple Apache mod_rewrite at their end. Just a thought.

Justin
Justin's picture
Offline
Joined: 05/28/2008
I have now. Here are the

I have now. Here are the relevant communications:

https://twitter.com/incanus77/status/15592724191
https://twitter.com/bilesac/status/15597929607
https://twitter.com/bilesac/status/15597974542

Sounds like they intentionally avoided it.

pvg
Offline
Joined: 06/07/2010
a somewhat less terse explanation

Just a brief explanation why the pinboard urls look like they do that is hopefully more clear than the 140 character version:

Back in 2003, del.icio.us was one of the earliest popular web apps with readable urls that did not look like foo/somescript.whatnot?id=3403299234&smimgle=bar

Pinboard urls are constructed in the same spirit. At the same time, del.icio.us/username was just an unfortunate mistake - it gives up the entire toplevel namespace to user names and introduces a potential for name collision between user names and readable toplevel navigation urls like del.icio.us/popular, etc. It would be a simple matter of a rewrite rule to re-introduce that problem in pinboard but I hope it's understandable that we'd prefer not to do that.

Justin
Justin's picture
Offline
Joined: 05/28/2008
Thanks for the detail, pvg!

Thanks for the detail, pvg!

iamski
Offline
Joined: 06/13/2010
Hi, when I setup Pukka with

Hi, when I setup Pukka with Pinboard, it gives me a login error from the initial dialog saying that my authentication has failed (I give it my user/pass, and the Pinboard API with no trailing slash). After going into the prefs, I see that it has no API url listed, so I re-add the Pinboard API there and then it *seems* like it wants to work. It caches 15 of my 272 bookmarks and then doesn't grab anymore. I haven't tried posting yet, but this is all it seems to log to the console (are there other places I should be looking?):

6/13/10 3:23:26 PM Pukka[14946] cache poller failed: Error Domain=NSURLErrorDomain Code=-1012 UserInfo=0x3f0750 "(null)"

Thanks...

iamski
Offline
Joined: 06/13/2010
I guess all it needed was a

I guess all it needed was a post? Now it's got them all cached after I posted a new bookmark .. Thanks anyway :)

Justin
Justin's picture
Offline
Joined: 05/28/2008
iamski: Regarding the missing

iamski: Regarding the missing API URL, it may be that the field didn't take for some reason in the initial setup. And as for caching 15 bookmarks, Pukka tries to wait a while between full caches, only grabbing the latest 15, as a holdover from some Delicious throttling problems. Eventually it will cache all of your bookmarks, as it seems to have in your case.

Please let me know if I can help in any other way.

FlyboyArt
FlyboyArt's picture
Offline
Joined: 03/03/2010
Pinboard CMD+D location is wrong

When I try to do a CMD+D to goto the pinboard website to view my bookmakrs, Pukka doesn't form the path correctly. It gives the following:

https://pinboard.in/username

instead of the correct form of:

https://pinboard.in/u:username

is this something you will address soon??

thx, Art

Justin
Justin's picture
Offline
Joined: 05/28/2008
Hi Art. Yes, this is fixed in

Hi Art. Yes, this is fixed in development and should be out soon.

wah120
Offline
Joined: 07/14/2010
Justin, Pinboard support

Justin,

Pinboard support doesn't seem to work for me. I've followed the instructions in this forum and I do see an XML file get created in the 'Backups' directory containing all of the bookmarks from my Pinboard account, but Pukka remains hung up with the 'Caching bookmarks for the first time' progress bar (I have left it running this way for hours). I've tried deleting my Application Support/Pukka directory and re-configuring Pukka from scratch, but with the same result each time. It does work with my old Delicious account.

I don't see any information in the Console. The only additional bit of information I have is that occasionally I do see a Growl pop-up notifying me that the cache has been updated. This seems to happen because I have posted some new bookmarks to Pinboard in the meantime.

Do you have any debugging suggestions?

Thanks,

Al
Ottawa, Canada

wah120
Offline
Joined: 07/14/2010
Update on this

By trying a whole bunch of things I've managed to get Pinboard support working on my system. It seems if you add a second account inside Pukka, that fixes it. I simply have a new 'untitled' account (with no password) as well as my actual Pinboard account. This keeps Pukka from remaining in the 'caching' state when first run. If I then delete the 'untitled' account, it goes back to hanging on start-up again.

Al

Justin
Justin's picture
Offline
Joined: 05/28/2008
Hi Al. Wow, that one has me

Hi Al. Wow, that one has me baffled. I have not heard of that yet. I will take a look at things and see if I can figure out why that might happen. But I know most, if not all, folks are using single Pinboard accounts ok. Very strange.

FlyboyArt
FlyboyArt's picture
Offline
Joined: 03/03/2010
Timeframe for release?

Hi Justin, just wondering when you think the next release will be out with this issue fixed?

thx, Art

Justin
Justin's picture
Offline
Joined: 05/28/2008
Hi Art. I'll contact you

Hi Art. I'll contact you off-forum with a beta containing this.

FlyboyArt
FlyboyArt's picture
Offline
Joined: 03/03/2010
A High Degree of 'Awesomeness'

Thanks, lot's 'O coolness!

grahams
Offline
Joined: 07/13/2009
So due to the apparent

So due to the apparent imminent death of Del.icio.us, I decided to actually play around with the pinboard account I created ages ago. I have been unable to get Pukka working with it at all.

I used rooSwitch to create a completely clean installation of Pukka. I then click "Get Started" on the welcome screen. I enter my pinboard username and password in the dialog which appears, and twist the disclosure triangle and add the pinboard API url:

https://api.pinboard.in/
(I have also tried https://api.pinboard.in/. and https://api.pinboard.in/v1/)

After clicking OK, Pukka tries to cache bookmarks, but fails to login. I click "Edit Accounts", then switch to the "Advanced" tab and see that the API field is empty. I insert the URL for the API and dismiss the preferences window. The Pukka Post window is then shown, but if I try to add a bookmark, I get the "There is a problem with your post" dialog.

Any advice? This is using Pukka v1.8.5.

jamster
Offline
Joined: 11/21/2009
This post has prompted me to

This post has prompted me to move over to pinboard - thanks - hadn't seen that delicious was shutting down.

I got the same problem as you graham, but I removed the trailing slash from the API url in Preferences -> Advanced and all is well for now on a clean install with a clean pinboard account.

I still have a problem with the URL when I click Visit Bookmarks - how do I resolve this?

Perhaps it is time for Pukka to more explicitly support Pinboard, so all of these workarounds are not necessary? (Also with the news that Delicious is being shut down, Pinboard will no doubt pick up plenty more customers and sales of Pukka could benefit too).

Chris

grahams
Offline
Joined: 07/13/2009
@jamster: Awesome, thanks

@jamster:

Awesome, thanks for the tip, removing the slash from the API URL seemed to work for me too. Also, it is worth noting that I had to use the URL listed here (https://api.pinboard.in/v1), not the one listed on the pinboard "howto" page (which omits the /v1).

The Pukka caching only seems to see 15 of my 1500+ bookmarks, and 95 of my 2000+ tags, but we can figure that part out later. Pinboard's backend seems to be struggling with all the new signups and imports today, so perhaps they are throttling the API. I'll come back to this "problem" in a few days.

2ndmile
Offline
Joined: 12/17/2010
File for divorce

Justin,

With the announcement I moved my wife off of Delicious and on to pinboard. I knew she would kick against not having her firefox plug-in for delicious but Pukka filled that gap and then some.

Some unsolicited advice... divorce Pukka from Delicious as quickly as humanly possible. Icon, start-up screen asking for Yahoo ID... all of it! It took some tinkering to get Pukka to shake hands with Pinboard and I think with the recent announcement you are going to have the opportunity to sell a lot of copies.

Justin
Justin's picture
Offline
Joined: 05/28/2008
2ndmile: Thanks. We're on the

2ndmile: Thanks. We're on the same page :-)

Zulu Kane
Zulu Kane's picture
Offline
Joined: 12/16/2010
multiple APIs

more than ever, wishing i could have both Pinboard and Delicious accounts side by side in Pukka, while we transition to a prospectively post-Delicious world. Justin, i know you said this was probably a 2.0 feature. is there a beta with multiple APIs? i'd love to be a tester, and help keep Pukka relavent, despite Yahoo's floundering.

Justin
Justin's picture
Offline
Joined: 05/28/2008
There isn't a beta of this

There isn't a beta of this yet.

FlyboyArt
FlyboyArt's picture
Offline
Joined: 03/03/2010
Love the beta but...

Hi Justin,

Been working successfully with the beta version that supports PinBoard since July (v1.9b3). Any idea when this will go 'golden'? Now that the world is not so 'Delicious' anymore, it would seem that taking advantage of the work your've already put into Pukka to make is work nicely with Pinboard would pay off.

thx, Art

Justin
Justin's picture
Offline
Joined: 05/28/2008
Hi Art. It's just about set.

Hi Art. It's just about set. I've gotten no bug reports lately and I'm just wrapping things up.

JCO
JCO's picture
Offline
Joined: 12/31/2010
Delicious Pinboard

Just a note of thanks for a great product and support. Switched Pukka over to Pinboard seamlessly. As a vote of confidence in your product, I would have likely followed Pukka to whatever it supported. Cheers!

FlyboyArt
FlyboyArt's picture
Offline
Joined: 03/03/2010
CMD+D still broken in Pinboard

Hi Justin,

I was just checking in on the latest version of Pukka and saw that you released v1.8.5 recently. It works nicely now with Pinboard but... the same problem I reported last July (see above) still exists. Is it possible to include this fix in an upcoming version?

thx, Art

--------------
To summarize:
--------------
Pinboard CMD+D location is wrong

When I try to do a CMD+D to goto the pinboard website to view my bookmakrs, Pukka doesn't form the path correctly. It gives the following:

https://pinboard.in/username

instead of the correct form of:

https://pinboard.in/u:username

Justin
Justin's picture
Offline
Joined: 05/28/2008
Hi Art. Support for the

Hi Art. Support for the Pinboard-style URL is coming soon. It's been in the dev version for a while. I will send you info on how to beta test it.

scottplumlee
Offline
Joined: 07/22/2009
Pinboard URL for users

Could you send info on that to myself as well - would like to try the beta version with support for the URL.

2ndmile
Offline
Joined: 12/17/2010
Pukka not working with pinboard again

"The site had a problem with your post. Please try again."

Tried everything from above and from other posts. Completely stumped. Are you still working on updates?

JCO
JCO's picture
Offline
Joined: 12/31/2010
Same Error

I just noticed this same error. This could be related to the new authentication model that Pinboard is utilizing. I am able to sync my bookmarks, but not add news ones via Pukka.