Widgets

Add Source Code Search to Your Site

You can easily add source code search to your site. Choose the format that works best for your site, then copy the provided HTML into your web pages.

Standard

The most complete option - this search allows users to specify language and license filters. Best option for horizontal layouts.
  Width: 265
  Height: 60

Preview HTML Source

Vertical - Extended

Vertical layout including the language filter. Can be used in both horizontal and vertical layouts.
  Width: 120
  Height: 60

Preview HTML Source

Vertical - Basic

The simplest search option can be used in both horizontal and vertical layouts.
  Width: 120
  Height: 42

Preview HTML Source

Project searches

You can scope a search to a project by using the "koders_search_scope" parameter. Any of the above search boxes can be scoped. Below is an example of a search box scoped to a Asterisk. Try it out!

Preview HTML Source
Here's how to get the project key:

  1. Go to the project page you want to scope. For example, go to http://www.koders.com/info.aspx?c=ProjectInfo&pid=ERQLH97ERMZ8KH1PGLFXNDW2DH
  2. Take out the value for the "pid" parameter. In the above url, the pid value is "ERQLH97ERMZ8KH1PGLFXNDW2DH".
  3. Insert the key into the "koders_search_scope" parameter of the search box.



About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us