aboutsummaryrefslogblamecommitdiffstats
path: root/views/rss_feed_v2.pug
blob: d04297da3160ea7469361d5b029f663e02d686d7 (plain) (tree)
1
2
3
4
5
6
7
8
9
           
                                                            

                      

                                                                                                           
                                               

                                                                












                                                                                            
doctype xml
rss(version='2.0', xmlns:atom='http://www.w3.org/2005/Atom')
    channel
        title deviblog
        link https://blog.terminaldweller.com
        atom:link(href='https://blog.terminaldweller.com/rss/feed', rel='self', type='application/rss+xml')
        description I talk about software here.
        managingEditor devi@terminaldweller.com (Farzad Sadeghi)
        webMaster devi@terminaldweller.com (Farzad Sadeghi)
        language en-US
        if posts.length
            lastBuildDate= new Date(posts[0].lastUpdatedAt).toUTCString()
        each post in posts
            item
                title= post.title
                link https://blog.terminaldweller.com/posts/#{post.slug}
                description
                    | <![CDATA[
                    | #{post.teaser}
                    | ]]>
                pubDate= new Date(post.lastUpdatedAt).toUTCString()
                guid(isPermaLink='false') https://blog.terminaldweller.com/blog/#{post.slug}