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: Re: Using CaRP with b2Evolution


Author:
rurbaniak
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 09:10:44 03/11/05 Fri
In reply to: rurbaniak 's message, "Re: Using CaRP with b2Evolution" on 09:07:19 03/11/05 Fri

Ooops, the &bull portions should look like this without the plus sign and without spaces

& + bull;

>You can have several feeds in one PHP file if you
>like. Here's an example of 1 PHP file with several
>feeds.
>
> >require_once "/path_to_carp/carp.php";
>
>// same settings as the previous example
>CarpConf('bi','• ');
>CarpConf('poweredby','');
>CarpConf('maxitems',5);
>CarpCacheShow('http://www.somesite.com/index.rdf');
>echo '

';
>
>// reset all settings to their defaults
>CarpConfReset();
>
>// make any desired changes again
>CarpConf('bi','• ');
>CarpConf('poweredby','');
>CarpConf('maxitems',5);
>CarpCacheShow('http://www.somesite.com/rss.xml');
>echo '

';
>
>// reset all settings to their defaults
>CarpConfReset();
>
>
>// make any desired changes again
>CarpConf('bi','• ');
>CarpConf('poweredby','');
>CarpConf('maxitems',5);
>CarpCacheShow('http://www.somesite.com/rss.xml');
>echo '

';
>
>
>>Ok, I might be able to do that. I just have to figure
>>out if each b2evo blog has its own copy of the
>>template or of there's only one for the entire b2evo
>>installation... because of course I only want the
>>feeds on one page, the "feed blog." not on all pages
>>(other blogs).
>>
>>Thing is, if I want several different feeds from
>>different sources to appear on the same page, would I
>>then create a different php file for each feed, and
>>then insert a seperate require_once line in the
>>template for each feed?
>>
>>>I'm not too familiar with b2evo, but does it have an
>>>editable template where you can place code?
>>>
>>>If so, first create a PHP file with NOTEPAD, and call
>>>it whatever you want, example file.php
>>>
>>>Place this code in that PHP file.
>>>
>>> >>>require_once '/where carp.php is
>located/carp.php';
>>>// Add any desired configuration settings below
>>this
>>>line using "CarpConf" and other functions
>>>CarpCacheShow('http://www.geckotribe.com/press/
>rss/
>>pr.r
>>>ss');
>>>?>
>>>
>>>Make sure you edit the require_once line.
>>>
>>>After that, then drop this line into your template
>>>where you want the feed, assuming it's a PHP template
>>>of course.
>>>
>>>include
>'where_it's_located/the_name_of_the_file.php';
>>>
>>>
>>>Then the Carp news feed should show up where you need
>>>it.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>Hi. I am just wondering if CaRP can be easily
>>>>integrated into b2evo.
>>>>
>>>>Essentially what I want to do is create an
>additional
>>>>blog on my b2evo site, so that it is in the same
>>>>template, in the linkblog, all blogs, etc...
>>>>
>>>>but instead of manually adding posts to this "feeds
>>>>blog" it would just be automatically filled with the
>>>>RSS feeds.
>>>>
>>>>I know next to nothing about PHP, I can manage to
>>>>insert things into the PHP main file to some degree,
>>>>thats it.


[ Next Thread | Previous Thread | Next Message | Previous Message ]


[ 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.