View Single Post
Old 01-29-2022, 10:34 PM   #716
Ceiyne
Enthusiast
Ceiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notesCeiyne can name that song in three notes
 
Posts: 37
Karma: 24602
Join Date: May 2015
Device: Kobo Glo HD
Quote:
Originally Posted by johndoe3444 View Post
I'm trying to put a duckduckgo image search button under the selection_search menu.

Like the one in the NickelMenu doc file but for images
Code:
#   menu_item :selection_search :Search DuckDuckGo :nickel_browser :modal:https://duckduckgo.com/?q={1|S|%}
The url for the image search adds "&t=h_&ia=images&iax=images" after the search term, I've tried adding that after the "}" and after inside the {} just after the "%" and neither have worked.

Obviously I have no idea what I'm doing, is what I'm trying to do feasible?
It sounds like what you're trying to do should work. I did something similar with a Google Translate search, and it didn't have any problem with the part in brackets being in the middle of the URL, for example:

Code:
menu_item :selection :Google Translate  :nickel_browser :modal:https://translate.google.com/?sl=ja&tl=en&text={1|S|%}&op=translate
Maybe the example above will help you sort it out, but if not, try copy/pasting the entry you're making and I can try to see if I spot anything.
Ceiyne is offline   Reply With Quote