Author:
margin_walker
|
[
Next Thread |
Previous Thread |
Next Message |
Previous Message
]
Date Posted: 11:08:20 05/21/05 Sat
Hi,
I'm really hoping somebody can help me! I've set up GPL and have my news feeds pretty much sorted apart from the titles which I want to restrict.
For example, on my homepage www.suspectdevice.co.uk one of my feeds has this as its title: "Buzz Stories from BuzzPage.com The latest odd, weird, bizarre news articles from around the world". This is much too long and I want it to just display the first part: "Buzz Stories from BuzzPage.com"
My code looks like this:
require_once '/files/home3/marginwalker/halo/carp/carp.php';
// Add any desired configuration settings below this line using "CarpConf" and other functions
CarpConf('linktarget',1);
CarpConf('clinkstyle','glink');
CarpConf('iorder','link,date,author');
CarpConf('maxitems',7);
CarpConf('bi','');
CarpConf('ai','');
CarpConf('poweredby','');
CarpCacheShow('http://rss.news.yahoo.com/rss/oddlyenough');
echo '';
CarpCacheShow('http://www.buzzpage.com/rss/buzzpage.xml');
?>
(The code above has pasted/displayed a bit weird but it is correct and does work!)
I've tried using the CarpConf('maxctitle',50); line and various other things but nothing works. Can anybody shed some light on this? If you can it'll be much appreciated. Either email me or respond in this forum. Cheers.
[
Next Thread |
Previous Thread |
Next Message |
Previous Message
]
|