package yocaml_syndication

  1. Overview
  2. Docs

Module Yocaml_syndication.PersonSource

A Person construct is an element that describes a person, corporation, or similar entity.

Types

Sourcetype t

Helpers

Sourceval make : ?uri:string -> ?email:string -> string -> t

make ?uri ?email name constructs an element of type t.

Sourceval to_owner_name : t -> Xml.node

Generate the OPML node ownerName.

Sourceval to_owner_email : t -> Xml.node

Generate the OPML node ownerEmail.

Sourceval to_owner_id : t -> Xml.node

Generate the OPML node ownerId.

Sourceval to_atom : ?ns:string -> ?attr:Xml.Attr.t list -> name:string -> t -> Xml.node

Generate an Atom node.

Sourceval to_rss2 : t -> string

Generate a string representation of the person.