twinpeaks Posted December 1, 2013 Share Posted December 1, 2013 (edited) Download links broken or expired? Yup, luckily the code is on github and I would recommend packaging the original source so you know that nothing has been tampered with by a 3rd party but as a general note all workflows created by others should be inspected before running. Anyhow, with that in mind I won't package the workflow up for you as there are a few different ways I have seen that done and don't know how alfred does the zipping. As a general rule they are simply zip archives so unzip for source and zip swapping extensions for .alfredworklow. 1) Download an archive of the repository from github and unzip, you should be left an "alfred-pinboard-master" directory: https://github.com/eknkc/alfred-pinboard/archive/master.zip 2) Open up terminal and change your working directory to your ~/Downloads folder or wherever you saved the archive and subsequent folder cd ~/Downloads Run the below zip command to stuff it all together zip -j9 --filesync pinboard.alfredworkflow alfred-pinboard-master/*.{json,js,png,plist,md} The markdown, md, file doesn't need to be included in your workflow but it does not matter and some info can't hurt. You should be good to go after that importing pinboard.alfredworkflow. The workflow file name is generic, whatever info the original poster/creator left in the workflow's details will hold. Edited December 1, 2013 by twinpeaks Link to comment
fgc Posted December 6, 2013 Share Posted December 6, 2013 I'm experiencing the same problem as digital_vibe and jamie defined. The workflow keeps asking for the token is there a fix for this? Link to comment
fgc Posted December 9, 2013 Share Posted December 9, 2013 @ digital_vibe and jamie defined I got it work, had config.json issue created file in text wrangler and moved it over. If you guys still have issues definitely use fform's instructions. His instructions are what I used. Link to comment
RYE Posted January 24, 2014 Share Posted January 24, 2014 Thanks for creating this workflow. The search works for me, but returns no more than 8 results. Any idea why? Link to comment
picturetakerman Posted March 10, 2014 Share Posted March 10, 2014 After following the steps described by ffrom, it doesn't shows any bookmark, it only shows the option to search in google, wikipedia... Link to comment
ericlauritzen Posted August 17, 2014 Share Posted August 17, 2014 How do I install this? The link to the install instructions that come with the zip file is broken. Link to comment
uxjw Posted October 4, 2014 Share Posted October 4, 2014 Thanks! Works perfectly for me first time. Only thing I had to do manually was add a $PATH variable after Node.js installed. (Create a text file in ~/.bash_profile with the content "export PATH=$PATH:/usr/local/bin") Link to comment
jianzong Posted November 7, 2014 Share Posted November 7, 2014 (edited) ok I got a solution that work for me. I followed fform’s instruction but still fail to set my auth token. then I look into search.js ( right click in alfred app's pinboard workflow and choose "show in finder") and found the following lines: async.auto({ configFile: function (next) { var filename = path.join(process.env.HOME, "/Library/Application Support/Alfred 2/Workflow Data/eknkc.pinboard/config.json"); mkdirp(path.dirname(filename), function (err) { if (err) return next(err); next(null, filename); }); }, cacheFile: function(next) { var filename = path.join(process.env.HOME, "/Library/Application Support/Alfred 2/Workflow Data/eknkc.pinboard/bookmarks.json"); mkdirp(path.dirname(filename), function (err) { if (err) return next(err); next(null, filename); }); Notice the red text above are two directory set for bookmarks.json and config.json. It seems that Alfred has changed the default directory of workflows. Mine looks like this ( yours might be different ): /Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.xxxxx-xx-4C09-9ED6-414xxxx8B59/config.json JUST CREATE A config.json ( as according to fform’s suggestion ) and replace the two directory with yours. That should work. Edited November 7, 2014 by jianzong Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now