-
Notifications
You must be signed in to change notification settings - Fork 8
/
rss.mli
20 lines (16 loc) · 847 Bytes
/
rss.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(* Copyright (C) 2009 Mauricio Fernandez <mfp@acm.org> *)
type image = { img_url : string; img_title : string; img_link : string; }
type item
val item_date : item -> float option
val make :
title:string -> link:string -> description:string -> ?self_link:string ->
?language:string -> ?copyright:string -> ?managingEditor:string ->
?webMaster:string -> ?pubDate:float -> ?lastBuildDate:float ->
?category:string -> ?generator:string -> ?ttl:int -> ?image:image ->
item list -> XML.elt
val make_item : title:string -> link:string -> description:string ->
?author:string -> ?category:string -> ?comments:string -> ?pubDate:float ->
?guid:string * bool -> unit -> item
val make_rdf : title:string -> link:string -> description:string ->
date:float -> ?language:string -> ?copyright:string -> ?image:image ->
item list -> XML.elt