Documentation
This is a simple extension to search a word in Search Engine.
Details
Name: Google Search
Version: 1.1
Package Name: com.appybuilder.rutheniumalpha.SearchEngine.aix
Date Build: 2021-02-03T11:36:00Z
Last Updated: 2021-02-04T05:33:00Z
@SimpleEvent(description = "When the URL is recived.")
public void GotSearch(String url, String searchWord) {
EventDispatcher.dispatchEvent(this, "GotSearch", url, searchWord);
}
@SimpleFunction(description = "")
public void SearchGoogle(String search) {
String URL = "";
URL = "https://google.com/search?q=" + search;
GotSearch(URL, search);
}
and here is my feedback:
good that you mentioned, that it is only a Test extension... because there is not really much inside...
and you even could have simplified it and return your url directly like this
public String SearchGoogle(String search) {
return "https://google.com/search?q=" + search;
}
it is the same like this procedure
the name of the extension is misleading because it does not really return a Google search result, it only returns an URL and then you have to use the web component to do the actual search...
Wow @Alpha2020. Nice extension Ruthenium. Although, you could use the same procedure in AI2 to search. Make it so that it can search multiple search engines, and maybe get the resulting items from the search. IDK, just a thought.