File: home.xml

package info (click to toggle)
lua-orbit 2.2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,956 kB
  • ctags: 638
  • sloc: sql: 78; sh: 32; makefile: 31; xml: 20
file content (24 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
$import{"index_view"}
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Orbit Blog</title>
   <id>tag:orbit-blog</id>
   <link rel="alternate" type="text/html" href="$home_url" />
   <link rel="self" type="application/atom+xml" href="$home_url_xml" />
  $show_posts{ include_tags = {"blog-%"}, count = 10 }[=[
<entry>
   <title>$title</title>
   <link rel="alternate" type="text/html" href="$uri" />
   <id>tag:orbit-blog,$id</id>
   
   <published>$year-$month_padded-$day_padded{}T$hour_padded:$minute_padded:00Z</published>
   <updated>$year-$month_padded-$day_padded{}T$hour_padded:$minute_padded:00Z</updated>
      
   <content type="html" xml:lang="en">
   <![CDATA[$markdown_body]]>

   </content>
</entry>
  ]=]

</feed>