Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

django-bosssearch

Search the web or a specific domain in your Django project using the Yahoo BOSS API.

Installation

First, add djangobosssearch to INSTALLED_APPS

Using 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'

Templates

The templates provided are just an example. Pagination on the results page (bosssearch/results.html) is done using django-pagination.

Configuration

Besides 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).

Changes

1.1 (2012-07-02)

  • Fixed UnicodeEncodeError caused by oauth request to_url

1.0 (2012-05-11)

  • Initial release

Release files for django-bosssearch 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-bosssearch 1.1
File Size Uploaded
django-bosssearch-1.1.zip 25.5 kB Details

Release files / django-bosssearch-1.1.zip

Download URL django-bosssearch-1.1.zip
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
451079ee74d4f6751fdb1a2bba6fd6f3395e696b28aa3a93d313fe9f8b4e571f
BLAKE2b-256 checksum
How to use checksums
1a307889b2f1e455c98ac1d88ef49ac5a1d3dd075ec5d3c088374fd4a99a34ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page