IATI / D-Portal

http://d-portal.org/
Other
30 stars 23 forks source link

TEI tag vocabulary : import/use names? #649

Closed stevieflow closed 1 year ago

stevieflow commented 1 year ago

Following on from https://github.com/devinit/D-Portal/issues/648

The filter search works perfectly:

http://d-portal.org/ctrack.html?/tag@vocabulary=4#view=ended

On viewing a specific activity, the name for the relevant code isn't dsiplayed

d-portal (16)

I assume that this is because the code list isnt imported. Would it be possible to do that? It's available as a spreadsheet (which I think the download will be a stable URL) via https://europa.eu/capacity4dev/joint-programming/documents/tei-codes-0


An alternative could be to use the descriptive text that a publisher supplies (if at all). In the case of this example, it is provided:

<tag code="TEI000" vocabulary="4">
<narrative xml:lang="EN">Generic code to be used when no attribution to a specific TEI</narrative>
</tag>

Thanks

notshi commented 1 year ago

Thanks for raising.

Narratives for tag element of non-embedded codelists should now be live on d-portal.

stevieflow commented 1 year ago

Amazing - thanks @notshi

Narratives for tag element of non-embedded codelists

This is probably a new issue: but is that how d-portal generally treats these types of codes? Thanks

notshi commented 1 year ago

Yes, when they are non-embedded codelists, we display the narrative element when we find them as we cannot look up the description otherwise.

stevieflow commented 1 year ago

Thanks @notshi