- Impact
- 0
[resolved] Help with magpierss
Hey all,
Can someone please offer a suggestion. I'm using magpierss but I don't want to display the "email this" and bookmark links at the end of each item description. (I know this is rather specific - I can't seem to find a solution for this ANYWHERE!) Any help much appreciated...
This is what I've got:
Thanks in advance...
Clay
Hey all,
Can someone please offer a suggestion. I'm using magpierss but I don't want to display the "email this" and bookmark links at the end of each item description. (I know this is rather specific - I can't seem to find a solution for this ANYWHERE!) Any help much appreciated...
This is what I've got:
PHP:
...
<!-- start magpie rss feed -->
<?php include('rss_fetch.inc');
$rss = fetch_rss($url);
if ($rss)
{
// Split the array to show first 5
$items = array_slice($rss->items, 0, 5);
// Cycle through each item and echo
foreach ($items as $item )
{
echo '<div class="newsheader">';
echo '<a href="'.$item['link'].'">'.$item['title'].'</a>';
echo '</div>';
echo $item['description'];
}
//description includes email and bookmark links...
...
Thanks in advance...
Clay
Last edited:








