mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-05 12:57:33 +03:00
Update rss formatting.
This commit is contained in:
parent
a0b735379a
commit
ad32b3f219
@ -50,8 +50,7 @@ generate feed =
|
||||
object
|
||||
[ ( "rss"
|
||||
, Dict.fromList
|
||||
[ ( "xmlns", string "http://www.w3.org/2005/Atom" )
|
||||
, ( "xmlns:dc", string "http://purl.org/dc/elements/1.1/" )
|
||||
[ ( "xmlns:dc", string "http://purl.org/dc/elements/1.1/" )
|
||||
, ( "xmlns:content", string "http://purl.org/rss/1.0/modules/content/" )
|
||||
, ( "xmlns:atom", string "http://www.w3.org/2005/Atom" )
|
||||
, ( "version", string "2.0" )
|
||||
@ -100,11 +99,8 @@ itemXml item =
|
||||
|
||||
formatDate : Date -> String
|
||||
formatDate date =
|
||||
Date.toIsoString date
|
||||
|
||||
|
||||
|
||||
--Date.format "EE, dd MM yyyy" date
|
||||
Date.format "EEE, dd MMM yyyy" date
|
||||
++ " UTC"
|
||||
|
||||
|
||||
generatorXml :
|
||||
|
Loading…
Reference in New Issue
Block a user