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

Fairchecker button live deploys #774

Merged
merged 5 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions _includes/live-deploy-site-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,18 @@ <h4>Implemented Profiles</h4>
<small class="text-muted me-2">{{profile.highlight}}</small>
{%- endif %}
</div>
{%- if profile.exampleURL != nil %}
{%- if profile.exampleURL != nil and profile.exampleURL != "http://" %}
<div class="ps-1">
<a href="{{profile.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.exampleHoverText}}" class="btn btn-sm btn-primary" target="_blank">Page</a>
</div>
{%- endif %}
{%- if profile.exampleURL != nil %}
<div class="ps-1">
<a href="https://validator.schema.org/#url={{profile.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.schemaHoverText}}" class="btn btn-sm btn-primary" target="_blank">SMV</a>
</div>
{%- endif %}
{%- if profile.exampleURL != nil %}
<div class="ps-1">
<a href="https://swel.macs.hw.ac.uk/scraper/getRDF?url={{profile.exampleURL}}&output=jsonld" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.bmuseHoverText}}" class="btn btn-sm btn-primary" target="_blank">BMUSE</a>
<a href="https://fair-checker.france-bioinformatique.fr/api/inspect/get_rdf_metadata?url={{profile.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.jsonldHoverText}}" class="btn btn-sm btn-primary text-nowrap" target="_blank">JSON-LD</a>
</div>
<div class="ps-1">
<a href="https://fair-checker.france-bioinformatique.fr/bioschemas_validation?url={{profile.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.faircheckerHoverText}}" class="btn btn-sm btn-primary text-nowrap" target="_blank">FAIR-Checker</a>
</div>
{%- endif %}
</div>
Expand Down
18 changes: 11 additions & 7 deletions pages/_developer/liveDeploys.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
exampleHoverText: "View example page"
schemaHoverText: "Visualise on the Schema.org Markup Validation Tool (SMV)"
bmuseHoverText: "Retrieve using Bioschemas Scraping service"
faircheckerHoverText: "Use FAIR-Checker to validate Bioschemas profiles"
jsonldHoverText: "Use FAIR-Checker to harvest Bioschemas markup"
---
<!-- This count is used to provide a unique ID -->
{%- assign count = 0 %}
Expand Down Expand Up @@ -105,7 +107,10 @@ <h2 class="accordion-header pt-0" id="profiles_heading{{profile.name | json }}">
<a href="https://validator.schema.org/#url={{live.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.schemaHoverText}}" class="btn btn-sm btn-primary" target="_blank">SMV</a>
</div>
<div class="ps-1">
<a href="https://swel.macs.hw.ac.uk/scraper/getRDF?url={{live.exampleURL}}&output=jsonld" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.bmuseHoverText}}" class="btn btn-sm btn-primary" target="_blank">BMUSE</a>
<a href="https://fair-checker.france-bioinformatique.fr/api/inspect/get_rdf_metadata?url={{live.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.jsonldHoverText}}" class="btn btn-sm btn-primary text-nowrap" target="_blank">JSON-LD</a>
</div>
<div class="ps-1">
<a href="https://fair-checker.france-bioinformatique.fr/bioschemas_validation?url={{live.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.faircheckerHoverText}}" class="btn btn-sm btn-primary text-nowrap" target="_blank">FAIR-Checker</a>
</div>
{%- endif %}
{%- break %}
Expand Down Expand Up @@ -238,19 +243,18 @@ <h4>Implemented Profiles</h4>
<small class="text-muted me-2">{{profile.highlight}}</small>
{%- endif %}
</div>
{%- if profile.exampleURL != nil %}
{%- if profile.exampleURL != nil and profile.exampleURL != "http://" %}
<div class="ps-1">
<a href="{{profile.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.exampleHoverText}}" class="btn btn-sm btn-primary" target="_blank">Page</a>
</div>
{%- endif %}
{%- if profile.exampleURL != nil %}
<div class="ps-1">
<a href="https://validator.schema.org/#url={{profile.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.schemaHoverText}}" class="btn btn-sm btn-primary" target="_blank">SMV</a>
</div>
{%- endif %}
{%- if profile.exampleURL != nil %}
<div class="ps-1">
<a href="https://swel.macs.hw.ac.uk/scraper/getRDF?url={{profile.exampleURL}}&output=jsonld" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.bmuseHoverText}}" class="btn btn-sm btn-primary" target="_blank">BMUSE</a>
<a href="https://fair-checker.france-bioinformatique.fr/api/inspect/get_rdf_metadata?url={{profile.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.jsonldHoverText}}" class="btn btn-sm btn-primary text-nowrap" target="_blank">JSON-LD</a>
</div>
<div class="ps-1">
<a href="https://fair-checker.france-bioinformatique.fr/bioschemas_validation?url={{profile.exampleURL}}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{page.faircheckerHoverText}}" class="btn btn-sm btn-primary text-nowrap" target="_blank">FAIR-Checker</a>
</div>
{%- endif %}
</div>
Expand Down