You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide the startpage search engine for the websurfx search engine. To start working on this issue, you will need to create a new file with the name of the desired engine in the folder src/engines/ which is located under the codebase (websurfx directory). Then in the file, just create a new struct with the name of the engine and then create two impl blocks for the struct. One for implementing the SearchEngine trait on it and the other for implementing the parsers to be used for aggregating results.
After that, just put the name of the desired engine in the match statement located here, make sure that the name of engine is in lowercase.
After that, just move to the config file which is located at websurfx/ directory under the code base and then just edit the config file by including the name of the search engine here.
Note
The engine name to be included in the config file is not case sensitive but we would still recommend naming it with the camelcase naming convention.
After doing all the fore-mentioned steps, then we would suggest doing a thorough test to make sure everything works as intended and then submitting a PR.
The text was updated successfully, but these errors were encountered:
Provide the
startpage
search engine for thewebsurfx
search engine. To start working on this issue, you will need to create a new file with the name of the desired engine in the foldersrc/engines/
which is located under the codebase (websurfx
directory). Then in the file, just create a new struct with the name of the engine and then create twoimpl
blocks for the struct. One for implementing theSearchEngine
trait on it and the other for implementing theparsers
to be used for aggregating results.After that, just put the name of the desired engine in the match statement located here, make sure that the name of engine is in lowercase.
After that, just move to the config file which is located at
websurfx/
directory under the code base and then just edit the config file by including the name of the search engine here.After doing all the fore-mentioned steps, then we would suggest doing a thorough test to make sure everything works as intended and then submitting a PR.
The text was updated successfully, but these errors were encountered: