Open SIVAH-AKASH opened 3 years ago
Sorry for the late response, but to answer your questions:
It looks like all you'd really need to do is replace http://google.com/search?q=
(on line 66) with https://www.ecosia.org/search?q=
As for your question about searchSuggestionsBaseUrl, that's a little more complicated. The way I found that URL for google was by opening Chrome's dev tools and looking at what appears in the network tab as I type things. It looks like for ecosia, this URL would be https://ac.ecosia.org/?q=
Thanks for the reply. I have changed the above two links and also the image and image reference in "plugin.json". On the Wox website, I see an option to upload the plugin. Which file should I upload?
You can copy the json file and place it in the bin folder where the compiled DLLs are. Then just zip the whole folder and upload it on the Wox site. You may or may not need to change the file extension of the zip folder to '.wox', I can't remember.
Sorry for troubling you. What do you mean by "compiled DLLs"? I could not find them in your repository.
Oh, let me explain. When you build a C# "class library" project (which is what this is), the code gets compiled into some DLL files. This wouldn't be part of the repo, since it's what gets created when you compile the repo.
You can find these files here: Wox.Plugin.SimpleWebSearch/SimpleWebSearch/bin/debug/
Depending on the build config, you might see "release" instead of "debug"; that's fine.
Thanks again. Will work on that.
From: sarrascaeta @.> Sent: Thursday, October 21, 2021 10:18:09 AM To: sarrascaeta/Wox.Plugin.SimpleWebSearch @.> Cc: S.AKASH @.>; Author @.> Subject: Re: [sarrascaeta/Wox.Plugin.SimpleWebSearch] How to add other search engines? (#1)
Oh, let me explain. When you build a C# "class library" project (which is what this is), the code gets compiled into some DLL files. This wouldn't be part of the repo, since it's what gets created when you compile the repo.
You can find these files here: Wox.Plugin.SimpleWebSearch/SimpleWebSearch/bin/debug/
Depending on the build config, you might see "release" instead of "debug"; that's fine.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/sarrascaeta/Wox.Plugin.SimpleWebSearch/issues/1#issuecomment-948664722, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFQTMANIQEXGEZWPH43YZO3UIAOKDANCNFSM5E3BFVSQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I have a basic understanding of programming and I want to use a different search engine (Ecosia). Looking into the source code, I see that the main.cs file has the search prefix for google. Would just replacing that be enough?
Also the same file has the variable "searchSuggestionsBaseUrl". Where can I find the value for this for other search engines?