adding anchors to talks

CharlasAsk LibraryThing

Únete a LibraryThing para publicar.

adding anchors to talks

Este tema está marcado actualmente como "inactivo"—el último mensaje es de hace más de 90 días. Puedes reactivarlo escribiendo una respuesta.

1gangleri
Editado: Mar 23, 2012, 1:30 pm

?searchtype=talk&search=aboutBox, ?searchtype=talk&search=touchstonesBox (#aboutBox, #touchstonesBox)

Dear friends;

Note from http://www.librarything.com/topic/134227
I tried to use anchor links via <A NAME="anchorname">Linking Inward</A> syntax at the last posts at
a) anchor at the end of collaborative work on Janusz Korczak
b) anchor at the end of collaborative work on Isaac Bashevis Singer
c) anchor at the end of collaborative work on Paul Erdős

Verifying the page source code I could see that no "id"s have beeb generated. Is there any help. If not can someone open please a topic at "". Thanks in advance!

2timspalding
Mar 16, 2012, 11:30 pm

You want to create in-page links?

3gangleri
Editado: Mar 17, 2012, 7:17 am

>2 timspalding: Yes.

This relates to some enhancements planed for Commons:VIAF inter project linking/viaf.user.js Greasemonkey-Skript
see also Category:VIAF inter project linking . In the future that script should detect indications in inline links as Janusz Korczak (YIVO Encyclopedia seems to be not availabe at Shabbat and other holydays).

YIVO Encyclopedia does not accept fake parameters used with ?foo=bar or &foo=bar but it accepts #foo:bar
examples:
fails http://www.yivoencyclopedia.org/article.aspx/Korczak_Janusz?VIAF=100899665
fails http://www.yivoencyclopedia.org/article.aspx/Korczak_Janusz&VIAF=100899665
OK http://www.yivoencyclopedia.org/article.aspx/Korczak_Janusz#VIAF:100899665

This VIAF (Virtual International Authority File) numbers are like "X-rays" for a site. I spend yesterday two hours to figure out if LT contains author urls for Felix Dzerzhinsky, Isaak Boleslawski, Isaac Boleslavsky, Dawid Janowski. There are *wski, *wsky, *wskii, *wskij, *vski, *vsky*, *vskii, *vskij, variants.

Please let me know if you want to schedule VIAF support for LT in the future.

4gangleri
Mar 17, 2012, 7:21 am

>1 gangleri:: working exaples with VIAF anchors to Wikipedia:
a) anchor to reference to Janusz Korczak
b) anchor to reference to Isaac Bashevis Singer
c) anchor to reference to Paul Erdős

5gangleri
Mar 19, 2012, 4:41 am

>2 timspalding: Anchors are very useful when guiding newbies:

a) LT should use them more often: In order to describe LT functionality to epo newbies I need to explain large pages as
Hamlet http://epo.librarything.com/work/2199. Talking about / explaining "Common Knowledge" one needs anchors to directly access information as:
Canonical title:
Hamleto
Alternative titles:
Hamleto, reĝido de Danujo
Hamleto, princo de Danujo

b) Another example which illustrates the need of understandable anchors is http://epo.librarything.com/topic/134426.

P.S. LT anchors are difficult to remember / identify . Hope that they are stable (do not change when page is combined etc.)
a) http://epo.librarything.com/work/2199#tr1124432442
b) http://epo.librarything.com/work/1888594#4f66ece9bce062.70547378 This anchor does now work for me

6gangleri
Mar 19, 2012, 7:01 am

>5 gangleri: continued

I like the anchor at: /topic/134219#touchstonesBox

7timspalding
Mar 19, 2012, 12:40 pm

"Name" is now an allowed attribute.

8gangleri
Editado: Mar 19, 2012, 3:00 pm

>10 timspalding:
I am use the syntax
<A NAME="VIAF:100899665">test Linking Inward with VIAF:foo</A>
here
test Linking Inward with VIAF:foo

This should generate an anchor. Please open
/topic/134235#VIAF:100899665 in a new tab and verify if it jumps to item 8.

9gangleri
Editado: Mar 19, 2012, 3:01 pm

>9 gangleri: and >10 timspalding:
The page source code shows:
<div class="mT" id="mg3300885">

Please open
/topic/134235#mg3300885 in a new tab and verify if it jumps to item 8.

conclusion: the anchor name is not preserved.

P.S. fixed "and verify if it jumps to item 8."

10timspalding
Mar 19, 2012, 3:14 pm

Hmmm. Name isn't being preserved. Looking.

Id won't be and shouldn't.

11gangleri
Editado: Mar 20, 2012, 3:36 am

test: test link to "A cookie for you!" using id="VIAF:foobar"
<a href="http://en.wikipedia.org/w/index.php?curid=1003896#A_cookie_for_you" id="VIAF:100899665">test link to "<i>A cookie for you!</i>" using id="VIAF:foobar"</a>
Unfortunately no VIAF:100899665 anchor is generated.