Weaselboy Posted March 27, 2014 Share Posted March 27, 2014 I wasn't asking anything but I was trying to explain what happens when you press cmd-c I can see that now. Thanks for the support. Do you have a donations page you can point me to or PM a Paypal address. Link to comment
idea4IT Posted March 27, 2014 Author Share Posted March 27, 2014 Hey Weaselboy, I've added a copy-to-clipboard action to the workflow, simply use the 'fn' action modifier! And thanks for the offer, but I currently don't take any donations I'm glad you like this workflow, feel free to spread the word and share it with your friends! Weaselboy 1 Link to comment
Weaselboy Posted March 28, 2014 Share Posted March 28, 2014 Thanks for the update. fn to copy works perfectly. idea4IT 1 Link to comment
Shirasaya Posted March 30, 2014 Share Posted March 30, 2014 Unfortunately i still have trouble with the correct sorting of the list. It shows me still entries from 2012 and those don't seem to be correctly sorted either. Link to comment
idea4IT Posted August 12, 2014 Author Share Posted August 12, 2014 Is anyone still having sorting issues? I can't reproduce the problem Shirasaya mentioned. Link to comment
idea4IT Posted August 25, 2014 Author Share Posted August 25, 2014 The sorting problem should be fixed now. Can someone confirm this? Link to comment
Weaselboy Posted August 25, 2014 Share Posted August 25, 2014 The sorting problem should be fixed now. Can someone confirm this? I'm not sure what the sorting problem was. If you explain, I would be glad to check for you. I just updated to the new version and now see these numbers next to each entry that were not there with the previous version? Link to comment
idea4IT Posted August 25, 2014 Author Share Posted August 25, 2014 (edited) I'm not sure what the sorting problem was. If you explain, I would be glad to check for you. I just updated to the new version and now see these numbers next to each entry that were not there with the previous version? That's a "feature" it's the easiest way to show how many items are in your list. Pocket's API does some weird things. Instead of providing an ordered list, they provide an JS object that has to be sorted manually in Python. As I found out, the keys had different lengths which caused the sorting issues. Just check if your sorting matches the one you can see on Pocket's website: http://getpocket.com/ Thanks! Edited August 25, 2014 by fniephaus Link to comment
Weaselboy Posted August 25, 2014 Share Posted August 25, 2014 Just check if your sorting matches the one you can see on Pocket's website: http://getpocket.com/ Thanks! I have the web site set to sort by newest first, and just bringing up the workflow with no search entered sorts by those numbers, but that does not at all match the web site (either newest or oldest). For example that #107 entry is about halfway down the web page when sorted by newest. Link to comment
idea4IT Posted August 25, 2014 Author Share Posted August 25, 2014 (edited) I have the web site set to sort by newest first, and just bringing up the workflow with no search entered sorts by those numbers, but that does not at all match the web site (either newest or oldest). For example that #107 entry is about halfway down the web page when sorted by newest. Unfortunately, Pocket's API documentation hasn't been touched since November 7, 2012. But I've changed the sorting once more. You should be able to update the workflow by typing in the following command: pocket workflow:update Edited August 25, 2014 by fniephaus Link to comment
Weaselboy Posted August 25, 2014 Share Posted August 25, 2014 Unfortunately, Pocket's API documentation hasn't been touched since November 7, 2012. But I've changed the sorting once more. You should be able to update the workflow by typing in the following command: pocket workflow:update That did it. Now matches the web site sort perfectly. Thanks for the update. Link to comment
Weaselboy Posted August 28, 2014 Share Posted August 28, 2014 Nice update today. Much better with the # in the subtext! Thanks Link to comment
idea4IT Posted August 28, 2014 Author Share Posted August 28, 2014 Nice update today. Much better with the # in the subtext! Thanks Thanks! Glad the update mechanism works as well! If you have more ideas how to improve it, let me know! Weaselboy 1 Link to comment
politicus Posted September 2, 2014 Share Posted September 2, 2014 fniephaus Looks like a terrefic workflow. Unfortunately I have some problem making it work. 1°) When I type ctrl+l in Google Chrome nothing is happening. The url in the url bar is not copied to the clipboard. 2°) After using the workflow a few times in Alfred'Bar, I get the message "A new version is available" (the version I use in the one from Packal.org). If I update I get a new workflow and the same problems described earlier reappear. Plus I get this error message : [ERROR: alfred.workflow.input.scriptfilter] Code 0: 14:37:30 workflow.py:2036 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 14:37:30 workflow.py:2036 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 14:37:30 workflow.py:1527 DEBUG Loading cached data from : /Users/politicus/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.pocket/pocket_list.cpickle 14:37:30 background.py:215 DEBUG Calling [u'/usr/bin/python', '/Users/politicus/Documents/Dropbox/Backups_Applications/Backups_Alfred/Alfred_Backups/Alfred.alfredpreferences/workflows/user.workflow.7F01F33A-88AF-4EC3-9457-8DA043903F05/workflow/background.pyc', 'pocket_refresh'] ... 14:37:31 background.py:220 DEBUG Executing task `pocket_refresh` in background... [ERROR: alfred.workflow.input.scriptfilter] Code 0: 14:37:33 workflow.py:2036 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 14:37:33 workflow.py:2036 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 14:37:33 workflow.py:1527 DEBUG Loading cached data from : /Users/politicus/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.pocket/pocket_list.cpickle Besides that, everything is working pretty well Link to comment
idea4IT Posted September 3, 2014 Author Share Posted September 3, 2014 fniephaus Looks like a terrefic workflow. Unfortunately I have some problem making it work. 1°) When I type ctrl+l in Google Chrome nothing is happening. The url in the url bar is not copied to the clipboard. 2°) After using the workflow a few times in Alfred'Bar, I get the message "A new version is available" (the version I use in the one from Packal.org). If I update I get a new workflow and the same problems described earlier reappear. Plus I get this error message : [ERROR: alfred.workflow.input.scriptfilter] Code 0: 14:37:30 workflow.py:2036 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 14:37:30 workflow.py:2036 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 14:37:30 workflow.py:1527 DEBUG Loading cached data from : /Users/politicus/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.pocket/pocket_list.cpickle 14:37:30 background.py:215 DEBUG Calling [u'/usr/bin/python', '/Users/politicus/Documents/Dropbox/Backups_Applications/Backups_Alfred/Alfred_Backups/Alfred.alfredpreferences/workflows/user.workflow.7F01F33A-88AF-4EC3-9457-8DA043903F05/workflow/background.pyc', 'pocket_refresh'] ... 14:37:31 background.py:220 DEBUG Executing task `pocket_refresh` in background... [ERROR: alfred.workflow.input.scriptfilter] Code 0: 14:37:33 workflow.py:2036 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 14:37:33 workflow.py:2036 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 14:37:33 workflow.py:1527 DEBUG Loading cached data from : /Users/politicus/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.pocket/pocket_list.cpickle Besides that, everything is working pretty well Thanks for your feedback. 1) Can you open any website on Chrome and then execute the following in your terminal osascript -e 'tell application "Google Chrome" to return URL of active tab of front window' It's exactly the same piece of code that the workflow uses to determine the URL of the current website you're visiting. 2) Sorry about that, the updater should soon provide you with an update that fixes the issue. 3) The error message is not really an error. It shows the debug output of the background process fetching your latest links! I found a bug with very large (+5000) link lists and I'll soon push an update to resolve this! Link to comment
politicus Posted September 4, 2014 Share Posted September 4, 2014 1°) OK. I now understand why it didn't work. I set a keyboard shortcut that launched the "pocket" command. 2°) Can't wait! 3°) As there is the word ERROR in the log, I thought it could help Thank you. Link to comment
michaelwoodruff Posted September 4, 2014 Share Posted September 4, 2014 (edited) Feature Request: Search by Tags Hello. Not sure there is an API for this, but is it possible to add the ability to search by tags (multiple with comma if possible)? I use tags quite a bit with Pocket, and would like to leverage this work. Searching now requires me to remember the title of the bookmark, which obviously requires a great bookmark title in order to find later, not to mention a good memory. Thanks for all the great work. P.S. I did post this on the GitHub repo as well. Edited September 4, 2014 by michaelwoodruff Link to comment
idea4IT Posted September 8, 2014 Author Share Posted September 8, 2014 (edited) I currently don't have much time to work on the workflow, but I will add label support as soon as I can. Stay tuned! PS.: the updater issues should be resolved in version 2.7! Edited September 8, 2014 by fniephaus Link to comment
idea4IT Posted October 20, 2014 Author Share Posted October 20, 2014 Hi folks, so I just released v3.0-beta.1 with label support and it can now handle lists with more than 5000 links: https://github.com/fniephaus/alfred-pocket/releases/tag/v3.0-beta.1 Since the workflow now uses delta syncing, it'd be great if you guys could give me some feedback! michaelwoodruff 1 Link to comment
Weaselboy Posted October 21, 2014 Share Posted October 21, 2014 Hi folks, so I just released v3.0-beta.1 with label support and it can now handle lists with more than 5000 links: https://github.com/fniephaus/alfred-pocket/releases/tag/v3.0-beta.1 Since the workflow now uses delta syncing, it'd be great if you guys could give me some feedback! Just installed and it seems to be working well so far. How does the label support work? Link to comment
michaelwoodruff Posted October 21, 2014 Share Posted October 21, 2014 Hi folks, so I just released v3.0-beta.1 with label support and it can now handle lists with more than 5000 links: https://github.com/fniephaus/alfred-pocket/releases/tag/v3.0-beta.1 Since the workflow now uses delta syncing, it'd be great if you guys could give me some feedback! Great to see you added tag support!! I tried installing, but I can’t seem to get tags to filter. From your notes on GitHub you mentioned using “#" to indicate a tag. This seems to do nothing for me. Could be user error? Is the Mac Pocket required? There was an upgrade today to the Mac app, and I am not sure if that broke something. Link to comment
Weaselboy Posted October 21, 2014 Share Posted October 21, 2014 Great to see you added tag support!! I tried installing, but I can’t seem to get tags to filter. From your notes on GitHub you mentioned using “#" to indicate a tag. This seems to do nothing for me. Could be user error? Is the Mac Pocket required? There was an upgrade today to the Mac app, and I am not sure if that broke something. It seems to work for me by just typing in the tag. That shows only bookmarks with that tag. Link to comment
deanishe Posted October 21, 2014 Share Posted October 21, 2014 BTW, anyone who hasn't see the bookmark in the demo gif "The Beach Boys Shred I Get Around" really needs to see it pablojimeno and idea4IT 2 Link to comment
idea4IT Posted October 22, 2014 Author Share Posted October 22, 2014 Labels if set are listed after the date in the subtitle. Searches like pocket #youtag should work just fine. There also seems to be an issue with fetching the latest links if the cache is invalid. I still need to figure out what's going wrong there... Link to comment
Shirasaya Posted October 30, 2014 Share Posted October 30, 2014 The sorting problem should be fixed now. Can someone confirm this? Sorry for the late follow up. The sorting issues seems to be fixed now. Thank you very much! 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