Module Metadata.ArticleSource

include INJECTABLE
Sourcetype t
Sourceval inject : (module Key_value.DESCRIBABLE with type t = 'a) -> t -> (string * 'a) list

Produces a structured object, compliant to a template input from a t.

include READABLE with type t := t
Sourceval from_string : (module VALIDABLE) -> string option -> t Validate.t

Try to produces a t from an optional value.

Sourceval make : string -> string -> string list -> Date.t -> string option -> string option -> t
Sourceval article_title : t -> string
Sourceval article_description : t -> string
Sourceval date : t -> Date.t
Sourceval tags : t -> string list
Sourceval title : t -> string option
Sourceval description : t -> string option
Sourceval set_article_title : string -> t -> t
Sourceval set_article_description : string -> t -> t
Sourceval set_date : Date.t -> t -> t
Sourceval set_tags : string list -> t -> t
Sourceval set_title : string option -> t -> t
Sourceval set_description : string option -> t -> t
Sourceval equal : t -> t -> bool
Sourceval pp : Format.formatter -> t -> unit
Sourceval compare_by_date : t -> t -> int
Sourceval to_rss_item : string -> t -> Rss.Item.t