Closed rondinelisaad closed 5 years ago
O segundo erro aparentemente é porque o resultado de "http://www.scimagojr.com/journalsearch.php?q=0103846X&tip=iss&clean=0" mudou. Não existe mais o embed_code mencionado em sjr_proc.sh.
export scimago_id="cat temp.txt | grep 'embed_code' | grep -o 'id=[0-9]*' | grep -o '[0-9][0-9]*'
"
Esta linha serve para obter o ID do periódico no scimago.
<html>
<head>
<meta charset="UTF-8">
<title>SJR - Journal Search</title>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700' rel='stylesheet' type='text/css' />
<link href='./gridcss/grid.css' rel='stylesheet' type='text/css' />
<link href='./gridcss/sjr.css' rel='stylesheet' type='text/css' />
<script src="./js/raceme.min.js"></script>
<script src="./js/papaparse.min.js"></script>
<script src="./js/Dataset.min.js"></script>
<script src="./js/Axis.min.js"></script>
<script src="./js/Elements.min.js"></script>
<script src="./js/Frame.min.js"></script>
<script src="./js/Properties.min.js"></script>
<script src="./js/View.min.js"></script>
<script src="./js/Utils.min.js"></script>
<script src="./js/Player.min.js"></script>
<script src="./js/Legend.min.js"></script>
<script src="./js/tooltip.min.js"></script>
<script src="./js/cola.min.js"></script>
<!--
<script src="../VizDesigner/js/vizcore/raceme.js"></script>
<script src="../VizDesigner/js/vizcore/papaparse.min.js"></script>
<script src="../VizDesigner/js/vizcore/Dataset.js"></script>
<script src="../VizDesigner/js/vizcore/Axis.js"></script>
<script src="../VizDesigner/js/vizcore/Elements.js"></script>
<script src="../VizDesigner/js/vizcore/Frame.js"></script>
<script src="../VizDesigner/js/vizcore/Properties.js"></script>
<script src="../VizDesigner/js/vizcore/View.js"></script>
<script src="../VizDesigner/js/vizcore/Utils.js"></script>
<script src="../VizDesigner/js/vizcore/Player.js"></script>
<script src="../VizDesigner/js/vizcore/Legend.js"></script>
<script src="../VizDesigner/js/vizcore/tooltip.js"></script>
<script src="../VizDesigner/js/vizcore/cola.js"></script>
-->
<script src="./gridcss/grid.js"></script>
<script src="./js/mainmenu.js"></script>
<!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
<script type="text/javascript">
window.cookieconsent_options = {"message":"This website uses cookies to ensure you get the best experience on our website","dismiss":"Got it!","learnMore":"More info","link":null,"theme":"dark-bottom"};
</script>
<script type="text/javascript" src="js/cookie.js"></script>
<!-- End Cookie Consent plugin -->
</head>
<body>
<div class="related_sites"><span class="related_sites_text">also developed by scimago:</span> <a href="https://www.scimagoir.com"><img src="./img/siricon.png" alt="" />Scimago Institutions Rankings</a></div>
<div class='header'><a href=".\" title="home">
<img id="logo" src="./img/logo.png" alt="SJR" />
<div id="tag">Scimago Journal & Country Rank</div>
</a>
<form id="searchbox" action="journalsearch.php" method="get">
<input type="text" name="q" value="Enter Journal Title, ISSN or Publisher Name" id="searchinput" onfocus="if(this.value == 'Enter Journal Title, ISSN or Publisher Name') { this.value = ''; }" onblur="if (this.value=='') {this.value='Enter Journal Title, ISSN or Publisher Name';}">
<input type="submit" id="searchbutton" value="" />
</form>
</div>
<div id='menu_boton' style='cursor: pointer;'><img src='./img/menu.png' alt='menu'> menu</div><div id='mainmenu'><ul><li><a href='index.php'>Home</a></li><li><a href='journalrank.php'>Journal Rankings</a></li><li><a href='countryrank.php'>Country Rankings</a></li><li><a href='viztools.php'>Viz Tools</a></li><li><a href='help.php'>Help</a></li><li><a href='aboutus.php'>About Us</a></li></div>
<div class="journaldescription colblock">
<form id="searchboxresults" action="journalsearch.php" method="get">
<input type="text" name="q" value="0103846x" id="searchinput" onfocus="if(this.value == 'Enter Journal Title, ISSN or Publisher Name') { this.value = ''; }" onblur="if (this.value=='') {this.value='Enter Journal Title, ISSN or Publisher Name';}">
<input type="submit" id="searchbutton" value="">
</form>
<div class="pagination" style="font-size: 14px;font-weight: 500;color: rgb(140,140,140);margin-bottom:40px;">1 - 1 of 1<div class="pagination_buttons"></div></div>
<div class="search_results">
<!-- <a href="journalsearch.php?q=16590&tip=sid&clean=0"><span class="jrnlname">Lancet, The</span>United Kingdom<br />Elsevier Limited</a> -->
<a href="journalsearch.php?q=4500151538&tip=sid&clean=0"><span class="jrnlname">Revista brasileira de parasitologia veterinaria = Brazilian journal of veterinary parasitology : Orgao Oficial do Colegio Brasileiro de Parasitologia Veterinaria.</span>Brazil<br />Colegio Brasileiro de Parasitologia Veterinaria</a>
<!--
<div class="pagination" style="font-size: 14px;font-weight: 500;color: rgb(140,140,140);margin-top:40px;">1 - 50 of 1981
<div class="pagination_buttons">
<a href="#" class="disabled"><img src="img/pag_left.png" title="previous" /></a>
<a href="#" class=""><img src="img/pag_right.png" title="next" /></a>
</div>
</div>
-->
</div>
<div class="pagination" style="font-size: 14px;font-weight: 500;color: rgb(140,140,140);margin-bottom:40px;">1 - 1 of 1<div class="pagination_buttons"></div></div>
</div>
</div>
<div class="foot">
<div class="colblock">
<a href="http://www.scimagolab.com" class="logofooter" >Developed by:<br /><img src="./img/logo_footer.png" alt="Scimago Lab" /></a>
<a href="http://www.scopus.com" class="logofooter" >Powered by:<br /><img src="./img/scopus.png" alt="Powered by scopus" /></a>
<p>Follow us on <a href="https://twitter.com/ScimagoJR">@ScimagoJR</a><br /><br /><a href="http://www.scimagolab.com">Scimago Lab</a>, Copyright 2007-2018. Data Source: <a href="http://www.scopus.com">Scopus®</a></p>
<img src="./img/estmodusinrebus.png" alt="" id="tagline" title="Est modus in rebus (There is a proper measure in things). Horatio." alt="Est modus in rebus (There is a proper measure in things). Horatio."/>
</div>
</div>
<script type="text/javascript" class="cc-onconsent-analytics">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-2882161-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
Este script tem que ser corrigido para que na página do periódico seja apresentada as métricas de Scimago![captura de tela 2018-08-08 as 12 16 13](https://user-images.githubusercontent.com/505143/43846522-efb01fac-9b04-11e8-887f-25505ae82282.png)
Problemas:
relacionado com #661