Closed (outdated)
Project:
External Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2008 at 17:07 UTC
Updated:
6 Jan 2018 at 09:20 UTC
Jump to comment: Most recent
Comments
Comment #1
xanoI will definitely look into this! Great suggestion :D
Comment #2
xanoI have just added technical support for extra tokens. Several predefined engines have been given such tokens. While this is purely technical, users will this feature as an extra select list displayed in search forms if the engine in question uses an extra token in the URL. This way users may, depending on the engine, decide to search in a certain language only or to search through a subset of a website's content.
In the near future site administrators will be able to decide which of those options are indeed available to users and they will be able to add tokens to custom search engines.
Comment #3
xanoSince the previous commit some predefined engines come with so called fields users can use to add extra parameters to search queries; the language they would like to search in, for instance. Site administrators now are able to configure which field values are accessible to users on a per field basis.
Comment #4
xanoSite administrators may now also define a default value for all fields.
Comment #5
endupok commentedHi Xano.
I was really excited to see that you had worked on this, but I can't get a custom engine to display an extra select list when I add an additional token to its URL.
For example, when I add a custom engine with the URL http://library.med.nyu.edu/library/eresources/php/search.php?type=[index... I get a "Please enter a valid URL" error.
Am I doing something wrong?
Thanks for your time.
Comment #6
xanoYes, you didn't read this issue properly enough ;-)
Comment #7
endupok commentedI've read it very carefully. So, you can not add a "Type" drop down menu to any Custom Engine. Is that correct?
Comment #8
xanoNot yet. As I said the code for applying and rendering fields for engines is there, but there is no interface yet to actually add new fields to engines. Since predefined engines have predefined fields, they can function without that interface.
Comment #9
endupok commentedI understand now. Thank you.
Comment #10
xanoComment #11
gaurav.kapoor commented