github.com/bitcubate/cryptojournal@v1.2.5-0.20171102134152-f578b3d788ab/src/stories/views/index.xml.got (about) 1 {{ xmlpreamble }} 2 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 3 <channel> 4 <title>{{ .meta_title }}</title> 5 <link>http://cryptojournal.cf</link> 6 <atom:link href="{{ .meta_rss }}" rel="self" type="application/rss+xml" /> 7 <description>{{ .meta_desc }}</description> 8 <pubDate>{{ date .pubdate.UTC "Mon, 02 Jan 2006 15:04:00 +0000" }}</pubDate> 9 {{ range .stories }} 10 <item> 11 <title>{{ .Name }}</title> 12 <description>{{ if exists .Summary }}{{ .Summary }}{{ end }} {{ .Points }} points posted by {{.UserName}} </description> 13 <link>{{ .DestinationURL }}</link> 14 <guid>{{ .ID }}</guid> 15 <pubDate>{{ date .CreatedAt.UTC "Mon, 02 Jan 2006 15:04:00 +0000" }}</pubDate> 16 </item> 17 {{ end }} 18 </channel> 19 </rss>