MagpieRSS problem

SpaceshipSpaceship
Watch

doggyowner

Established Member
Impact
32
Hi,

I got problems with MagpieRSS and was hoping someone here could come to my rescue :)

Check Lazy Recipes and you will see what the issue is. Feed is supposed to show text, pics and links.

I suspect the issue is in below code, in $summary, but I don't know how to fix it,

Thanks in advance

Code:
<?php
require_once('rss_fetch.inc');
$rss = fetch_rss('http://feeds.feedburner.com/elise/simplyrecipes');
$items = array_slice($rss->items, 0, 10);
foreach ($items as $item) {
	$href = $item['link'];
	$title = $item['title'];	
	$summary = $item['summary'];	
echo "<p><a href=$href><b><h2>$title</h2></b></a><br>$summary<br><br><br></p>";
}
?>
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
It looks like something is causing all of the < and > characters to be stripped from your page. I don't believe the source of this is from the code snippet you posted. Do you have any code on your site to prevent HTML tags on your page?
 
0
•••
It looks like something is causing all of the < and > characters to be stripped from your page. I don't believe the source of this is from the code snippet you posted. Do you have any code on your site to prevent HTML tags on your page?
Hi Jim, I am clueless :|
I sent you a PM.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back