dev-haskell/download-curl (haskell)

Search

Package Information

Description:
High-level file download based on URLs Download web content as strict or lazy bytestringrs, strings, HTML tags, XML, RSS or Atom feeds or JSON, using the curl network library. Importing the library: > import Network.Curl.Download Loading a webpage as a "ByteString": > doc <- openURI "http://haskell.org" Loading from a file: > doc <- openURI "file:///tmp/A.hs" Loading a HTML page as a list of tags: > tags <- openAsTags "http://haskell.org" Loading a HTML page as XML: > tags <- openAsXML "http://haskell.org" Loading an RSS or Atom feed: > feed <- openAsFeed "http://haskell.org" These data types can the be processed further with the XML, Feed and TagSoup libraries.
Homepage:
http://code.haskell.org/~dons/code/download-curl
License:
BSD

Versions

Version EAPI Keywords Slot
0.1.4-r2 8 ~amd64 0

Metadata

Description

Maintainers

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>haskell@gentoo.org</email>
		<name>Gentoo Haskell</name>
	</maintainer>
	<longdescription>
		High-level file download based on URLs
		
		Download web content as strict or lazy bytestringrs, strings, HTML
		tags, XML, RSS or Atom feeds or JSON, using the curl network library.
		
		Importing the library:
		
		&gt; import Network.Curl.Download
		
		Loading a webpage as a "ByteString":
		
		&gt; doc  &lt;- openURI "http://haskell.org"
		
		Loading from a file:
		
		&gt; doc  &lt;- openURI "file:///tmp/A.hs"
		
		Loading a HTML page as a list of tags:
		
		&gt; tags &lt;- openAsTags "http://haskell.org"
		
		Loading a HTML page as XML:
		
		&gt; tags &lt;- openAsXML "http://haskell.org"
		
		Loading an RSS or Atom feed:
		
		&gt; feed &lt;- openAsFeed "http://haskell.org"
		
		These data types can the be processed further with the XML, Feed and
		TagSoup libraries.
		
	</longdescription>
</pkgmetadata>

Lint Warnings

Manifest

Type File Size Versions
Unmatched Entries
Type File Size
DIST download-curl-0.1.4.tar.gz 3638 bytes