package yocaml_syndication

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

Install

Dune Dependency

Authors

Maintainers

Sources

yocaml-2.0.0.tbz
sha256=fddf61500e828ac88d86ba982084cc817299302082a6e797b36787ff18235ec2
sha512=8b71a8cecd3e101df55eef0bba7a24d4dde9d66b5ecedd9f6d55834fcdc8d33fd875092ca73a398e1715664caee06cdc1bdb1b4da85bff0a687faac5c0445023

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