package yocaml_syndication

  1. Overview
  2. Docs
Yocaml plugin for dealing with RSS and Atom feed

Install

Dune Dependency

Authors

Maintainers

Sources

yocaml-2.3.0.tbz
sha256=216c47d4d954a1e210437101a46736a09fb2e198baf12657c13ade8f24aab7cb
sha512=3bef1e6e93644f860d5b4e72b392530eb0d5ba0ae2cabe198b85b90b92cfd2ad19ff0416d77d46760bcd63b9561c409ef1ecfb11ccacef8e474e7a231234b623

doc/yocaml_syndication/Yocaml_syndication/Generator/index.html

Module Yocaml_syndication.GeneratorSource

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

Types

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

Helpers

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

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

Sourceval to_atom : t -> Xml.node

Generate an Atom node.

Sourceval to_rss2 : t -> Xml.node

Generate a Rss2 node.

Sourceval yocaml : t

A default generator (referencing YOCaml).

OCaml

Innovation. Community. Security.

On This Page
  1. Types
  2. Helpers