powered by
Retrieve a character vector of sitemaps from a parsed robots.txt object
sitemaps(xp)
charcter vector of all sitemaps found in the parsed robots.txt file
robots.txt
A robxp object
robxp
imdb <- paste0(readLines(system.file("extdata", "imdb-robots.txt", package="rep")), collapse="\n") rt <- robxp(imdb) sitemaps(rt)
Run the code above in your browser using DataLab