![]() |
RSS feeds on forumhome
RSS feeds on forumhome ==================== Author: Ken 'LiveWire' Iovino Site: www.initialz.com Version: 1.0.0 ==================== Updates
What this does This will show RSS feeds on your forumhome page, for a good example go to www.webhostingtalk.com and look on the right menu, you will see "WebHostingTalk News, News by HostingTech.com". This hack will allow you to do exacly what they have done there. Please note that im not that experiance with RSS feeds, but i know this worked for me when i was in need to have feeds on my forumhome, but maybe alot of sites are diffrent, but i doubt it. Anyway i would suggest you have small know how in PHP to modify the code to your taste. Read the comments to fully understand. To do list...
Please read carefully and make all the necessary changes as stated. This is will work if installed properly. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack Click It Help & Support Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here. Please post bugs and errors here. Hope you like, feedback welcomed. |
nice one would love this for forumdisplay.php
|
Ken,
I wouldn't use this unless you consider caching the feed as well. Otherwise, everytime someone access your forum home, you pull the feed again. If you don't want to reinvent the wheel, I suggest you have a look at something like http://magpierss.sourceforge.net/ . I have been using it to implement feeds and it is one of the nicest php-based parsers around. ;) |
Thannks alex, i'll look into that, didn't relize that i would have to re caching every time... :(
|
Quote:
|
Thanks Velocd, for giving me the permission to look and snip some code ^^. I'll start working at updating this hack tonight.
|
Quote:
How do you know if you are/aren't caching feeds? |
There will be slight load when going back to your forumhome. I'm using this hack at www.discuss.cc and i don't notice any lag. Though i am working on caching the feed in the next update.
|
nice hack, I managed to do the samething with carprss and it works nicely.
|
This is a great idea. It would not be too hard to adapt it to show on forumdisplay as well. :)
|
Please don't mind this stupid question but What is RSS feeds anyway? :ermm:
|
RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites like Slashdot, and personal weblogs. But it's not just for news. Pretty much anything that can be broken down into discrete items can be syndicated via RSS. Basicly content taking from one site, and added to another. If you wanted to place the world news on your home page, would you search and update articles all the time? Naw, you could use an RSS feed to automaticly grab news and updated on your site. And you do nothing.
|
Sounds nice, I'll install ya mod now to see how is it looks like, thank you for explaining :)
|
You forgot to say you need to edit the forumhome template to put the variable $rss_news where you want to show the newsfeed. :)
|
Opps thanks Erwin, i'll update the install the second I get home.
|
I expanded the hack so members could choose different newsfeeds or add their own... however, my site is too busy for this hack - the constant fopen of RSS feeds killed my server when we reach our peak over 1,000 users online. :) So I've had to remove the hack. Some kind of cache which updates hourly or so would be ideal.
|
Yes, I agree with Erwin. You should create a table and put syndication's information there.
|
Is it possible to have more than one newsfeed (2 or more different feeds)?
What do I have to do to have more than one feed? *installs* |
So, are we going to get a version with cache facility, livewire?
|
Is it possible to integrate the feature that we can set the number of news to fetch? eg the last x news?
|
I'm very new at this, but I wanted to place this RSS information somewhere else. I wanted to create my own page, like this:
https://vborg.vbsupport.ru/showthrea...ctiontemplates Then block out mulitple RSS feeds in it. Is this possible? If so, can you get me a head start on how to display that in there. I know I can't use PHP code IN templates, so I'm kind of lost Thanks so much! |
Seems to be unsupportet.
uninstalled :angry: |
Unsupported, untill i have internet acess back.
|
Quote:
|
has anyone tested this hack on vb3.0.7 ?
|
Quote:
I'm appalled! I have been ranting for months that you must not use fopen,open or file_get_contents for RSS! First off there is an RFC to follow with standards. Secondly, you are not supposed to hit a feed for every hit at your site. I'm not counting, you SHOULD have caching and cache for at least one hour on feed hits. You can get RSS agregators for free, there is no need to re-invent the wheel! I will not release my code, however this stuff is internet pollution and should not be used in any way shape or form. |
Muhahaha I am such a troll. :P
|
Quote:
If one goes around touting a doctorate, they should put out RFC compliant code. It's healthy to question such actions IMO. |
Quote:
I believe to do something good we have to do something bad sometimes. |
Quote:
Someone could make a nice RSS hack if they did a little reading. The search engines love my news pages. ;) |
Hello has all :)
I would like to use this hack but on the other hand, I would like to show the RSS on a page external, for example by using this hack (https://vborg.vbsupport.ru/showthread.php?t=62164) An idea ? |
nobody ??
I shall just like posting information RSS on a page external :( |
BUG - It is showing apostrophe " ' " as " ? "
|
Quote:
|
If there is an apostrophe in the rss title, the script will replace the apostrophe with a "?".
For example: "You'll" becomes "You?ll" "He's going home." becomes "He? going home." |
Quote:
|
i can't get this thing to work... i've specified my rss as http://www.southwesthiphop.com/index.rss and have validated it as valid rss 1.0.. i also symlinked it to a .xml file /index.xml in case the mod somehow required that. still, its not showing up at all. running 3.0.7 with just a few (like 3) mods
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|