Description Usage Arguments Details Value
View source: R/get_search_contents.R
Retrieves the HTML contents from the first page of search hits for a given query.
1 | get_search_contents(solr_search_term, production = TRUE)
|
production |
(logical) perform search on the production site? default is TRUE |
term |
character string containing search term |
When using the test server (www-test.library.kent.edu), needed to modify approach because of the SSL certificate. - http://stackoverflow.com/questions/34551299/how-to-pass-ssl-verifypeer-in-rvest - https://curl.haxx.se/docs/sslcerts.html
List containing the following elements: - html xml_node containing the search result page's HTML - search_url character string displaying the query URL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.