Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type date = Netdate.t
val string_of_date : ?fmt:string -> date -> string
type url = Neturl.url
type (!'a, !'b) channel_t = {
ch_title : string;
ch_link : url;
ch_desc : string;
ch_language : string option;
ch_copyright : string option;
ch_managing_editor : email option;
ch_webmaster : email option;
ch_pubdate : date option;
ch_last_build_date : date option;
ch_categories : category list;
ch_generator : string option;
ch_cloud : cloud option;
ch_docs : url option;
ch_ttl : int option;
ch_image : image option;
ch_rating : pics_rating option;
ch_text_input : text_input option;
ch_skip_hours : skip_hours option;
ch_skip_days : skip_days option;
ch_items : 'b item_t list;
ch_data : 'a option;
ch_namespaces : namespace list;
}
type item = unit item_t
type channel = (unit, unit) channel_t
val channel :
title:string ->
link:url ->
desc:string ->
?language:string ->
?copyright:string ->
?managing_editor:email ->
?webmaster:email ->
?pubdate:date ->
?last_build_date:date ->
?cats:category list ->
?generator:string ->
?cloud:cloud ->
?docs:url ->
?ttl:int ->
?image:image ->
?rating:pics_rating ->
?text_input:text_input ->
?skip_hours:skip_hours ->
?skip_days:skip_days ->
?data:'a ->
?namespaces:namespace list ->
'b item_t list ->
('a, 'b) channel_t
val make_opts :
?schemes:(string, Neturl.url_syntax) Hashtbl.t ->
?base_syntax:Neturl.url_syntax ->
?read_channel_data:(xmltree list -> 'a option) ->
?read_item_data:(xmltree list -> 'b option) ->
unit ->
('a, 'b) opts
val default_opts : (unit, unit) opts
val channel_t_of_channel :
('a, 'b) opts ->
in_channel ->
('a, 'b) channel_t * string list
val channel_of_file : string -> channel * string list
val channel_of_string : string -> channel * string list
val channel_of_channel : in_channel -> channel * string list
type !'a data_printer = 'a -> xmltree list
val print_channel :
?channel_data_printer:'a data_printer ->
?item_data_printer:'b data_printer ->
?indent:int ->
?date_fmt:string ->
?encoding:string ->
Format.formatter ->
('a, 'b) channel_t ->
unit
val print_file :
?channel_data_printer:'a data_printer ->
?item_data_printer:'b data_printer ->
?indent:int ->
?date_fmt:string ->
?encoding:string ->
string ->
('a, 'b) channel_t ->
unit