yuuko: A transcendental HTML parser gently wrapping the HXT library

[ bsd3, library, program, text ] [ Propose Tags ] [ Report a vulnerability ]

Parse without thinking ...

yuuko "/body" "htmlbodyhi<body>/html"

["hi"]

[Skip to Readme]

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 && <5), bytestring, containers, curl, deepseq, directory, filepath, haskell98, mtl, network, parsec [details]
License BSD-3-Clause
Author Jinjing Wang
Maintainer Jinjing Wang <nfjinjing@gmail.com>
Category Text
Home page http://github.com/nfjinjing/yuuko
Uploaded by JinjingWang at 2010-11-28T05:10:32Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Executables yuuko
Downloads 4409 total (23 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 13 reports]

Readme for yuuko-2010.11.28

[back to package description]

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