update links and .htaccess for SSL
[dylansserver.git] / view / rss.php
1 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
2 <channel>
3 <title>dylansserver.com/notes/rss</title>
4 <link>https://dylansserver.com/notes</link>
5 <description>dylansserver.com/notes/rss</description>
6 <atom:link href="https://dylansserver.com/notes/rss" rel="self" type="application/rss+xml" />
7 <?php
8 foreach ($this->items as $item) {
9 echo "<item>";
10 echo " <title>" . $item['title'] . "</title>";
11 echo " <link>" . $item['url'] . "</link>";
12 echo " <guid>" . $item['url'] . "</guid>";
13 echo " <description>" . $item['description'] . "</description>";
14 echo "</item>";
15 }
16 ?>
17 </channel>
18 </rss>