From 1569a1aea7cd69d89754cc2e451017600ecd253f Mon Sep 17 00:00:00 2001 From: Nick White <git@njw.me.uk> Date: Fri, 18 Sep 2009 07:55:28 +0100 Subject: Use RSS feed for excerpts only --- includes/header.php | 1 + rss-full.php | 27 --------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 rss-full.php 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(); - -?> -- cgit v1.2.3