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

RawGit is shutting down, replace it with jsDelivr #1185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
8 changes: 4 additions & 4 deletions bird-a/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ Header set Access-Control-Allow-Origin *
Options +FollowSymLinks

# Rewrite rule to serve bird-a ontology directly
RewriteRule ^bird-a.owl$ https://rawgit.com/caiogit/bird-a/master/doc/ontology/bird-a.owl [R=303,L]
RewriteRule ^bird-a.owl$ https://cdn.jsdelivr.net/gh/caiogit/bird-a/doc/ontology/bird-a.owl [R=303,L]

# Rewrite rule to serve HTML content
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^.*$ http://www.essepuntato.it/lode/owlapi/https://rawgit.com/caiogit/bird-a/master/doc/ontology/bird-a.owl [R=303,L]
RewriteRule ^.*$ http://www.essepuntato.it/lode/owlapi/https://cdn.jsdelivr.net/gh/caiogit/bird-a/doc/ontology/bird-a.owl [R=303,L]

# Rewrite rule to serve RDF/XML content if requested
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^.*$ https://rawgit.com/caiogit/bird-a/master/doc/ontology/bird-a.owl [R=303,L]
RewriteRule ^.*$ https://cdn.jsdelivr.net/gh/caiogit/bird-a/doc/ontology/bird-a.owl [R=303,L]

# Choose the default response
RewriteRule ^.*$ https://rawgit.com/caiogit/bird-a/master/doc/ontology/bird-a.owl [R=303]
RewriteRule ^.*$ https://cdn.jsdelivr.net/gh/caiogit/bird-a/doc/ontology/bird-a.owl [R=303]
42 changes: 21 additions & 21 deletions library/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -68,70 +68,70 @@ RewriteRule ^mwo$ http://dini-ag-kim.github.io/movingwall/movingwall.html [R=303

# Rewrite rule to serve RDF/XML content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^ecpo$ https://cdn.rawgit.com/cKlee/ecpo/gh-pages/ecpo.owl [R=303,L]
RewriteRule ^ecpo$ https://cdn.jsdelivr.net/gh/cKlee/ecpo@gh-pages/ecpo.owl [R=303,L]

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^ssso$ https://cdn.rawgit.com/gbv/ssso/gh-pages/ssso.owl [R=303,L]
RewriteRule ^ssso$ https://cdn.jsdelivr.net/gh/gbv/ssso@gh-pages/ssso.owl [R=303,L]

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^libso$ https://cdn.rawgit.com/gbv/libso/gh-pages/libso.owl [R=303,L]
RewriteRule ^libso$ https://cdn.jsdelivr.net/gh/gbv/libso@gh-pages/libso.owl [R=303,L]

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^dso$ https://cdn.rawgit.com/gbv/dso/gh-pages/dso.owl [R=303,L]
RewriteRule ^dso$ https://cdn.jsdelivr.net/gh/gbv/dso@gh-pages/dso.owl [R=303,L]

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^holding$ https://cdn.rawgit.com/dini-ag-kim/holding-ontology/gh-pages/holding.owl [R=303,L]
RewriteRule ^holding$ https://cdn.jsdelivr.net/gh/dini-ag-kim/holding-ontology@gh-pages/holding.owl [R=303,L]

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^service$ https://cdn.rawgit.com/dini-ag-kim/service-ontology/gh-pages/service.owl [R=303,L]
RewriteRule ^service$ https://cdn.jsdelivr.net/gh/dini-ag-kim/service-ontology@gh-pages/service.owl [R=303,L]

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^daia$ https://cdn.rawgit.com/gbv/daiaspec/gh-pages/daia.owl [R=303,L]
RewriteRule ^daia$ https://cdn.jsdelivr.net/gh/gbv/daiaspec@gh-pages/daia.owl [R=303,L]

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^paia$ https://cdn.rawgit.com/gbv/paia-rdf/gh-pages/paia.owl [R=303,L]
RewriteRule ^paia$ https://cdn.jsdelivr.net/gh/gbv/paia-rdf@gh-pages/paia.owl [R=303,L]

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^mwo$ https://cdn.rawgit.com/dini-ag-kim/movingwall/gh-pages/movingwall.owl [R=303,L]
RewriteRule ^mwo$ https://cdn.jsdelivr.net/gh/dini-ag-kim/movingwall@gh-pages/movingwall.owl [R=303,L]

# Rewrite rule to serve Turtle content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^ecpo$ https://cdn.rawgit.com/cKlee/ecpo/gh-pages/ecpo.ttl [R=303,L]
RewriteRule ^ecpo$ https://cdn.jsdelivr.net/gh/cKlee/ecpo@gh-pages/ecpo.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^ssso$ https://cdn.rawgit.com/gbv/ssso/gh-pages/ssso.ttl [R=303,L]
RewriteRule ^ssso$ https://cdn.jsdelivr.net/gh/gbv/ssso@gh-pages/ssso.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^libso$ https://cdn.rawgit.com/gbv/libso/gh-pages/libso.ttl [R=303,L]
RewriteRule ^libso$ https://cdn.jsdelivr.net/gh/gbv/libso@gh-pages/libso.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^dso$ https://cdn.rawgit.com/gbv/dso/gh-pages/dso.ttl [R=303,L]
RewriteRule ^dso$ https://cdn.jsdelivr.net/gh/gbv/dso@gh-pages/dso.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^holding$ https://cdn.rawgit.com/dini-ag-kim/holding-ontology/gh-pages/holding.ttl [R=303,L]
RewriteRule ^holding$ https://cdn.jsdelivr.net/gh/dini-ag-kim/holding-ontology@gh-pages/holding.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^service$ https://cdn.rawgit.com/dini-ag-kim/service-ontology/gh-pages/service.ttl [R=303,L]
RewriteRule ^service$ https://cdn.jsdelivr.net/gh/dini-ag-kim/service-ontology@gh-pages/service.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^daia$ https://cdn.rawgit.com/gbv/daiaspec/gh-pages/daia.ttl [R=303,L]
RewriteRule ^daia$ https://cdn.jsdelivr.net/gh/gbv/daiaspec@gh-pages/daia.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^paia$ https://cdn.rawgit.com/gbv/paia-rdf/gh-pages/paia.ttl [R=303,L]
RewriteRule ^paia$ https://cdn.jsdelivr.net/gh/gbv/paia-rdf@gh-pages/paia.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} text/turtle
RewriteRule ^mwo$ https://cdn.rawgit.com/dini-ag-kim/movingwall/gh-pages/movingwall.ttl [R=303,L]
RewriteRule ^mwo$ https://cdn.jsdelivr.net/gh/dini-ag-kim/movingwall@gh-pages/movingwall.ttl [R=303,L]


# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} application/ld\+json
RewriteRule ^ecpo$ https://cdn.rawgit.com/cKlee/ecpo/gh-pages/context.jsonld [R=303,L]
RewriteRule ^ecpo$ https://cdn.jsdelivr.net/gh/cKlee/ecpo@gh-pages/context.jsonld [R=303,L]

# Choose the default response
# ---------------------------

# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default
# RewriteRule ^$ https://cdn.rawgit.com/cKlee/ecpo/gh-pages/ecpo.owl [R=303]
# RewriteRule ^$ https://cdn.jsdelivr.net/gh/cKlee/ecpo@gh-pages/ecpo.owl [R=303]

# Rewrite rule to serve HTML content from the vocabulary URI by default (disabled)
# (To enable this option, uncomment the rewrite rule below, and comment
Expand All @@ -146,4 +146,4 @@ RewriteRule ^holding$ http://dini-ag-kim.github.io/holding-ontology/holding.html
RewriteRule ^service$ http://dini-ag-kim.github.io/service-ontology/service.html [R=303,L]
RewriteRule ^daia$ http://gbv.github.io/daiaspec/daia.html [R=303,L]
RewriteRule ^paia$ http://gbv.github.io/paia-rdf/paia.html [R=303,L]
RewriteRule ^mwo$ https://cdn.rawgit.com/dini-ag-kim/movingwall/gh-pages/movingwall.ttl [R=303,L]
RewriteRule ^mwo$ https://cdn.jsdelivr.net/gh/dini-ag-kim/movingwall@gh-pages/movingwall.ttl [R=303,L]
38 changes: 19 additions & 19 deletions library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,89 +12,89 @@ https://w3id.org/library/ecpo

serve HTML / Default --> http://cklee.github.io/ecpo/ecpo.html

serve RDF/XML --> https://cdn.rawgit.com/cKlee/ecpo/gh-pages/ecpo.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/cKlee/ecpo@gh-pages/ecpo.owl

serve Turtle --> https://cdn.rawgit.com/cKlee/ecpo/gh-pages/ecpo.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/cKlee/ecpo@gh-pages/ecpo.ttl

serve JSON-LD --> https://cdn.rawgit.com/cKlee/ecpo/gh-pages/context.jsonld
serve JSON-LD --> https://cdn.jsdelivr.net/gh/cKlee/ecpo@gh-pages/context.jsonld

### Simple Service Status Ontology (SSSO)

https://w3id.org/library/ssso

serve HTML / Default --> http://gbv.github.io/ssso/ssso.html

serve RDF/XML --> https://cdn.rawgit.com/gbv/ssso/gh-pages/ssso.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/gbv/ssso@gh-pages/ssso.owl

serve Turtle --> https://cdn.rawgit.com/gbv/ssso/gh-pages/ssso.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/gbv/ssso@gh-pages/ssso.ttl

### Library Service Ontology

https://w3id.org/library/libso

serve HTML / Default --> http://gbv.github.io/libso/libso.html

serve RDF/XML --> https://cdn.rawgit.com/gbv/libso/gh-pages/libso.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/gbv/libso@gh-pages/libso.owl

serve Turtle --> https://cdn.rawgit.com/gbv/libso/gh-pages/libso.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/gbv/libso@gh-pages/libso.ttl

### Document Service Ontology (DSO)

https://w3id.org/library/dso

serve HTML / Default --> http://gbv.github.io/dso/dso.html

serve RDF/XML --> https://cdn.rawgit.com/gbv/dso/gh-pages/dso.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/gbv/dso@gh-pages/dso.owl

serve Turtle --> https://cdn.rawgit.com/gbv/dso/gh-pages/dso.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/gbv/dso@gh-pages/dso.ttl

### Holding Ontology

https://w3id.org/library/holding

serve HTML / Default --> http://dini-ag-kim.github.io/holding-ontology/holding.html

serve RDF/XML --> https://cdn.rawgit.com/dini-ag-kim/holding-ontology/gh-pages/holding.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/dini-ag-kim/holding-ontology@gh-pages/holding.owl

serve Turtle --> https://cdn.rawgit.com/dini-ag-kim/holding-ontology/gh-pages/holding.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/dini-ag-kim/holding-ontology@gh-pages/holding.ttl

### Service Ontology

https://w3id.org/library/service

serve HTML / Default --> http://dini-ag-kim.github.io/service-ontology/service.html

serve RDF/XML --> https://cdn.rawgit.com/dini-ag-kim/service-ontology/gh-pages/service.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/dini-ag-kim/service-ontology@gh-pages/service.owl

serve Turtle --> https://cdn.rawgit.com/dini-ag-kim/service-ontology/gh-pages/service.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/dini-ag-kim/service-ontology@gh-pages/service.ttl

### Document Availability Information API (DAIA)

https://w3id.org/library/daia

serve HTML / Default --> http://gbv.github.io/daiaspec/daia.html

serve RDF/XML --> https://cdn.rawgit.com/gbv/daiaspec/gh-pages/daia.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/gbv/daiaspec@gh-pages/daia.owl

serve Turtle --> https://cdn.rawgit.com/gbv/daiaspec/gh-pages/daia.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/gbv/daiaspec@gh-pages/daia.ttl

### PAIA Ontology

https://w3id.org/library/paia

serve HTML / Default --> http://gbv.github.io/paia-rdf/paia.html

serve RDF/XML --> https://cdn.rawgit.com/gbv/paia-rdf/gh-pages/paia.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/gbv/paia-rdf@gh-pages/paia.owl

serve Turtle --> https://cdn.rawgit.com/gbv/paia-rdf/gh-pages/paia.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/gbv/paia-rdf@gh-pages/paia.ttl

### Moving Wall Ontology

https://w3id.org/library/mwo

serve HTML / Default --> http://dini-ag-kim.github.io/movingwall/movingwall.html

serve RDF/XML --> https://cdn.rawgit.com/dini-ag-kim/movingwall/gh-pages/movingwall.owl
serve RDF/XML --> https://cdn.jsdelivr.net/gh/dini-ag-kim/movingwall@gh-pages/movingwall.owl

serve Turtle --> https://cdn.rawgit.com/dini-ag-kim/movingwall/gh-pages/movingwall.ttl
serve Turtle --> https://cdn.jsdelivr.net/gh/dini-ag-kim/movingwall@gh-pages/movingwall.ttl

4 changes: 2 additions & 2 deletions nidash/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ RewriteEngine on

RewriteRule ^$ http://nidm.nidash.org/ [R=302,L]
RewriteRule ^specs$ http://nidm.nidash.org/specs/ [R=302,L]
RewriteRule ^context$ https://cdn.rawgit.com/incf-nidash/nidm-query/master/context.json [R=302,L]
RewriteRule ^nidm$ https://cdn.rawgit.com/incf-nidash/nidm/master/nidm/nidm.owl [R=302,L]
RewriteRule ^context$ https://cdn.jsdelivr.net/gh/incf-nidash/nidm-query/context.json [R=302,L]
RewriteRule ^nidm$ https://cdn.jsdelivr.net/gh/incf-nidash/nidm/nidm/nidm.owl [R=302,L]
RewriteRule ^results$ http://nidm.nidash.org/specs/nidm-results_110.html [R=302,L]
2 changes: 1 addition & 1 deletion rdw/.htaccess
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ http://www.rdw.nl/ [R=302,L]
RewriteRule ^vehicles$ https://rawgit.com/dvh/KentekenAPI/master/vocabulary.json [R=302,L]
RewriteRule ^vehicles$ https://cdn.jsdelivr.net/gh/dvh/KentekenAPI/vocabulary.json [R=302,L]
2 changes: 1 addition & 1 deletion rdw/contexts/.htaccess
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^vehicles$ https://rawgit.com/dvh/KentekenAPI/master/context.json [R=302,L]
RewriteRule ^vehicles$ https://cdn.jsdelivr.net/gh/dvh/KentekenAPI/context.json [R=302,L]
2 changes: 1 addition & 1 deletion tree/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Headers DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified$
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^.*$ https://rawgit.com/pietercolpaert/TreeOntology/master/tree.ttl [R=303,L]
RewriteRule ^.*$ https://cdn.jsdelivr.net/gh/pietercolpaert/TreeOntology/tree.ttl [R=303,L]