package yocaml_syndication

  1. Overview
  2. Docs

Identifies the agent used to generate a feed, for debugging and other purposes.

Types

type t = {
  1. name : string;
  2. uri : string option;
  3. version : string option;
}

Helpers

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

make ?url ?version name constructs a feed generator. For Rss2, uri and version are ignored.

val to_atom : t -> Xml.node

Generate an Atom node.

val to_rss2 : t -> Xml.node

Generate a Rss2 node.

val yocaml : t

A default generator (referencing YOCaml).

OCaml

Innovation. Community. Security.