The yuuko package

[Tags:bsd3, library, program]

Parse without thinking ...

yuuko "//body" "<html><body>hi</body></html>"

> ["hi"]


[Skip to Readme]

Properties

Versions 2009.10.23, 2009.10.23.1, 2009.10.23.2, 2010.1.23, 2010.11.5, 2010.11.28
Change log changelog.md
Dependencies base (==4.*), bytestring, containers, curl, deepseq, directory, filepath, haskell98, mtl, network, parsec [details]
License BSD3
Author Jinjing Wang
Maintainer Jinjing Wang <nfjinjing@gmail.com>
Stability Unknown
Category Text
Home page http://github.com/nfjinjing/yuuko
Uploaded Sun Nov 28 05:10:32 UTC 2010 by JinjingWang
Distributions NixOS:2010.11.28
Downloads 1095 total (24 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-11-14 [all 6 reports]

Modules

  • Text
    • HTML
      • Text.HTML.Yuuko
        • Text.HTML.Yuuko.Cookbook
  • Yuuko
    • Control
      • Arrow
        • Yuuko.Control.Arrow.ArrowIO
        • Yuuko.Control.Arrow.ArrowIf
        • Yuuko.Control.Arrow.ArrowList
        • Yuuko.Control.Arrow.ArrowNF
        • Yuuko.Control.Arrow.ArrowState
        • Yuuko.Control.Arrow.ArrowTree
        • Yuuko.Control.Arrow.IOListArrow
        • Yuuko.Control.Arrow.IOStateListArrow
        • Yuuko.Control.Arrow.ListArrow
        • Yuuko.Control.Arrow.ListArrows
        • Yuuko.Control.Arrow.StateListArrow
    • Data
      • Yuuko.Data.AssocList
      • Yuuko.Data.Atom
      • Char
        • Yuuko.Data.Char.UTF8
      • Yuuko.Data.NavTree
      • Tree
        • Yuuko.Data.Tree.Class
        • NTree
          • Yuuko.Data.Tree.NTree.TypeDefs
    • Text
      • XML
        • HXT
          • Yuuko.Text.XML.HXT.Arrow
            • Yuuko.Text.XML.HXT.Arrow.DTDProcessing
            • Yuuko.Text.XML.HXT.Arrow.DocumentInput
            • Yuuko.Text.XML.HXT.Arrow.DocumentOutput
            • Yuuko.Text.XML.HXT.Arrow.Edit
            • Yuuko.Text.XML.HXT.Arrow.GeneralEntitySubstitution
            • Yuuko.Text.XML.HXT.Arrow.Namespace
            • Yuuko.Text.XML.HXT.Arrow.ParserInterface
            • Yuuko.Text.XML.HXT.Arrow.Pickle
              • Yuuko.Text.XML.HXT.Arrow.Pickle.DTD
              • Yuuko.Text.XML.HXT.Arrow.Pickle.Schema
              • Yuuko.Text.XML.HXT.Arrow.Pickle.Xml
            • Yuuko.Text.XML.HXT.Arrow.ProcessDocument
            • Yuuko.Text.XML.HXT.Arrow.ReadDocument
            • Yuuko.Text.XML.HXT.Arrow.WriteDocument
            • Yuuko.Text.XML.HXT.Arrow.XPath
            • Yuuko.Text.XML.HXT.Arrow.XPathSimple
            • Yuuko.Text.XML.HXT.Arrow.XmlArrow
            • Yuuko.Text.XML.HXT.Arrow.XmlIOStateArrow
            • Yuuko.Text.XML.HXT.Arrow.XmlRegex
          • DOM
            • Yuuko.Text.XML.HXT.DOM.FormatXmlTree
            • Yuuko.Text.XML.HXT.DOM.Interface
            • Yuuko.Text.XML.HXT.DOM.IsoLatinTables
            • Yuuko.Text.XML.HXT.DOM.MimeTypeDefaults
            • Yuuko.Text.XML.HXT.DOM.MimeTypes
            • Yuuko.Text.XML.HXT.DOM.QualifiedName
            • Yuuko.Text.XML.HXT.DOM.ShowXml
            • Yuuko.Text.XML.HXT.DOM.TypeDefs
            • Yuuko.Text.XML.HXT.DOM.UTF8Decoding
            • Yuuko.Text.XML.HXT.DOM.Unicode
            • Yuuko.Text.XML.HXT.DOM.Util
            • Yuuko.Text.XML.HXT.DOM.XmlKeywords
            • Yuuko.Text.XML.HXT.DOM.XmlNode
            • Yuuko.Text.XML.HXT.DOM.XmlOptions
          • DTDValidation
            • Yuuko.Text.XML.HXT.DTDValidation.AttributeValueValidation
            • Yuuko.Text.XML.HXT.DTDValidation.DTDValidation
            • Yuuko.Text.XML.HXT.DTDValidation.DocTransformation
            • Yuuko.Text.XML.HXT.DTDValidation.DocValidation
            • Yuuko.Text.XML.HXT.DTDValidation.IdValidation
            • Yuuko.Text.XML.HXT.DTDValidation.RE
            • Yuuko.Text.XML.HXT.DTDValidation.TypeDefs
            • Yuuko.Text.XML.HXT.DTDValidation.Validation
            • Yuuko.Text.XML.HXT.DTDValidation.XmlRE
          • IO
            • Yuuko.Text.XML.HXT.IO.GetFILE
            • Yuuko.Text.XML.HXT.IO.GetHTTPLibCurl
          • Parser
            • Yuuko.Text.XML.HXT.Parser.HtmlParsec
            • Yuuko.Text.XML.HXT.Parser.ProtocolHandlerUtil
            • Yuuko.Text.XML.HXT.Parser.TagSoup
            • Yuuko.Text.XML.HXT.Parser.XhtmlEntities
            • Yuuko.Text.XML.HXT.Parser.XmlCharParser
            • Yuuko.Text.XML.HXT.Parser.XmlDTDParser
            • Yuuko.Text.XML.HXT.Parser.XmlDTDTokenParser
            • Yuuko.Text.XML.HXT.Parser.XmlEntities
            • Yuuko.Text.XML.HXT.Parser.XmlParsec
            • Yuuko.Text.XML.HXT.Parser.XmlTokenParser
          • Yuuko.Text.XML.HXT.RelaxNG
            • Yuuko.Text.XML.HXT.RelaxNG.BasicArrows
            • Yuuko.Text.XML.HXT.RelaxNG.CreatePattern
            • Yuuko.Text.XML.HXT.RelaxNG.DataTypeLibMysql
            • Yuuko.Text.XML.HXT.RelaxNG.DataTypeLibUtils
            • Yuuko.Text.XML.HXT.RelaxNG.DataTypeLibraries
            • Yuuko.Text.XML.HXT.RelaxNG.DataTypes
            • Yuuko.Text.XML.HXT.RelaxNG.PatternFunctions
            • Yuuko.Text.XML.HXT.RelaxNG.PatternToString
            • Yuuko.Text.XML.HXT.RelaxNG.Schema
            • Yuuko.Text.XML.HXT.RelaxNG.SchemaGrammar
            • Yuuko.Text.XML.HXT.RelaxNG.Simplification
            • Unicode
              • Yuuko.Text.XML.HXT.RelaxNG.Unicode.Blocks
              • Yuuko.Text.XML.HXT.RelaxNG.Unicode.CharProps
            • Yuuko.Text.XML.HXT.RelaxNG.Utils
            • Yuuko.Text.XML.HXT.RelaxNG.Validation
            • Yuuko.Text.XML.HXT.RelaxNG.Validator
            • XmlSchema
              • Yuuko.Text.XML.HXT.RelaxNG.XmlSchema.DataTypeLibW3C
              • Yuuko.Text.XML.HXT.RelaxNG.XmlSchema.Regex
              • Yuuko.Text.XML.HXT.RelaxNG.XmlSchema.RegexMatch
              • Yuuko.Text.XML.HXT.RelaxNG.XmlSchema.RegexParser
          • Yuuko.Text.XML.HXT.Version
          • Yuuko.Text.XML.HXT.XPath
            • Yuuko.Text.XML.HXT.XPath.NavTree
            • Yuuko.Text.XML.HXT.XPath.XPathArithmetic
            • Yuuko.Text.XML.HXT.XPath.XPathDataTypes
            • Yuuko.Text.XML.HXT.XPath.XPathEval
            • Yuuko.Text.XML.HXT.XPath.XPathFct
            • Yuuko.Text.XML.HXT.XPath.XPathKeywords
            • Yuuko.Text.XML.HXT.XPath.XPathParser
            • Yuuko.Text.XML.HXT.XPath.XPathToNodeSet
            • Yuuko.Text.XML.HXT.XPath.XPathToString

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for yuuko

Readme for yuuko-2010.11.28

Yuuko

A transcendental HTML parser gently wrapping the HXT library

Example

> echo '<div>hi</div><div>there</div>' | yuuko //div

hi
there

Tutorial

cabal update
cabal install yuuko

ghci

> :m + Text.HTML.Yuuko
> -- with XPath selectors
> yuuko "//body" "<html><body>hi</body></html>"

Reference

Who is Yuuko?

yuuko