Downloads
Download tar.gz
16.2 KB
MD5: d82cbc918a7baea7b8ca68d484e9a412
SHA-1: 34a21a31c95374db9afe3de832d41632edeb41dc
SHA-256: 3686696f1d88845d1b48b85fbaffeee0fa68b7d752ea4fe7efaf7605af7ae364
Download zip
20.32 KB
MD5: 03aa2276961340b194d4d794555b339e
SHA-1: 594a6c2153f035ba4d4b07a7061e6a316f4340c0
SHA-256: 846c844182cbecde6eeee2a2cba527dcf2bc8d49e4ac5232098979f63cdfbff1
Release notes
Changes since DRUPAL-6--1-1:
- #605378 by petercasier: Opensearch feed does not validate.
- By kiamlaluno: Corrected the default value for the Drupal variable site_name to Drupal.
- By kiamlaluno: Changed the information given in opensearch.info.
- By kiamlaluno: Rearranged the code, and added some documentation comments.
- #667612 by Dave Reid: Fixed initial code clean-up.
- By kiamlaluno: Fixed a typo.
- #667608 by Dave Reid: Split code into opensearch.admin.inc and opensearch.pages.inc.
- #667610 by Dave Reid: Use hook_form_FORM_ID_alter instead of hook_form_alter().
- by Dave Reid: Fixed error with $_GET in opensearch_form_search_form_alter().
- by Dave Reid: Simplified access control in opensearch_init() and opensearch_view().
- #667672 by Dave Reid: Split the description and search feeds into separate menu items and callbacks.
- follow-up by Dave Reid: Fixed missing variable change.
- by Dave Reid: Moved search and search result page code to their own functions for re-use and improved documentation.
- #667718 by Dave Reid: Use drupal_add_link instead of ugly XML icon on search result pages
- by Dave Reid: Added opensearch_add_opensearch_link() and fixed adding the results RSS feed.
- follow-up by Dave Reid: Moved self-updating Url tag to the description feeds instead of normal page output.
- by Dave Reid: Fixed opensearch_is_search_page() to check if hook_search('name') returns a non-empty value.
- By kiamlaluno: Re-arranged the code, and added the implementation of the token hooks.
- By kiamlaluno: Removed the function opensearch_get_description_defaults(); corrected the code that was passing to t() a string first passed to check_plain().
- 669664: by kiamlaluno: First argument of t() is not a literal string; #667632 by Dave Reid, kiamlaluno: Use token for variable replacement instead of @placeholders.
- By kiamlaluno: Fixed the implementations of hook_token_list(), and hook_token_values(); fixed the calls to token_replace().
- By kiamlaluno: Changed the module description in the .info file, and added a description for the settings page.
- By kiamlaluno: Moved the settings page under /admin/settings/search/opensearch.
- By kiamlaluno: Corrected the code to use the setting opensearch_longname for the title of the links added from the module.
- By kiamlaluno: Made some functions private.
- #698718 by kiamlaluno: Save the settings in a database table; by kiamlaluno: Follow-up to the previous commits.
- By kiamlaluno: Added a function to save the module settings, renamed the function to load the module settings.
- By kiamlaluno: Added the support for a raw value token.
- By kiamlaluno: Changed the way the content of the OpenSearch descriptor is filtered; changed the calls to urlencode() with calls to drupal_urlencode().
- By kiamlaluno: Changed the menu callbacks definition to use a placeholder.
- #668708 by kiamlaluno: Provide settings for each search page.
#667606 by kiamlaluno: Revamp the settings page. - #669648 by kiamlaluno: Code doesn't respect the maximum size for the Opensearch description tags content.
- #701878 by kiamlaluno: Change opensearch_description() to use a theme function.
- By kiamlaluno: Added an option for the image to use in the description file.
- by Dave Reid: Fixed PHP notices on settings page.
- by Dave Reid: Fixed coder warnings and minor cleanups.
- By kiamlaluno: Added the settings for the RSS feed description, and title.
- By kiamlaluno: Changed the code to filter out duplicated tags.
- By kiamlaluno: Removed the code to implement a feature; added the code to remove the Drupal variables used by the module.
- #707154 by kiamlaluno: Move the hooks to generate tokens in opensearch_token.module.
- By kiamlaluno: Corrected the wrong reference to the module opensearch_token.module.
- By kiamlaluno: Changed the code in _opensearch_is_search_result_page() to verify the result of hook_search() to decide if the page is a search result page (as proposed by Dave Reid).
- By kiam: Replaced the calls to token_replace() with token_replace_multiple().