zhariken
04-20-2007, 03:25 PM
1) Script Title: rssdisplaybox
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/rssdisplaybox/index.htm
3) Describe problem: I can't seem to figure out how to remove the thumbnail images alongside with news feeds. I've attempted several variations of strip_htmltags in many different parts of the code, but I'm clearly doing something wrong. I'm very much a novice when it comes to php, and I lack a bit of common sense as well ;) I'm sure this will be an obvious fix to someone out there (such as replacing 'array' with something else, I don't know)....it's just completely escaping me. Any help would be greatly appreciated, thank you.
-Justin
My main.php starts as such:
<?php
//Function for ouputting the body of each RSS item displayed (inside loop)- DynamicDrive.com
require('../php/simplepie.inc'); //Specify path to simplepie.inc on your server (by default located inside "simplepie" directory)
$feed = new SimplePie();
$feed->strip_htmltags(array('blink', 'html', 'marquee', 'font'));
$feed->cache_location('cache'); //Specify path to cache directory on your server relative to this file
$feed->handle_content_type();
require('outputbody.php'); //Path to custom "outputbody.php" file relative to this file
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/rssdisplaybox/index.htm
3) Describe problem: I can't seem to figure out how to remove the thumbnail images alongside with news feeds. I've attempted several variations of strip_htmltags in many different parts of the code, but I'm clearly doing something wrong. I'm very much a novice when it comes to php, and I lack a bit of common sense as well ;) I'm sure this will be an obvious fix to someone out there (such as replacing 'array' with something else, I don't know)....it's just completely escaping me. Any help would be greatly appreciated, thank you.
-Justin
My main.php starts as such:
<?php
//Function for ouputting the body of each RSS item displayed (inside loop)- DynamicDrive.com
require('../php/simplepie.inc'); //Specify path to simplepie.inc on your server (by default located inside "simplepie" directory)
$feed = new SimplePie();
$feed->strip_htmltags(array('blink', 'html', 'marquee', 'font'));
$feed->cache_location('cache'); //Specify path to cache directory on your server relative to this file
$feed->handle_content_type();
require('outputbody.php'); //Path to custom "outputbody.php" file relative to this file