scieloorg / articles_meta

Webservices para recuperar metadados de artigos SciELO armazenados no MongoDB
BSD 2-Clause "Simplified" License
7 stars 17 forks source link

[exportsci] Geração de XML para referências de Webpage #122

Closed robertatakenaka closed 6 years ago

robertatakenaka commented 6 years ago

Atualmente o XML gerado está incompleto:

<element-citation publication-type="undefined">
            <person-group>
              <name>
                <surname>Vigna</surname>
                <given-names>Elvira</given-names>
              </name>
              <name>
                <surname>Vigna</surname>
                <given-names>Elvira</given-names>
              </name>
            </person-group>
          </element-citation>
Vigna, Elvira. Homepage: www.vigna.com.br [Acesso: em 10 de junho de 2012].         [ Links ]

http://www.scielo.mec.pt/scielo.php?script=sci_arttext&pid=S0807-89672013000300014

Deveria retornar algo como:

<ref id="B1">
    <element-citation publication-type="link">
       <person-group>
            <name><surname>Surname</surname><given-names>Name</given-names></name><name><surname>Surname</surname><given-names>Name</given-names></name></person-group>
       <ext-link ext-link-type="uri" href="www.vigna.com.br">www.vigna.com.br</ext-link>
       <date-in-citation date-type="access-date"><day>10</day><month>06</month><year>2012</year>
        </date-in-citation>
    </element-citation>
</ref>
  2  "S0807-8967(13)02700314"
  3  "v27n3a14.html"
  4  "v27n3"
 16  "^rND^sVigna^nElvira"
 37  "www.vigna.com.br"
109  "10 de junho de 2012"
110  "20120610"
700  "166"
701  "16"
702  "C:\Scielo\serial\dia\v27n3\markup\v27n3a14.html"
705  "S"
706  "c"
708  "19"
709  "article"
865  "20130000"
880  "S0807-8967201300030001400016^cprt"
882  "^v27^n3"
936  "^i0807-8967^y2013^o3"
999  "../bases-work/dia/dia"