How can I add Wolfram Alpha to search bar in Chrome? - browser

I want to send queries to Wolfram Alpha real fast. I've been using wiki query from search bar for ages, how can I search on WA?

Ultimately I found the solution myself, but it took me some time and I had to devise the solution myself, since all Google searches returned the extension which I wanted to avoid. Here it is.
Right click the address bar and click Edit search engines...
(or open Settings -> Search -> Manage search engines...)
Usually, you can find all recognized search engines you used already listed there, but if not, add this: (*use any keyword of your choice)
The query url: http://www.wolframalpha.com/input/?i=%s
Now it is possible to use wa query from search bar to search on Wolfram Alpha. Note, this method allows you to use any search engine.

This is really handy! I wonder if adding it in Chrome as a search engine is better than using the Wolfram Alpha chrome extension though. That is much easier to search using just combination of "=" followed by space and you can directly type in your search query to the Math engine :)
Wolfram|Alpha (Official)
Instantly query Wolfram|Alpha from any page or tab.
There is more to it, you can type formula and equations directly in your navigation bar using this on any page or tab. Pretty neat!
[Source]: From Wolfram Alpha Official Chrome Extension page
===FEATURES===
✓ Wolfram|Alpha Button – Access the Wolfram|Alpha query box with just one click. You can also right-click the Wolfram|Alpha icon to change extension options.
✓ Omnibox Shortcut – Transform Chrome's omnibox into a Wolfram|Alpha query field by typing an = sign followed by a space.
✓ Context Menu Shortcut – Highlight text to create queries through a context menu (right-click) entry.
Shouting out to StackOverflow community:
I am still learning and appreciating the power of this engine. If you guys have some resources or content apart from Wolfram's official site, please do share!
This will really help me as a beginner in the field and I can use to improve.
What better way to search than the famous Euler's Identity. In Chrome Nav bar
"=" ==> (space) ==> e^(i*pie) ==> (enter)
Or something like:
"=" ==> (space) ==> sqrt(1779)*cube(pi) ==> (enter)
And see the result instantly in Wolfram. Awesome isn't it?

Related

Roku SceneGraph with Search Functionality

I'm creating a Roku app in SceneGraph and trying to near duplicate the search functionality I had using the old SDK. I'm stuck at only being able to display the mini keyboard. I'm trying to add buttons via buttongroup (i.e., Search, Cancel) but having two issues:
Not sure how to get the text string that's typed into the mini keyboard and store that in a variable or field so I can perform the search on it.
How to create a Search button and give it focus when user is ready to search for the string they entered.
Any help would be appreciated. Thanks.
SGDEX (Scenegraph Developer Extensions) is what you need. They have a view called "SearchView". Look it up.
Also...
RALE (Roku Advanced Layout Editor) has good search options. - I have been unable to find a decent Search sample. It would be cool if we could export the source code from RALE.
However if you haven't tried RALE. You could upload your script, then add search to it.

Google Sitelinks Search Box

For some reason, a search for our company name (“hometalk”) does not produce the search box in the results (even though we do have sitelinks).
We are adding schema markup as outlined here, but we're not sure about:
Will adding the code make the search bar appear (or at least increase the chances), or is it only going to change the functionality of the search box (to on-site search) for results that are already showing a search bar?
It is only going to change the functionality of the search box (to on-site search) for results that are already showing a search bar.
As stated here: https://developers.google.com/webmasters/richsnippets/sitelinkssearch
Search box not displaying? The sitelinks search box appears only for navigational queries and when relevant for users. Google
algorithms use a variety of factors to determine when the box appears,
including the information on the site and different types of
navigational queries from Search users.

URL formation in Chrome or Firefox or IE

I have seen this in one of the tutorial videos.
The tutor used firefox and typed in url box like google 'stackoverflow' and it formed the url as https://www.google.com/#q=stackoverflow. (This is just an example).
I think it will be a very useful feature.
Like, i have a ticketing system whose url is always like this - http://ticket-system.com/Tickets.aspx?Ticket=1000 where 1000 is the ticket number.
I want to be able to go to url box in browser and type 'Ticket 1000', and it should form the url by itself and redirect to there.
Any idea how this can be done?
I found my answer here
https://support.google.com/chrome/answer/95653?hl=en&ref_topic=14676
https://support.google.com/chrome/answer/95655
Start typing the web address of the site you want to search in the
address bar. If Google Chrome has a record of the site's search
engine, it automatically offers you the option to search that site. If
you remember the search engine's keyword, you can also type the
keyword in the address bar. Press Tab to choose the search engine,
type your search term, then press Enter.

How to search a PDF in Acrobat Reader AND jump to a certain page via parameter?

We are using lucene within a web application to search in a great number of PDF documents.
The workflow is like this:
A user enters a search term
A list of search results is presented to the user.
Each search result represents one PDF document and shows the user on which page the search term was found. Each of these pages is represented as a hyperlink.
If the user now clicks on such a hyperlink, he directly jumps to that page.
But now the user has the problem that the search term isn't highlighted on the page. Therefore the user has to look on his own to find the search term on the page.
What we wanted is a way to highlight the search term on the specific page in the PDF.
The open parameters for Acrobat Reader allow for either searching a PDF document (with hit highlighting) OR jumping to a specific page. But the combination of both parameters - which we would need - doesn't work.
Does anyone have an idea how jumping to a page and highlighting a search term in a PDF document could work?
I had a look at the Acrobat SDK but don't see how we can use it (it's terribly documented).
acrobat uses a plugin to hilite terms, and requires a fdf stream to indicate the words to hilite.
See here for pointers:
support.dtsearch.com/dts0152.htm
update:
assuming you know the page# and word# on the page to hilight, here is one way to do it:
On web page:
<iframe id="acroframe" src="pdfpage/example.pdf#xml=http://example.com/hilite.aspx?hilite=8e3302ee-ff88-41ee-bdfb-9e8df87cc3ad&toolbar=1&navpanes=0&statusbar=0&view=FitH">
</iframe>
The PDF will appear in the frame, it will show the toolbar, hide the navpane & status bars and fit page to horizontal. Then it will query the web site to get the xfdf data for hilighting: http://example.com/hilite.aspx?hilite=8e3302ee-ff88-41ee-bdfb-9e8df87cc3ad
Here I used a guid key that I previously saved in the session with the hilite xfdf value.
The hilite.aspx page will return something like the following to hilite words in the document:
<XML>
<Body units=characters color=#ff00ff mode=active version=2>
<Highlight>
<loc pg=15 pos=3583 len=5>
</Highlight>
</Body>
</XML>
This will hilight 5 chars on page 15 starting at position 3583. (note: xfdf is not real "XML" despite the similarity)
Note that acrobat reader will have to have the "Enable search highlights from external highlight server" option checked in preferences.
Sorry might not be an answer, but a workaround could be to covert the PDF to html and use Lucene highlighter (similar to what Google does)
You'd have to write a snippet of Javascript to get the behavior you are looking for.

jqGrid search filter questions

Have two questions.
Make the search filter form non modal.
Allow searching by pressing enter key instead of having to press the Find button.
thanks.
sachin,
Your question seems to be more of a statement, but if you're looking for various options for jqgrid, take a look at:
http://www.trirand.com/jqgrid/jqgrid.html#
New in Version 3.5 > Integrated Search Toolbar
This allows you to interactively search and it respects the Enter key.
However, you lose operators... but I suppose you could modify the code that's given to add something similar back in (or bundle your operator in with the text....ie, user enters "> 400" rather than "400", but this poses security risks)

Resources