Skip to content

Instantly share code, notes, and snippets.

@crisu83
Created October 17, 2013 16:13
Show Gist options
  • Save crisu83/7027748 to your computer and use it in GitHub Desktop.
Save crisu83/7027748 to your computer and use it in GitHub Desktop.
Coderwall provider for StartHQ
[
  {
    query: 'https://coderwall.com/p/search?scope=everything&search={{term}}',
    translate: 'parseHTML(response)',
    icon:{
      selector: '.avatars li:first-child a',
      expression: 'app.url|icons'
    },
    name:{
      selector: '.protip a.title',
      expression: 'element.textContent'
    },
    link:{
      selector: '.protip a.title',
      expression: '"https://coderwall.com" + element.getAttribute("href")'
    }
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment