Open gasyoun opened 3 years ago
@funderburkjim would you mind if I ask to add such a functionality to @alex-bukach ?
See the Copy button
code
<div class="input-group-append" aria-live="assertive">
<button class="btn copy-button d-flex align-items-center" data-copy-from="checksum" type="button"><span class="ms-Icon ms-Icon-action ms-Icon--Copy"></span><span>Copy</span></button>
</div>
https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-5.0.5-windows-x64-installer
I see no reason not to try it.
Looks like you want to add a button and some Javascript to simple-search.
Is there a url where the click to quote functionality can be seen in action?
What is the dot-net reference about?
https://github.com/sanskrit-lexicon/csl-apidev/tree/master/simple-search/v1.1a
has the latest non-production code.
We can experiment with it.
https://sanskrit-lexicon.uni-koeln.de/simple1.1a/
accesses this experimental code.
The entry point of the code is list-0.2s_rw.php, and this is where the UI mostly lives.
I see no reason not to try it.
Great.
Is there a url where the click to quote functionality can be seen in action?
Yes, the copy button at https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-5.0.5-windows-x64-installer Never seen inside a dictionary.
What is the dot-net reference about?
Only a copy button UI sample.
The entry point of the code is list-0.2s_rw.php
Let us have some fun, thanks
https://github.com/sanskrit-lexicon/csl-apidev/blob/master/simple-search/v1.1a/list-0.2s_rw.php
copy button UI sample
Is this Github example a similar idea?
Is this Github example a similar idea?
Yes, it's identical. And I want such functionality at Cologne. For every line and all text as once. Two modes.
If I wan to quote Cologne, I have to do at least 3 clicks (click where from, drag, until where)
Let's take
agni
from MW in https://sanskrit-lexicon.uni-koeln.de/simple/There is a JS script https://github.com/gasyoun/ClickToQuote that can be used to generate a quote with bibliographical reference in a single click.
Mode 1 Click on an icon "cite" above and get all the article + MONIER-WILLIAMS, M. (1872). A Sanskṛit-English dictionary etymologically and philologically arranged with special reference to Greek, Latin, Gothic, German, Anglo-Saxon, and other cognate Indo-European languages. Oxford, The Clarendon Press.
like https://www.worldcat.org/title/sanskrit-english-dictionary-etymologically-and-philologically-arranged-with-special-reference-to-greek-latin-gothic-german-anglo-saxon-and-other-cognate-indo-european-languages/oclc/3592375&referer=brief_results has
Mode 2 Click on a single meaning and quote only it.
@funderburkjim and @drdhaval2785 there is Alexander, who has made it possible for my Parallel Corpus. What do you think of it?