summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/header.php1
-rw-r--r--rss-full.php27
2 files changed, 1 insertions, 27 deletions
diff --git a/includes/header.php b/includes/header.php
index ffddd5f..cb0ef21 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -35,6 +35,7 @@ function xhtml_header($title)
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<title>' . $newtitle . '</title>
<link rel="stylesheet" type="text/css" href="/includes/default.css" />
+ <link rel="alternate" type="application/rss+xml" href="/rss.php" title="Excerpt feed" />
<link rel="alternate" type="application/atom+xml" href="/atom.php" title="Full feed" />
<link rel="icon" href="/graphics/candles.ico" />
</head>
diff --git a/rss-full.php b/rss-full.php
deleted file mode 100644
index 52afbd8..0000000
--- a/rss-full.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?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/rss.php");
-
-rss_header("/text/index.php");
-
-create_items_from_dir("text", 1);
-
-rss_footer();
-
-?>