You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#add <symbol> <engine> <url> and #del <symbol> <engine>
#import <json_string> and #export to JSON
#help half working help, making a query to find with the user; used as example
All these functions, are provided with the Find instance as first argument, and the user query (without the command) as second arg.
These commands are defined under the # symbol, and instead of being under the key .engines like other symbols, these commands/functions are defined under the .fns key of the js symbol map.
It is practical as a semantic to demonstrate the separation of meaning, and "execution type", between symbols.
Maybe these functions, could be replaced, by an other already existing symbol, for example:
+find-add-engine-for-symbol <symbol> <engine> <url>
+find-add <symbol> <engine> <url>
+fadd <s> <e> <u> (a sym)
;; or any semantic; ++add could work too (symbol + engine +add )
This could build the URL(s), for destination of the "internal Find client", with a different query param: f for find, s for settings, or with a different "user query value than the initial"; i4k-find:// for find "URI building scheme", or i4k-find: to match protocol syntax.
There are interesting examples https://en.wikipedia.org/wiki/List_of_URI_schemes om how to make "list of ressources", contact, notes, tags, fm, dns, etc. with various patterns, maybe to nest and chain queries/commands.
That way the functions/commands could be moved together with the rest and follow the classic engine(s) behavior (or opening a new URL with the user query into the URL patterns, and let the app handle how to interpret what to do with it)
The text was updated successfully, but these errors were encountered:
currently there are Find
#
commands, such as:#add <symbol> <engine> <url>
and#del <symbol> <engine>
#import <json_string>
and#export
to JSON#help
half working help, making a query to find with the user; used as exampleAll these functions, are provided with the
Find
instance as first argument, and the user query (without the command) as second arg.These
commands
are defined under the#
symbol, and instead of being under the key.engines
like other symbols, these commands/functions are defined under the.fns
key of the js symbol map.It is practical as a semantic to demonstrate the separation of meaning, and "execution type", between symbols.
Maybe these functions, could be replaced, by an other already existing symbol, for example:
This could build the URL(s), for destination of the "internal Find client", with a different query param:
f
forfind
,s
forsettings
, or with a different "user query value than the initial";i4k-find://
for find "URI building scheme", ori4k-find:
to match protocol syntax.There are interesting examples https://en.wikipedia.org/wiki/List_of_URI_schemes om how to make "list of ressources", contact, notes, tags, fm, dns, etc. with various patterns, maybe to nest and chain queries/commands.
That way the functions/commands could be moved together with the rest and follow the classic engine(s) behavior (or opening a new URL with the user query into the URL patterns, and let the app handle how to interpret what to do with it)
The text was updated successfully, but these errors were encountered: