packages feed

html-conduit 1.2.1.1 → 1.2.1.2

raw patch · 3 files changed

+34/−2 lines, 3 filesdep ~xml-conduitPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: xml-conduit

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,8 @@+## 1.2.1.2++* Remove an upper bound+* Doc improvement+ ## 1.2.1.1  * Allow xml-conduit 1.4
README.md view
@@ -2,3 +2,30 @@ mismatched tags, so that there shouldn't be any parse failures. It does not handle a full HTML document rendering, such as adding missing html and head tags.++Simple usage example:++```haskell+#!/usr/bin/env stack+{- stack --install-ghc --resolver lts-6.23 runghc+   --package http-conduit --package html-conduit+-}+{-# LANGUAGE OverloadedStrings #-}+import qualified Data.Text.IO        as T+import           Network.HTTP.Simple (httpSink)+import           Text.HTML.DOM       (sinkDoc)+import           Text.XML.Cursor     (attributeIs, content, element,+                                      fromDocument, ($//), (&/), (&//))++main :: IO ()+main = do+    doc <- httpSink "http://www.yesodweb.com/book" $ const sinkDoc+    let cursor = fromDocument doc+    T.putStrLn "Chapters in the Yesod book:\n"+    mapM_ T.putStrLn+      $ cursor+      $// attributeIs "class" "main-listing"+      &// element "li"+      &/ element "a"+      &/ content+```
html-conduit.cabal view
@@ -1,5 +1,5 @@ Name:                html-conduit-Version:             1.2.1.1+Version:             1.2.1.2 Synopsis:            Parse HTML documents using xml-conduit datatypes. Description:         This package uses tagstream-conduit for its parser. It automatically balances mismatched tags, so that there shouldn't be any parse failures. It does not handle a full HTML document rendering, such as adding missing html and head tags. Homepage:            https://github.com/snoyberg/xml@@ -22,7 +22,7 @@                      , resourcet                        >= 0.3            && < 1.2                      , conduit                          >= 1.0            && < 1.3                      , conduit-extra                    >= 1.1.1-                     , xml-conduit                      >= 1.3            && < 1.5+                     , xml-conduit                      >= 1.3                      , tagstream-conduit                >= 0.5.5.3        && < 0.6                      , xml-types                        >= 0.3            && < 0.4