PDA

View Full Version : RSS Feeds on your homepage


tomshawk
09-12-2004, 01:29 AM
Hello, I've seen this requested a few times on this site, so I thought I'd post it here. I'll be posting it on vBulletin.org as well

There are a few hacks at vBulleitn.org for News feeds going into a paticular forum, and I've tryed a couple of them, only to be unimpressed, plus it makes the site numbers look alot bigger then they really are.

So, I decided to look around and see if I could find something better.

I found carp
http://www.geckotribe.com/rss/carp/

There is a free version you can download here
http://www.geckotribe.com/rss/carp/manual/download.php

The instructions for creating a module for vBadvanced CMPS are in the zip file as well as a php file with a few examples.

Download and install carp on your webserver.
1 Template Modification
1 Template Creation
1 File upload from zip file

Demo:
http://www.tech-unity.com/index.php?page=news (http://www.tech-unity.com)
At the bottom left

I hope this helps everyone, Enjoy ;)

rbl
11-27-2004, 01:11 AM
Thanks for the mod Tom!
If I may suggest, use MagpieRSS instead. It's much better than Carp!

http://magpierss.sourceforge.net/

Our Sponsors
 

tomshawk
11-29-2004, 10:32 AM
Thankls for the comment rbl

As for magpie over carp.

Magpie may be much better as you put it, but. Carp does exactely what I need it to do, which import RSS. And as you can see from my latest hack, which is a serious improvement over this one.
http://www.vbadvanced.com/forum/showthread.php?t=3098

It works very well, more then enough for my needs.

Take care and have a good one

rbl
11-29-2004, 08:53 PM
Well.. magpie has 2 major features that carp doesn't and they might interest you:
- it supports atom feeds (carp does that too in the paid version);
- allows to you merge several feeds into one list ordered by date (or alphabetical, etc)
That's why I suggested it in the first place =)

The new hack is very nice!

Our Sponsors
 

tomshawk
03-23-2005, 01:16 AM
Sorry Everyone, I had taken this mod down from my site, because of the newsfeed with selector menu I posted here

I have been getting more requests to see this in action, so

I went ahead and reinstalled it, so everyone can see

I put it on a page by itself, i.e. without the newsfeed with selector, so you get a better idea.

Anyway, Here is the link to the demo
http://www.tech-unity.com/index.php?page=news

Bottom Left Labelled
"News Feeds"

HTH

blkatt
05-01-2005, 12:29 PM
Hello, I've seen this requested a few times on this site, so I thought I'd post it here. I'll be posting it on vBulletin.org as well

There are a few hacks at vBulleitn.org for News feeds going into a paticular forum, and I've tryed a couple of them, only to be unimpressed, plus it makes the site numbers look alot bigger then they really are.

So, I decided to look around and see if I could find something better.

I found carp
http://www.geckotribe.com/rss/carp/

There is a free version you can download here
http://www.geckotribe.com/rss/carp/manual/download.php

The instructions for creating a module for vBadvanced CMPS are in the zip file as well as a php file with a few examples.

Download and install carp on your webserver.
1 Template Modification
1 Template Creation
1 File upload from zip file

Demo:
http://www.tech-unity.com
At the bottom left

I hope this helps everyone, Enjoy ;)


In your directions, you state: open the phpinclude_start template

I can't seem to find this file - where is it located? Thanks.

mholtum
05-01-2005, 12:32 PM
Style Manager==> Edit Tempaltes==>PHP Include Code Templates==>phpinclude_start

blkatt
05-02-2005, 09:21 AM
Style Manager==> Edit Tempaltes==>PHP Include Code Templates==>phpinclude_start

Thanks mholtum. Cheers.

mholtum
05-02-2005, 12:25 PM
No worries

tomshawk
05-08-2005, 03:06 AM
blkatt,

The answer should be the same as in the other thread,
call the file you create with grouper from the rss file in this hack in the CarpCacheShow line like this.

CarpCacheShow('http://www.yourdomain.com/grouper.file');

Again, I am curious, the creater of carp says it should work fine, let me know ;)

chet
05-08-2005, 09:45 AM
Anybody got a live demo?

tomshawk
05-08-2005, 11:52 PM
Anybody got a live demo?

I posted a link earlier

http://www.tech-unity.com/index.php?page=news

I'll add it to the main post, sorry

raikkonen
10-23-2005, 12:12 AM
your mods are great, but i have a problem: i use Vietnamese and News displays not correctly (Font?), how to transcode to UTF-8?

raikkonen
10-23-2005, 12:13 AM
your mods are great, but i have a problem: i use Vietnamese and News displays not correctly (Font?), how to transcode to UTF-8?:confused:

mauisun
10-28-2005, 07:42 PM
Style Manager==> Edit Tempaltes==>PHP Include Code Templates==>phpinclude_start


I am running 3.5 gold and I don't have a php include code template area at all in edit templates. any advice?
.mauisun

rolando
03-14-2006, 04:33 PM
There is no php includes template in VB 3.5.4? Where do we go to make this work, thanks, rg.

tomshawk
03-26-2006, 01:59 AM
Correct, in vbulletin 3.5.x they did away with the php_includes template.

In vbulletin you need to edit the global_start hook location and create a plug, call it includes for simplicity sake

they, what you would put in the php_includes statement, just add it in there

An Example:

ob_start();
require("http://www.tech-unity.com/news.php");
$news = ob_get_contents();
ob_end_clean();

This has again been removed from my site, as I dont use it anymore and others have stopped asking about it, since there are so many hacks for 2,5 now, including my Newsfeed with Selector menu which still works, but, just so everyone knows this does still work with VB 3.5.x on vbA 2.1.0