1$(document).ready(function(){ 2 var author_meta = { 3 "ORCID":"https://orcid.org/" , 4 "AuthorID": "https://www.elibrary.ru/author_profile.asp?id=", 5 "ResearcherID": "https://www.webofscience.com/wos/author/record/", 6 "Scopus": " https://www.scopus.com/authid/detail.uri?authorId=", 7 "SPIN": "https://www.elibrary.ru/author_profile.asp?spin=" 8 }; 9 $("#tab2 .stepleft p").each(function(){ 10 paragraph = $(this).text(); 11 var paragraph_meta_found = false; 12 13 metas = paragraph.split(', ') 14 for(var i=0; i<metas.length; i++){ 15 lemmas = metas[i].split(':'); 16 if (lemmas.length<2) continue; 17 var meta_found = false; 18 19 for (const [key, value] of Object.entries(author_meta)) { 20 if (!lemmas[0].includes(key)) continue; 21 meta_found = true; 22 paragraph_meta_found = true; 23 rest = lemmas.slice(1); 24 lemmas[1] = rest.join(':'); 25 lemmas = lemmas.slice(0,2); 26 url = value+lemmas[1].trim(); 27 if (lemmas[1].includes('http')) url = lemmas[1]; 28 lemmas[1] = '<a href="'+url+'" target="_blank">'+lemmas[1].trim()+'</a>'; 29 } 30 if (!meta_found) continue; 31 metas[i] = lemmas[0]+': '+lemmas[1]; 32 } 33 if(paragraph_meta_found) $(this).html(metas.join(', ')); 34 }); 35});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.