atom-conduit-0.1.0.0: Streaming parser/renderer for the Atom 1.0 standard (RFC 4287).

Safe HaskellNone
LanguageHaskell2010

Text.Atom.Types

Description

Atom is an XML-based Web content and metadata syndication format.

Example:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title>Example Feed</title>
  <link href="http://example.org/"/>
  <updated>2003-12-13T18:30:02Z</updated>
  <author>
    <name>John Doe</name>
  </author>
  <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>

  <entry>
    <title>Atom-Powered Robots Run Amok</title>
    <link href="http://example.org/2003/12/13/atom03"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2003-12-13T18:30:02Z</updated>
    <summary>Some text.</summary>
  </entry>

</feed>

Synopsis

Documentation

data AtomPerson

An atom person construct.

Constructors

AtomPerson (NonNull Text) Text (Maybe URI) 

data AtomCategory

The atom:category element.

Constructors

AtomCategory (NonNull Text) Text Text 

data AtomLink

The atom:link element.

data AtomGenerator

The atom:generator element.

Constructors

AtomGenerator (Maybe URI) Text (NonNull Text) 

feedId_ :: Lens' AtomFeed (NonNull Text)