summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-09-17 23:18:43 +0100
committerNick White <git@njw.me.uk>2009-09-17 23:18:43 +0100
commit77f8cf84b80476b2454fb44be9ea517d6c6c3e29 (patch)
treeb169c2a1643317311988fab0439d5889601c0a10
parent13e12813fd5d157081e1d87198f29c589e8a96fe (diff)
downloadnjw-website-source-77f8cf84b80476b2454fb44be9ea517d6c6c3e29.tar.bz2
njw-website-source-77f8cf84b80476b2454fb44be9ea517d6c6c3e29.zip
Added missing atom file (should have been with previous commit
-rw-r--r--atom.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/atom.php b/atom.php
new file mode 100644
index 0000000..f33f81d
--- /dev/null
+++ b/atom.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");
+
+atom_footer();
+
+?>