summaryrefslogtreecommitdiff
path: root/atom-excerpt.php
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-09-18 08:25:29 +0100
committerNick White <git@njw.me.uk>2009-09-18 08:25:29 +0100
commit4a990db44980aee2b88c1ceecfe71e697d173556 (patch)
tree77f179586c39e50a92b3df795565b829b617756a /atom-excerpt.php
parent1569a1aea7cd69d89754cc2e451017600ecd253f (diff)
downloadnjw-website-source-4a990db44980aee2b88c1ceecfe71e697d173556.tar.bz2
njw-website-source-4a990db44980aee2b88c1ceecfe71e697d173556.zip
Added license link and use atom for excerpt
Added optional license rdf link to feeds Use atom for excerpt feed also
Diffstat (limited to 'atom-excerpt.php')
-rw-r--r--atom-excerpt.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/atom-excerpt.php b/atom-excerpt.php
new file mode 100644
index 0000000..27832e3
--- /dev/null
+++ b/atom-excerpt.php
@@ -0,0 +1,27 @@
+<?php
+/*
+ * Copyright (C) 2009 Nick White
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+include($_SERVER['DOCUMENT_ROOT'] . "/includes/atom.php");
+
+atom_header("/text/index.php");
+
+create_entries_from_dir("text", false);
+
+atom_footer();
+
+?>