django-bosssearchSearch with Yahoo BOSS! | |
Download |
django-bosssearch Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Jaap Roes
- Publisher web site:
- https://bitbucket.org/jaap3/
django-bosssearch Tags
django-bosssearch Description
django-bosssearch is a Django app to search the web or a specific domain in your Django project using the Yahoo BOSS API.InstallationFirst, add djangobosssearch to INSTALLED_APPSUsing the BOSS API requires a key and a secret. Get them from http://developer.yahoo.com/search/boss/ and add them to your projects settings:BOSS_API_KEY = ''BOSS_API_SECRET = ''Then include the views in your projects urlconf:urlpatterns = patterns('', url(r'^search/$', include('djangobosssearch.bosssearch_urls')),)If you want the search to be limited to a certain domain add the following to the settings:BOSS_SITE_SEARCH_DOMAIN = 'example.com'TemplatesThe templates provided are just an example. Pagination on the results page (bosssearch/results.html) is done using django-pagination.ConfigurationBesides the previously mentioned configuration keys, the following options are also useful if you use the provided urlpatterns and view.BOSS_SEARCH_MARKET The region (country) to search in (default: 'en-us').BOSS_RESULTS_PER_PAGE The number of results per page (default: 50).Product's homepage
django-bosssearch Related Software