summaryrefslogtreecommitdiff
path: root/articles_rss.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-01-17 00:22:40 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-01-17 00:22:40 +0000
commit345f9f8a44c0be5d3c117efb73e2e9a505f76891 (patch)
treeda0424a015697d56db28688b6759dacc7f486550 /articles_rss.php
parent704e792c19dd078d65d4698c0895f8a61da38e0f (diff)
downloadarticles-345f9f8a44c0be5d3c117efb73e2e9a505f76891.tar.gz
articles-345f9f8a44c0be5d3c117efb73e2e9a505f76891.tar.bz2
articles-345f9f8a44c0be5d3c117efb73e2e9a505f76891.zip
merge recent changes into HEAD
Diffstat (limited to 'articles_rss.php')
-rw-r--r--articles_rss.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/articles_rss.php b/articles_rss.php
index d719f16..072c6e1 100644
--- a/articles_rss.php
+++ b/articles_rss.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_articles/articles_rss.php,v 1.6 2006/01/10 21:59:27 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_articles/articles_rss.php,v 1.7 2006/01/17 00:22:40 squareing Exp $
* @package article
* @subpackage functions
*/
@@ -33,6 +33,9 @@ if( !$gBitUser->hasPermission( 'bit_p_read_article' ) ) {
);
$feeds = $articles->getList( $listHash );
+ // set the rss link
+ $rss->link = 'http://'.$_SERVER['HTTP_HOST'].ARTICLES_PKG_URL;
+
// get all the data ready for the feed creator
foreach( $feeds['data'] as $feed ) {
$item = new FeedItem();