VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: [1] ]
Subject: Having problems configuring titles


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 ]

    Replies:
    Subject Author Date
    Re: Having problems configuring titlesMike12:38:51 05/21/05 Sat


    [ Contact Forum Admin ]


    Forum timezone: GMT-8
    VF Version: 3.00b, ConfDB:
    Before posting please read our privacy policy.
    VoyForums(tm) is a Free Service from Voyager Info-Systems.
    Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.