Skip to content

Conversation

@Rossi-Luciano
Copy link
Collaborator

@Rossi-Luciano Rossi-Luciano commented Dec 7, 2025

O que esse PR faz?

Modifica template OAI-PMH article_compile.txt para geração de metadados nos formatos AOI_DC e MODS

Problemas corrigidos:

  1. dc:publisher usava caminho inválido object.publisher (Article não tem este campo)
  2. dc:source usava campo inexistente object.source
  3. dc:rights usava object.license.all() (license é ForeignKey, não ManyToMany)
  4. dc:description usava {{ abs }} ao invés de {{ abs.plain_text }}
  5. Elemento dc:language não seguia qualificador ISO padrão
  6. Estrutura Dublin Core não seguia ordem e qualificadores recomendados

Implementações:

  • dc:publisher extraído de journal.publisher_history.first() com suporte a institution/organization
  • dc:source gerado dinamicamente como citação bibliográfica (título, volume, número, páginas, ano)
  • dc:rights corrigido para ForeignKey + license_statements (ManyToMany)
  • dc:date expandido com issued/accessioned/available
  • dc:identifier estruturado com qualificadores none/doi/uri
  • dc:contributor/author ao invés de dc:creator/none
  • dc:language/iso ao invés de dc:language/none
  • dc:description/abstract ao invés de dc:description/none

Onde a revisão poderia começar?

Arquivo: article/templates/search/indexes/article/article_compile.txt


Algum cenário de contexto que queira dar?

Mantidos os índices Solr originais. A geração de metadados OAI_DC e MODS ocorre via template article_compile.txt, independente da indexação. Os métodos prepare_mods_* para indexação de campos MODS já foram desenvolvidos e podem ser integrados quando necessário.

Screenshots

índice enxuto
image

formatos disponíveis
image

exemplo padrão MODS
image

exemplo padrão OAI_DC
image

Exemplo de XML gerado

XML original

Formato OAI_DC gerado

<oai_dc:dc xmlns:doc="http://www.lyncode.com/xoai" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
   <dc:title>Trends and gaps in microplastics research in Tropical freshwater ecosystems</dc:title>
   <dc:creator orcid="0000-0002-6857-1198">MARINA F. MOREIRA</dc:creator>
   <dc:creator orcid="0000-0002-0108-8572">CECÍLIA G. LEAL</dc:creator>
   <dc:creator orcid="0000-0002-7938-1517">PAULO S. POMPEU</dc:creator>
   <dc:subject>plastic pollution</dc:subject>
   <dc:subject>Aquatic environment</dc:subject>
   <dc:subject>bibliometric review</dc:subject>
   <dc:subject>Tropical ecosystems</dc:subject>
   <dc:description>Abstract Although the contamination of microplastics is a very recent topic, knowledge increased rapidly, especially in the last decade. Despite this, freshwater ecosystems have received less attention than marine ones, particularly in the tropics. Considering the particularities of Tropical freshwater ecosystems that can be important in the microplastics dynamic, such as the high rate of untreated water, the flooding dynamics and high number of reservoirs, our review aims to present the state of the research of microplastic contamination in Tropical freshwater ecosystems, emphasizing the knowledge advances and existing gaps. We compared studies in different countries, ecosystems and type of samples, and identified gaps and needs for futures research. Although research and the complexity of studies have increased over the years, Tropical freshwater ecosystems are still understudied. We emphasized the need for more studies in African countries and Tropical Australia, as well as in reservoirs across all Tropical regions. It is also crucial to evaluate contamination related to flooding dynamics and in aquatic invertebrates. Advancements in research on this topic are essential to provide a clear picture of the real problem in the tropics, leading to the possibility of better mitigation and conservation actions in the future.</dc:description>
   <dc:date>2025-11-17</dc:date>
   <dc:date>2025-11-10T11:02:57.696802+00:00</dc:date>
   <dc:date>2025-12-05T14:44:59.593840+00:00</dc:date>
   <dc:type>research-article</dc:type>
   <dc:identifier>S0001-37652025001201003</dc:identifier>
   <dc:identifier>tWn7Y4H7bcmmqjm4Qb5zLrL</dc:identifier>
   <dc:identifier>10.1590/0001-3765202520241229</dc:identifier>
   <dc:identifier>http://www.scielosp.org/scielo.php?script=sci_arttext&amp;pid=S0001-37652025001201003&amp;tlng=en</dc:identifier>
   <dc:language>en</dc:language>
   <dc:rights>CC BY 4.0</dc:rights>
   <dc:format>text/html</dc:format>
   <dc:publisher>Editora Teste XOAI</dc:publisher>
   <dc:source>Gaceta Sanitaria, 2025</dc:source>
   <about>
      <provenance>
         <originDescription altered="" harvestDate="">
            <baseURL />
            <identifier>S0001-37652025001201003</identifier>
            <datestamp>2025-12-05T14:44:59.593840+00:00</datestamp>
            <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
            <repositoryID />
         </originDescription>
      </provenance>
   </about>
</oai_dc:dc>

Formato MODS gerado

<mods:mods xmlns:doc="http://www.lyncode.com/xoai" xmlns:mods="http://www.loc.gov/mods/v3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-1.xsd">
   <mods:name>
      <mods:namePart>MARINA F. MOREIRA</mods:namePart>
   </mods:name>
   <mods:name>
      <mods:namePart>CECÍLIA G. LEAL</mods:namePart>
   </mods:name>
   <mods:name>
      <mods:namePart>PAULO S. POMPEU</mods:namePart>
   </mods:name>
   <mods:extension>
      <mods:dateAvailable encoding="iso8601">2025-12-05T14:44:59.593840+00:00</mods:dateAvailable>
   </mods:extension>
   <mods:extension>
      <mods:dateAccessioned encoding="iso8601">2025-11-10T11:02:57.696802+00:00</mods:dateAccessioned>
   </mods:extension>
   <mods:originInfo>
      <mods:dateIssued encoding="iso8601">2025-11-17</mods:dateIssued>
   </mods:originInfo>
   <mods:identifier type="doi">10.1590/0001-3765202520241229</mods:identifier>
   <mods:identifier type="uri">http://www.scielosp.org/scielo.php?script=sci_arttext&amp;pid=S0001-37652025001201003&amp;tlng=en</mods:identifier>
   <mods:abstract>Abstract Although the contamination of microplastics is a very recent topic, knowledge increased rapidly, especially in the last decade. Despite this, freshwater ecosystems have received less attention than marine ones, particularly in the tropics. Considering the particularities of Tropical freshwater ecosystems that can be important in the microplastics dynamic, such as the high rate of untreated water, the flooding dynamics and high number of reservoirs, our review aims to present the state of the research of microplastic contamination in Tropical freshwater ecosystems, emphasizing the knowledge advances and existing gaps. We compared studies in different countries, ecosystems and type of samples, and identified gaps and needs for futures research. Although research and the complexity of studies have increased over the years, Tropical freshwater ecosystems are still understudied. We emphasized the need for more studies in African countries and Tropical Australia, as well as in reservoirs across all Tropical regions. It is also crucial to evaluate contamination related to flooding dynamics and in aquatic invertebrates. Advancements in research on this topic are essential to provide a clear picture of the real problem in the tropics, leading to the possibility of better mitigation and conservation actions in the future.</mods:abstract>
   <mods:language>
      <mods:languageTerm>en</mods:languageTerm>
   </mods:language>
   <mods:accessCondition type="useAndReproduction">CC BY 4.0</mods:accessCondition>
   <mods:subject>
      <mods:topic>plastic pollution</mods:topic>
   </mods:subject>
   <mods:subject>
      <mods:topic>Aquatic environment</mods:topic>
   </mods:subject>
   <mods:subject>
      <mods:topic>bibliometric review</mods:topic>
   </mods:subject>
   <mods:subject>
      <mods:topic>Tropical ecosystems</mods:topic>
   </mods:subject>
   <mods:titleInfo>
      <mods:title>Trends and gaps in microplastics research in Tropical freshwater ecosystems</mods:title>
   </mods:titleInfo>
   <mods:genre>research-article</mods:genre>
</mods:mods>

XML após compatibilidade com Biodiversity Heritage Library

<mods:mods xmlns:doc="http://www.lyncode.com/xoai" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mods="http://www.loc.gov/mods/v3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-1.xsd">
   <mods:name type="personal">
      <mods:namePart>MARINA F. MOREIRA</mods:namePart>
      <mods:affiliation>Universidade Federal de Lavras, Departamento de Ecologia e Conservação</mods:affiliation>
      <mods:role>
         <mods:roleTerm type="text">author</mods:roleTerm>
      </mods:role>
      <mods:nameIdentifier type="orcid">0000-0002-6857-1198</mods:nameIdentifier>
   </mods:name>
   <mods:name type="personal">
      <mods:namePart>CECÍLIA G. LEAL</mods:namePart>
      <mods:affiliation>Lancaster Environmental Centr, Lancaster University</mods:affiliation>
      <mods:role>
         <mods:roleTerm type="text">author</mods:roleTerm>
      </mods:role>
      <mods:nameIdentifier type="orcid">0000-0002-0108-8572</mods:nameIdentifier>
   </mods:name>
   <mods:name type="personal">
      <mods:namePart>PAULO S. POMPEU</mods:namePart>
      <mods:affiliation>Universidade Federal de Lavras, Departamento de Ecologia e Conservação</mods:affiliation>
      <mods:role>
         <mods:roleTerm type="text">author</mods:roleTerm>
      </mods:role>
      <mods:nameIdentifier type="orcid">0000-0002-7938-1517</mods:nameIdentifier>
   </mods:name>
   <mods:extension>
      <mods:dateAvailable encoding="iso8601">2025-11-10T11:02:57.696802+00:00</mods:dateAvailable>
   </mods:extension>
   <mods:extension>
      <mods:dateAccessioned encoding="iso8601">2025-12-05T14:44:59.593840+00:00</mods:dateAccessioned>
   </mods:extension>
   <mods:originInfo>
      <mods:dateIssued encoding="iso8601">2025-11-17</mods:dateIssued>
   </mods:originInfo>
   <mods:identifier type="doi">10.1590/0001-3765202520241229</mods:identifier>
   <mods:identifier type="uri">http://www.scielosp.org/scielo.php?script=sci_arttext&amp;pid=S0001-37652025001201003&amp;tlng=en</mods:identifier>
   <mods:abstract>Abstract Although the contamination of microplastics is a very recent topic, knowledge increased rapidly, especially in the last decade. Despite this, freshwater ecosystems have received less attention than marine ones, particularly in the tropics. Considering the particularities of Tropical freshwater ecosystems that can be important in the microplastics dynamic, such as the high rate of untreated water, the flooding dynamics and high number of reservoirs, our review aims to present the state of the research of microplastic contamination in Tropical freshwater ecosystems, emphasizing the knowledge advances and existing gaps. We compared studies in different countries, ecosystems and type of samples, and identified gaps and needs for futures research. Although research and the complexity of studies have increased over the years, Tropical freshwater ecosystems are still understudied. We emphasized the need for more studies in African countries and Tropical Australia, as well as in reservoirs across all Tropical regions. It is also crucial to evaluate contamination related to flooding dynamics and in aquatic invertebrates. Advancements in research on this topic are essential to provide a clear picture of the real problem in the tropics, leading to the possibility of better mitigation and conservation actions in the future.</mods:abstract>
   <mods:language>
      <mods:languageTerm type="code" authority="iso639-2b">en</mods:languageTerm>
   </mods:language>
   <mods:accessCondition type="use and reproduction" xlink:href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</mods:accessCondition>
   <mods:subject>
      <mods:topic>plastic pollution</mods:topic>
   </mods:subject>
   <mods:subject>
      <mods:topic>Aquatic environment</mods:topic>
   </mods:subject>
   <mods:subject>
      <mods:topic>bibliometric review</mods:topic>
   </mods:subject>
   <mods:subject>
      <mods:topic>Tropical ecosystems</mods:topic>
   </mods:subject>
   <mods:titleInfo>
      <mods:title>Trends and gaps in microplastics research in Tropical freshwater ecosystems</mods:title>
   </mods:titleInfo>
   <mods:genre authority="marcgt">article</mods:genre>
   <mods:typeOfResource>text</mods:typeOfResource>
   <mods:relatedItem type="host">
      <mods:titleInfo>
         <mods:title>Gaceta Sanitaria</mods:title>
      </mods:titleInfo>
      <mods:originInfo>
         <mods:publisher>Editora Teste XOAI</mods:publisher>
      </mods:originInfo>
      <mods:part>
         <mods:date>2025</mods:date>
      </mods:part>
   </mods:relatedItem>
   <mods:location>
      <mods:url usage="primary display" access="object in context">http://www.scielosp.org/scielo.php?script=sci_arttext&amp;pid=S0001-37652025001201003&amp;tlng=en</mods:url>
      <mods:physicalLocation>SciELO Network</mods:physicalLocation>
   </mods:location>
   <mods:note type="funding">CAPES grant 001</mods:note>
   <mods:note type="funding">UKRI Future Leaders Fellowships grant MR/W011085/1</mods:note>
   <mods:note type="funding">CNPq grant 302328/2022–0</mods:note>
</mods:mods>

Referências

Dublin Core:

OAI-PMH:

Framework:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant