Materials-Data-Science-and-Informatics / PIDA

PIDA is a service for providing web resources with Permanent URLs (PURLs), to ensure they remain available and can be accessed reliably remain available for future access by both humans and machines.
https://purls.helmholtz-metadaten.de/
MIT License
3 stars 5 forks source link

[new feature] updating htaccess template #42

Closed saidfathalla closed 9 months ago

saidfathalla commented 9 months ago

We are updating the htaccess template to adhere to the new release of PIDA with the statistics feature. Here is the pattern that should exist in each htaccess file:

# Contact person name: Max Mustermann 
# Contact person email: Max.Mustermann@somedomain.de
# Artefact name: exo

In the case of registering multiple artifacts in the same htaccess file

# Contact person name: Mustafa Soylu
# Contact person email: m.soylu@fz-juelich.de
# Artifacts: ao, bo, do
# Artifact Names: Alpha Ontology, Beta Ontology, Delta Ontology
mustafasoylu commented 9 months ago

@saidfathalla I implemented the parser for the structure below. Could you update the template accordingly?

# Contact person name: Mustafa Soylu
# Contact person email: m.soylu@fz-juelich.de
# Artifacts: ao
# Artifact Names: Alpha Ontology
saidfathalla commented 9 months ago

sure. Thats why I created this issue ;)

saidfathalla commented 9 months ago

how do you process several artifacts in the same file (e.g.DISOS)? is it the same?

mustafasoylu commented 9 months ago

If there are multiple artifacts, we need to separate them with a comma.

# Contact person name: Mustafa Soylu
# Contact person email: m.soylu@fz-juelich.de
# Artifacts: ao, bo, do
# Artifact Names: Alpha Ontology, Beta Ontology, Delta Ontology