View source: R/oai_available.R
oai_available | R Documentation |
Silently test if OAI-PMH service is available under the URL provided.
oai_available(u, ...)
u |
base URL to OAI-PMH service |
... |
other arguments passed to |
TRUE
or FALSE
if the service is available.
## Not run: url_list <- list( archivesic="http://archivesic.ccsd.cnrs.fr/oai/oai.php", datacite = "http://oai.datacite.org/oai", # No OAI-PMH here google = "http://google.com" ) sapply(url_list, oai_available) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.