diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/post.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/post.ml b/lib/post.ml index dbca936..b542310 100644 --- a/lib/post.ml +++ b/lib/post.ml @@ -8,6 +8,7 @@ type t = { author : string; author_link : string; } +[@@deriving yojson] let published t = t.published @@ -20,7 +21,7 @@ let to_rss_entry post = Xml.tag "id" [] [ Xml.entry post.link ]; Xml.tag "updated" [] [ Xml.entry post.published ]; Xml.tag "summary" - [ ("xml:lang", "\"en\""); ("type", "\"html\"") ] + [ ("xml:lang", "en"); ("type", "html") ] [ Xml.entry post.summary ]; ] |