Description Usage Arguments Value Examples
'extract_urls_from_text' is called internally from 'archiv.fromText' but can be useful as a separate function if you want to filter which links you archive. Text extraction relies on the [readtext::readtext()] function from the package of the same name, so all file formats supported by 'readtext' are supported.
1 | extract_urls_from_text(fp, except = NULL)
|
fp |
A filepath or string. |
except |
A regular expression for URLs to exclude from extraction |
a List of Urls.
1 2 3 4 | ## Not run:
urlList <- extract_urls_from_text("textdoc.docx", except="doi\\.org\\/")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.