-
Content Count
7 -
Joined
-
Last visited
About wesbaker
-
Rank
Newbie
- Birthday December 22
Contact Methods
-
Twitter
wesbaker
-
Website URL
http://wesbaker.com/
Profile Information
-
Location
Fredericksburg, VA
-
wesbaker changed their profile photo
-
I'll pitch in my +1 here, not sure if it means much. With all of the changes with Chrome, I'd like to start using Firefox more and launching bookmarks through Alfred is a huge help for that.
-
waitingforgo reacted to a post in a topic: Opening a URL generated by a Script Filter
-
Opening a URL generated by a Script Filter
wesbaker replied to wesbaker's topic in Workflow Help & Questions
No worries, I was having similar problems. Kickstarter didn't actually change anything, I think the problem was related to Alfred's PHP framework, something changed. It's all fixed now since I'm just using native PHP. The downloads above have been updated. -
Opening a URL generated by a Script Filter
wesbaker replied to wesbaker's topic in Workflow Help & Questions
Yeah, a few things changed in Kickstarter's data source, so I had to make some updates. Here's the current download. -
[Fixed Again] Kindle Bookstore Search
wesbaker replied to phyllisstein's topic in Share your Workflows
I saw something of a response and then it returned with no results, the second time I tried (results in the feedback.log) nothing showed up and it went to the fallback search engines. Also, there was an error in the console.log. I'll try my hand at debugging it a bit further tomorrow to see if I can find the problem as well. <items> <item arg="http://www.amazon.com/The-Last-Threshold-Neverwinter-ebook/dp/B00A1M5EH6%3FSubscriptionId%3DAKIAIJ2QMIHPYL6UNHTA%26tag%3Ddanishan-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00A1M5EH6" uid="B00A1M5EH6"> -
[Fixed Again] Kindle Bookstore Search
wesbaker replied to phyllisstein's topic in Share your Workflows
I'm getting nothing at all from the US Kindle search. It just moves on to the fallbacks. I didn't see anything of note in the Console and I'm using the latest version available at the top of this post. I'm using Python 2.7.2 if that makes a difference. Any ideas why it's failing? -
Opening a URL generated by a Script Filter
wesbaker replied to wesbaker's topic in Workflow Help & Questions
Ahh, never mind me. I figured it out. The second parameter in $wf->result() is the parameter that gets passed on. Here's the updated code: require_once('workflows.php'); $wf = new Workflows(); $orig = "{query}"; $json = $wf->request("http://www.kickstarter.com/projects/search.json?search=&term=".urlencode($orig)); $json = json_decode($json); foreach($json->projects as $project) { $url = (preg_match('/<a href="(.*?)\?ref=live/i', $project->card_html, $matches)) ? 'http://kickstarter.com'.html_entity_decode($matches[1]) : ''; $funded = (preg_match('/class=".*?funded". -
Hey there, I'm trying to build a Kickstarter workflow that uses their suggestion engine and then directs you to the project's URL. I'm using David Ferguson's PHP Workflow library and basing it heavily off of Google Suggest. I'm retrieving the results just fine and I have the URL, but how do I then pass that URL to the Open URL Output item? require_once('workflows.php'); $wf = new Workflows(); $orig = "{query}"; $json = $wf->request("http://www.kickstarter.com/projects/search.json?search=&term=".urlencode($orig)); $json = json_decode($json); foreach($json->projects as $project) {