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.6.0.tbz
sha256=a006e9d52e520986d4262dfe7bfeba6a381f1423be32409494888d667d14ac73
sha512=8a25f1776e0bcd5e317484b681c67b0d6bb60952f0dd0942f44bf708fb3db03331522b4d8929e09c1926b213003bf14bb148468ddde35add0ad657b4d9237bd1

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).

On This Page
  1. Types
  2. Helpers