package yocaml_syndication

  1. Overview
  2. Docs

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

Types

type t

Helpers

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

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

val to_owner_name : t -> Xml.node

Generate the OPML node ownerName.

val to_owner_email : t -> Xml.node

Generate the OPML node ownerEmail.

val to_owner_id : t -> Xml.node

Generate the OPML node ownerId.

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

Generate an Atom node.

val to_rss2 : t -> string

Generate a string representation of the person.

OCaml

Innovation. Community. Security.