Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable auto-reference to TDWG eco terms #1

Open
kcopas opened this issue Jan 17, 2025 · 3 comments
Open

Enable auto-reference to TDWG eco terms #1

kcopas opened this issue Jan 17, 2025 · 3 comments
Assignees

Comments

@kcopas
Copy link
Member

kcopas commented Jan 17, 2025

In the current and upcoming Humboldt-related documents, I'd like us to be able to link consistently to the TDWG 'eco' terms, just as we do with for Darwin Core terms. The syntax looks consistent on the TDWG end, but I don't know where this reference is enabled.

As a reminder, this enables us to use

term:dwc[scientificName]

to link to

https://dwc.tdwg.org/list/#dwc_scientificName

So then, when authors reference a Humboldt Extension term, we could use

term:eco[siteCount]

to link to

https://eco.tdwg.org/list/#eco_siteCount

@kcopas
Copy link
Member Author

kcopas commented Jan 18, 2025

NOTE: reviewing the doc, while I think the function is appropriate, it would make sense to differentiate the style so that a reader can quickly differentiate between DwC and Humboldt terms.

If that's not possible, adjusting the display to include dwc:[term] or eco:[term] may be a next-best option.

We'll want to adjust the explanation at the start of §2 accordingly.

@MattBlissett
Copy link
Member

MattBlissett commented Jan 27, 2025

Done.

You can write term:dwc[dwc:basisOfRecord] if you'd like the "dwc:" to show in the result, and similarly for "eco:".

For styling see the example in docinfo.html for the HTML, which just changes the colour. I don't have a way to apply custom styles to the PDF, it could only be applied to all PDFs.

@kcopas
Copy link
Member Author

kcopas commented Jan 27, 2025 via email

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

No branches or pull requests

2 participants