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/index.html

Module Yocaml_syndicationSource

A (partial) implementation of RSS and Atom to enable the production of syndication feeds.

The implementations should be sufficient to build the archetypes offered by YOCaml, while allowing you to build flows manually (adapting to your data model).

Please note that although the library makes some attempt to avoid invalid cases, Yocaml_syndication is not an RSS or Atom document processing library. If you want a stricter approach, you can turn to Syndic.

Syndication format

Implementation of syndication formats.

Sourcemodule Rss1 : sig ... end

Implementation of the RSS1 specification, documented here: specs. RSS2 or Atom are to be preferred, but RSS1 is present for historical reasons (if a user does not want to migrate his feed).

Sourcemodule Rss2 : sig ... end

Implementation of the RSS2 specification, documented here: specs.

Sourcemodule Atom : sig ... end

Implementation of the ATOM specification, documented here: specs.

Sourcemodule Opml : sig ... end

Implementation of the OPML (1 and 2) specification documented here:

Sourcemodule Rss = Rss2

By default, Rss module is Rss2.

Element

Reusable elements for describing news feeds.

Sourcemodule Lang : sig ... end

A description of languages based on the ISO-639-2 standard, with an extension allowing languages to be added manually.

Sourcemodule Tz : sig ... end

Describes (almost) a Timezone according to RFC822.

Sourcemodule Datetime : sig ... end

An extension of Yocaml.Archetype.Datetime.t with Timezone support.

Sourcemodule Text_input : sig ... end

The purpose of the <textInput> element is something of a mystery. You can use it to specify a search engine box. Or to allow a reader to provide feedback. Most aggregators ignore it.

Sourcemodule Media_type : sig ... end

A very simple representation of media types to describe, in particular, the enclosures of an item.

Sourcemodule Person : sig ... end

A Person construct is an element that describes a person, corporation, or similar entity.

Sourcemodule Category : sig ... end

Conveys information about a category associated with an entry or feed. This specification assigns no meaning to the content (if any) of this element.

Sourcemodule Generator : sig ... end

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

Low-level API

Direct (but partial) manipulation of XML documents to build Atoms or RSS feeds.

Sourcemodule Xml : sig ... end

Tool for structuring (and printing) XML, used as a basis for describing XML nodes. The implementation is rather naive, but its purpose is simply to describe syndication flows, hence the "simplicity of the implementation".

OCaml

Innovation. Community. Security.