diff options
| author | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-17 20:09:13 +0100 |
|---|---|---|
| committer | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-17 20:09:13 +0100 |
| commit | bf8fc60e97585849d69e5e076dae3233273f4016 (patch) | |
| tree | dfd09cfac9bd9bd716cb2299543ff7377f78381a /liberty_rss.php | |
| parent | 67688131b7cddf906ff98e2bc4f3bce3ac466879 (diff) | |
| download | liberty-bf8fc60e97585849d69e5e076dae3233273f4016.tar.gz liberty-bf8fc60e97585849d69e5e076dae3233273f4016.tar.bz2 liberty-bf8fc60e97585849d69e5e076dae3233273f4016.zip | |
Tidy up to remove 'STRICT' warnings
Split static and dynamic use of getDisplayUrl
Create getContentUrl as the instantiated version
parameters need to be identical across all classes
getAttachment augmented by a static loadAttachment
Diffstat (limited to 'liberty_rss.php')
| -rw-r--r-- | liberty_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liberty_rss.php b/liberty_rss.php index b558b8b..6ba1649 100644 --- a/liberty_rss.php +++ b/liberty_rss.php @@ -37,7 +37,7 @@ $rss->link = 'http://'.$_SERVER['HTTP_HOST'].LIBERTY_PKG_DIR.'/list_content.php' foreach( $feeds as $feed ) { $item = new FeedItem(); $item->title = $feed['title']; - $item->link = BIT_BASE_URI.$liberty->getDisplayUrl( $feed['title'], $feed ); + $item->link = BIT_BASE_URI.$liberty->getContactUrl( $feed['title'], $feed ); // create a page header that we know what type of data we're looking at $description = |
