sanskrit-lexicon / PWG

Boehtlingk und Roth Sanskrit Wörterbuch, 7 Bände Petersburg 1855-1875
0 stars 0 forks source link

provide additional links to different sources for the same work #59

Open funderburkjim opened 2 years ago

funderburkjim commented 2 years ago

This suggestion was made in this comment.

The idea is that a given literary source reference might have multiple link targets. Rg Veda is a case in point, where there are web sites that present the verses according to different principles. For example, the current link-target for Rg veda at CDSL does not contain accents in the IAST form : rv 3,55,19. Probably there are now digitized sources (perhaps at Titus) from which an accented IAST link target could be made available; this was mentioned as desireable several years ago by @SergeA. Also, there are good audio sources of Rg veda recitations, which could be used as link targets.

Thus, there are certainly reasons in favor of having the ability, in dictionary displays, to link to multiple targets.

funderburkjim commented 2 years ago

UI

The html for link targets in current cdsl displays uses a simple html anchor (along with a tooltip and a little bit of CSS styling).

<a 
href="https://sanskrit-lexicon.github.io/rvlinks/rvhymns/rv03.055.html#rv03.055.19" 
title="ṚV. = ṚGVEDA. Es wird nach Maṇḍala, Sūkta und Ṛc citirt. ROSEN zu ṚV. verweist auf die Anmerkungen in: Rigveda-Sanhita, liber primus, sanskritè et latinè; edidit FRIDERICUS ROSEN. London 1838." style="text-decoration: none; border-bottom: 1px dotted #000;" 
target="_rvlink">
 <span style="color:blue;" class="ls">Ṛv.</span><span class="ls"> 3, 55, 19.</span>
</a>

To allow multiple links, we would need some other UI, within which, one of several link targets could be chosen by the user. One possibility is illustrated in Wikipedia:

image

Perhaps other users will have different candidates for such UI enhancement.

If we decide on a desired UI, then to make the suggestion a reality, we will need

gasyoun commented 2 years ago

To allow multiple links, we would need some other UI, within which, one of several link targets could be chosen by the user.

So you want the target to be reached in 2 steps instead of 1?

Andhrabharati commented 2 years ago

To allow multiple links, we would need some other UI, within which, one of several link targets could be chosen by the user.

So you want the target to be reached in 2 steps instead of 1?

You seem to have clearly misunderstood the point @gasyoun , what is being discussed is having multiple links together (user-selectable individually),

like done for 'roots' in MW (Westergaard and Whitney)

(as I had mentioned in my suggestion in the other thread https://github.com/sanskrit-lexicon/PWG/issues/57#issuecomment-1165108285)

The links to individual targets will be placed side-by-side, and the user can click on anyone that he wants to see.

funderburkjim commented 2 years ago

In MW display, the links to Whitney or Westergaard are put BEFORE the body of an entry. There are always just a very small number of such links.

By contrast, a PWG entry might have dozens of links to Rg veda., and or to AV or R, etc. It would be confusing to show those at the beginning of an entry.

So the multiple link targets in PWG must be placed in line(as currently). The Wikipedia approach seems to be one UI which might be adapted to this goal.

gasyoun commented 2 years ago

So the multiple link targets in PWG must be placed in line(as currently). The Wikipedia approach seems to be one UI which might be adapted to this goal.

Agree

In MW display, the links to Whitney or Westergaard are put BEFORE the body of an entry. There are always just a very small number of such links.

And even there Westergaard is not incorporated IN, but ONLY before. We could remove Westergaard from BEFORE and leave add only IN.

The links to individual targets will be placed side-by-side, and the user can click on anyone that he wants to see.

Still do not see the need for a side-by-side. Rahter I'm for a single aggregated one.