package yocaml_syndication

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

yocaml-2.4.1.tbz
sha256=cfc7c139116d6881b1d0bc7af706b8f8ceb6cd1f5be67d621944388731ab9d6c
sha512=9d1a075a6a9d3c8bae9ae4e389ada0a5b7818b3993ef9dd45af65070434b86bb56c349db5d0149134d449495415c28e2bfca993a20d5e4b7d16263f7231334c3

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