MagpieRSS problem

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
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
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back