Re: How do you pass a search word to the Euphoria documentation index.html search box?

new topic     » goto parent     » topic index » view thread      » older message » newer message

[quote ne1uno]

K_D_R said...

... In summary, my experience on Linux, is that you can pass a search word to the openeuphoria.org document search engine with the code:

system_exec("browser " & "http://openeuphoria.org/search/results.wc?s="&search_word, 0) 

...

If someone can come up with a way to pass a search word to the search engine for the respective document files, context sensitive help can be available with one keystroke.

ne1uno said...

a little extra javascript would be needed to parse extra parameters and fill in the javascript search.

This is certainly beyond my ability. Could this feature be added by the developers to the next release?

ne1uno said...

to access just the manual/doc search from GET instead of POST, http://openeuphoria.org/search/results.wc?s=BATCH&manual=1

I followed all the links listed on the page generated by the url referenced above and I am still clueless as to the difference between "GET" and "POST" is.

ne1uno said...

euweb on the forum or any euphoria web turns links like [[man:batch]] into man:batch the source is available somewhere on hg:

Ditto - no joy.

ne1uno said...

you can go to a page directly in a chm if you know the page otherwise the default page will open.

To a page? Using xchm to run eu400uo.chm I see no page numbers, only links to sections such as as "4.8.1 include statement". I suppose you are saying that you can go to a specific section, if you know the page you want to go to, right? But specifically how do I pass that information to eu400uo.chm?

In gnome-terminal I type xchm eu400.chm which opens eu400.chm to section "3 Using Euphoria".

The format for xchm usage is:

xchm [-c <num>] [-t] [-i] [-h] [file] 
  -c, --contextid=<num>	context-Id to open in file, requires that a file be specified 
  -t, --notopics       	don't load the topics tree 
  -i, --noindex        	don't load the index 
  -h, --help           	displays this message. 

The section number for db_open is 8.28.8.3, but when I enter:

xchm -c 8.28.8.3 eu400uo.chm 
Usage: xchm [-c <num>] [-t] [-i] [-h] [file] 
  -c, --contextid=<num>	context-Id to open in file, requires that a file be specified 
  -t, --notopics       	don't load the topics tree 
  -i, --noindex        	don't load the index 
  -h, --help           	displays this message. 
'8.28.8.3' is not a correct numeric value for option 'c'. 


None-the-less, your comments are deeply appreciated.

Regards, Kenneth Rhodes

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu