{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/27830793","id":27830793,"diff_hunk":"@@ -0,0 +1,43 @@\n+package DDG::Spice::IndeedJobs;\n+# ABSTRACT: Search for jobs on Indeed.\n+# Reviews DDG_SPICE_INDEED_JOBS_PUBLISHER environment variable\n+# https://ads.indeed.com/jobroll/xmlfeed\n+\n+use DDG::Spice;\n+\n+primary_example_queries \"java jobs\";\n+secondary_example_queries \"perl jobs in san francisco\";\n+description \"Indeed jobs\";\n+name \"Indeed Jobs\";\n+code_url \"https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/IndeedJobs.pm\";\n+topics \"special_interest\";\n+category  \"reference\";\n+attribution github  => ['parker', 'Parker'],\n+            twitter => ['pseidel', 'Parker'],\n+            github  => ['tagawa', 'Daniel Davis'],\n+            twitter => ['ourmaninjapan', 'Daniel Davis'],\n+            web     => ['http://daniemon.com/', 'Daniel Davis'];\n+\n+triggers any => \"job\", \"jobs\";\n+\n+spice to => 'http://api.indeed.com/ads/apisearch?publisher={{ENV{DDG_SPICE_INDEED_APIKEY}}}&v=2&useragent=DuckDuckGo&userip=1.2.3.4&q=$1&l=$2&co=$3&format=json&callback={{callback}}';\n+spice from => '([^/]+)/(.*?)/([^/]*)';","path":"lib/DDG/Spice/IndeedJobs.pm","position":24,"original_position":24,"commit_id":"b24bb59741fc432e505efb9c25127a9af694623d","original_commit_id":"b24bb59741fc432e505efb9c25127a9af694623d","user":{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false},"body":"Sorry this doesn't actually apply here -- you're returning `' '` not `''` so it's OK","created_at":"2015-04-06T21:10:05Z","updated_at":"2015-04-06T21:10:05Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1587#discussion_r27830793","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1587","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/27830793"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1587#discussion_r27830793"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1587"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1587","id":30357091,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1587","diff_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1587.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1587.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1587","number":1587,"state":"open","locked":false,"title":"Rewrite of Indeed Jobs IA. Fixes #1584","user":{"login":"tagawa","id":94173,"avatar_url":"https://avatars.githubusercontent.com/u/94173?v=3","gravatar_id":"","url":"https://api.github.com/users/tagawa","html_url":"https://github.com/tagawa","followers_url":"https://api.github.com/users/tagawa/followers","following_url":"https://api.github.com/users/tagawa/following{/other_user}","gists_url":"https://api.github.com/users/tagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/tagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagawa/subscriptions","organizations_url":"https://api.github.com/users/tagawa/orgs","repos_url":"https://api.github.com/users/tagawa/repos","events_url":"https://api.github.com/users/tagawa/events{/privacy}","received_events_url":"https://api.github.com/users/tagawa/received_events","type":"User","site_admin":false},"body":"**What does your Instant Answer do?**\r\nGets 10 jobs posts from indeed.com\r\n\r\n**What problem does your Instant Answer solve (Why is it better than organic links)?**\r\nShows location, company and how recent the job posting is.\r\n\r\n**What is the data source for your Instant Answer? (Provide a link if possible)**\r\nhttps://ads.indeed.com/jobroll/xmlfeed\r\n\r\n**Why did you choose this data source?**\r\nSuggested by @moollaza: https://duck.co/ideas/idea/604/jobs-listings-from-indeed-com\r\n\r\n**Are there any other alternative (better) data sources?**\r\nGitHub jobs and other job sites, but I believe indeed.com aggregates a lot of these.\r\n\r\n**What are some example queries that trigger this Instant Answer?**\r\n\"web developer jobs\"\r\n\"jobs in boston\"\r\n\"tax accountant job in san francisco\"\r\n\r\n**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**\r\nAdults looking for a job\r\n\r\n**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**\r\nYes: https://duck.co/ideas/idea/604/jobs-listings-from-indeed-com\r\nand fixes #1584 \r\n\r\n**Which existing Instant Answers will this one supersede/overlap with?**\r\nProbably supersedes github_jobs\r\n\r\n**Are you having any problems? Do you need our help with anything?**\r\n1. An Indeed Jobs publisher ID is required (DDG_SPICE_INDEED_JOBS_PUBLISHER). Does DDG have one?\r\n2. In Firefox I'm unable to click the tiles to go to indeed.com. Is it just me? Is this a DDG template problem? I've not got any custom code so this is really confusing me.\r\n\r\n**What are the terms of use for the API? Will DuckDuckGo need specific authorization (e.g. an API key)? Are there any costs associated with API usage?**\r\nThe API is free but an API key (publisher ID) is required, as well as attribution.\r\n\r\n**Where did you hear about DuckDuckHack? (For first time contributors)**\r\nContributed IAs a couple of years ago.\r\n\r\n**What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)**\r\n![ddg_spice_indeed_jobs](https://cloud.githubusercontent.com/assets/94173/6458964/13b77c7a-c1cd-11e4-99dd-a5a5f25dac84.png)\r\n\r\n## Checklist\r\nPlease place an 'X' where appropriate.\r\n\r\n```\r\n[X] Added metadata and attribution information\r\n[X] Wrote test file and added to t/ directory\r\n[X] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)\r\n[X] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)\r\n[X] Tested cross-browser compatibility\r\n\r\n    Please let us know which browsers/devices you've tested on:\r\n    - Ubuntu 14\r\n        [X] Chromium\r\n        [X] Firefox *\r\n        [X] Opera\r\n        [X] Midori (WebKit)\r\n\r\n    - Android\r\n        [X] Firefox *\r\n        [X] Native Browser\r\n        [] Google Chrome\r\n        [X] Opera\r\n* Note: On Firefox the display is OK but unable to click the tiles. See comment above.\r\n```\r\n\r\n------\r\n> IA Page: https://duck.co/ia/view/indeed_jobs","created_at":"2015-03-03T09:16:38Z","updated_at":"2015-04-06T21:10:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df91edd9e681e57b07ce8a8e0473a9e141668a03","assignee":{"login":"abeyang","id":794084,"avatar_url":"https://avatars.githubusercontent.com/u/794084?v=3","gravatar_id":"","url":"https://api.github.com/users/abeyang","html_url":"https://github.com/abeyang","followers_url":"https://api.github.com/users/abeyang/followers","following_url":"https://api.github.com/users/abeyang/following{/other_user}","gists_url":"https://api.github.com/users/abeyang/gists{/gist_id}","starred_url":"https://api.github.com/users/abeyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeyang/subscriptions","organizations_url":"https://api.github.com/users/abeyang/orgs","repos_url":"https://api.github.com/users/abeyang/repos","events_url":"https://api.github.com/users/abeyang/events{/privacy}","received_events_url":"https://api.github.com/users/abeyang/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1587/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1587/comments","review_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1587/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/b24bb59741fc432e505efb9c25127a9af694623d","head":{"label":"tagawa:indeed","ref":"indeed","sha":"b24bb59741fc432e505efb9c25127a9af694623d","user":{"login":"tagawa","id":94173,"avatar_url":"https://avatars.githubusercontent.com/u/94173?v=3","gravatar_id":"","url":"https://api.github.com/users/tagawa","html_url":"https://github.com/tagawa","followers_url":"https://api.github.com/users/tagawa/followers","following_url":"https://api.github.com/users/tagawa/following{/other_user}","gists_url":"https://api.github.com/users/tagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/tagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagawa/subscriptions","organizations_url":"https://api.github.com/users/tagawa/orgs","repos_url":"https://api.github.com/users/tagawa/repos","events_url":"https://api.github.com/users/tagawa/events{/privacy}","received_events_url":"https://api.github.com/users/tagawa/received_events","type":"User","site_admin":false},"repo":{"id":7730937,"name":"zeroclickinfo-spice","full_name":"tagawa/zeroclickinfo-spice","owner":{"login":"tagawa","id":94173,"avatar_url":"https://avatars.githubusercontent.com/u/94173?v=3","gravatar_id":"","url":"https://api.github.com/users/tagawa","html_url":"https://github.com/tagawa","followers_url":"https://api.github.com/users/tagawa/followers","following_url":"https://api.github.com/users/tagawa/following{/other_user}","gists_url":"https://api.github.com/users/tagawa/gists{/gist_id}","starred_url":"https://api.github.com/users/tagawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagawa/subscriptions","organizations_url":"https://api.github.com/users/tagawa/orgs","repos_url":"https://api.github.com/users/tagawa/repos","events_url":"https://api.github.com/users/tagawa/events{/privacy}","received_events_url":"https://api.github.com/users/tagawa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tagawa/zeroclickinfo-spice","description":"DuckDuckGo instant answer plugins based on JavaScript APIs","fork":true,"url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/tagawa/zeroclickinfo-spice/releases{/id}","created_at":"2013-01-21T11:14:24Z","updated_at":"2015-04-03T01:45:11Z","pushed_at":"2015-04-04T01:43:20Z","git_url":"git://github.com/tagawa/zeroclickinfo-spice.git","ssh_url":"git@github.com:tagawa/zeroclickinfo-spice.git","clone_url":"https://github.com/tagawa/zeroclickinfo-spice.git","svn_url":"https://github.com/tagawa/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":14400,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"duckduckgo:master","ref":"master","sha":"4b4bcd5e4cc176012df627898d2a574b4879132c","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"repo":{"id":1997671,"name":"zeroclickinfo-spice","full_name":"duckduckgo/zeroclickinfo-spice","owner":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice","description":"DuckDuckGo instant answer plugins based on JavaScript APIs","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/releases{/id}","created_at":"2011-07-04T22:08:37Z","updated_at":"2015-04-06T11:40:28Z","pushed_at":"2015-04-06T16:14:39Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-spice.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-spice.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-spice.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":35026,"stargazers_count":221,"watchers_count":221,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":495,"mirror_url":null,"open_issues_count":137,"forks":495,"open_issues":137,"watchers":221,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1587"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1587"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1587"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1587/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1587/comments"},"review_comment":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1587/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/b24bb59741fc432e505efb9c25127a9af694623d"}}}}