From b4082b69966525188ff341bd7343a7d8ea034064 Mon Sep 17 00:00:00 2001 From: boB Rudis Date: Mon, 3 Oct 2016 16:07:04 -0400 Subject: [PATCH] README --- README.Rmd | 2 +- README.md | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.Rmd b/README.Rmd index f91b426..9a2ea8c 100644 --- a/README.Rmd +++ b/README.Rmd @@ -2,7 +2,7 @@ output: rmarkdown::github_document --- [![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/htmltidy.svg?branch=master)](https://travis-ci.org/hrbrmstr/htmltidy) -[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/NA/NA?branch=master&svg=true)](https://ci.appveyor.com/project/NA/NA) +[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/hrbrmstr/htmltidy?branch=master&svg=true)](https://ci.appveyor.com/project/hrbrmstr/htmltidy) [![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/htmltidy)](https://cran.r-project.org/package=htmltidy) ![downloads](http://cranlogs.r-pkg.org/badges/grand-total/htmltidy) diff --git a/README.md b/README.md index 7e2917a..311e1e2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/htmltidy.svg?branch=master)](https://travis-ci.org/hrbrmstr/htmltidy) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/htmltidy)](https://cran.r-project.org/package=htmltidy) ![downloads](http://cranlogs.r-pkg.org/badges/grand-total/htmltidy) +[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/htmltidy.svg?branch=master)](https://travis-ci.org/hrbrmstr/htmltidy) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/hrbrmstr/htmltidy?branch=master&svg=true)](https://ci.appveyor.com/project/hrbrmstr/htmltidy) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/htmltidy)](https://cran.r-project.org/package=htmltidy) ![downloads](http://cranlogs.r-pkg.org/badges/grand-total/htmltidy) `htmltidy` — Tidy Up and Test XPath Queries on HTML and XML Content @@ -62,20 +62,16 @@ It can handle the `response` object directly: ``` r cat(tidy_html(res, list(TidyDocType="html5", TidyWrapLen=200))) ## -## +## ## -## +## ## ## ## ## -## This is some really poorly formatted HTML as is this -## portion +## This is some really poorly formatted HTML as is this portion ##
## ## @@ -246,7 +242,7 @@ sum(map_int(book, nchar)) ## [1] 207501 system.time(tidy_book <- tidy_html(book)) ## user system elapsed -## 0.022 0.000 0.022 +## 0.021 0.001 0.022 ``` (It's usually between 20 & 25 milliseconds to process those 202 kilobytes of HTML.) Not too shabby.