Description Usage Arguments Value Author(s) Examples
To normalize and transform URLs into a canonical form.
1 | LinkNormalization(links, current)
|
links |
character, one or more URLs to Normalize. |
current |
character, The current page URL where links are located |
Vector of normalized urls
salim khalil
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # Normalize a set of links
links<-c("http://www.twitter.com/share?url=http://glofile.com/page.html",
"/finance/banks/page-2017.html",
"./section/subscription.php",
"//section/",
"www.glofile.com/home/",
"IndexEn.aspx",
"glofile.com/sport/foot/page.html",
"sub.glofile.com/index.php",
"http://glofile.com/page.html#1",
"?tags%5B%5D=votingrights&sort=popular"
)
links<-LinkNormalization(links,"http://glofile.com" )
links
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.