Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[v1.6] Inferno RSS Forum Feeds Technology Details »»
[v1.6] Inferno RSS Forum Feeds Technology
Version: 1.6, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 08-16-2005 Last Update: 10-04-2005 Installs: 277
DB Changes Uses Plugins
Additional Files  
No support by the author.

This hack was made purely by request, and the fact IPB will have a similar system as default functionality, i wouldn't like them to have a upper hand to vbulletin

v1.5 Updates:
- Auto detect RSS settings system
- Forum stats rebuilt correctly (last post info)

v1.6 Updates:
- Various bug fixes

Description:
This once added to your forum allows you to connect to any RSS feed you desire, once set up the system will automatically post data from the RSS feed into threads within a specified forum.

Previews are available at the bottom, and an FAQ is built into the admin controls since I know not everyone will understand how to set up the options. Also an example to use a BBC UK News rss feed is below

Example BBC UK News Feed:
Feed Name: BBC UK News
Feed Location: http://newsrss.bbc.co.uk/rss/newsonl...t_page/rss.xml
Feed Prefix: [BBC UK News]
Feed From User: Assign users username of your own choice
Feed Forum: Choose a forum you want threads to be posted into
Feed Read Direction: Newest First
Parent RSS Tag Name: channel
Items RSS Tag Name: item
Thread Title RSS Tag Name: title
Thread Post RSS Construct:
HTML Code:
[b]Published:[/b] {XML[pubDate]}

{XML[description]}
[url={XML[link]}]Read More...[/url]
Note: After adding a new feed i suggest clicking update for that feed, this will manually update that singular feed specified, the cron job included will automatically update all feeds, best not to have it update them all from the start otherwise it could execute a lot of queries. Further more I highly recommend you do not have lots of feeds unless your server can with-stand it.

Enjoy

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #342  
Old 10-12-2005, 07:50 AM
NiROE NiROE is offline
 
Join Date: Nov 2004
Location: UK
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amazing... I was putting off upgrading to vB3.5 because I wasnt sure if I could get a good replacement for articlebot, but this easily fits my needs.. Thank you
Reply With Quote
  #343  
Old 10-12-2005, 08:03 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow. I actually just went through this entire thread :O

so, here's the quick OVERVIEW of what's up with this (doesn't cover everything, but most of the common problems/questions-- UP TO NOW):

feel free to correct me or update if I got something wrong...


==================================================
HACK SUPPORT/BUGS OVERVIEW:
  • This hack DOES work for MOST people in 3.5 Gold. If it doesn't for you....read on....

  • Just assume this hack is NOT supported!!!! And won't be for sometime.

    ZT is busy on other things. It may get updated sometime again (after ZT is done with the RPG game he is making for vb) and everyone will be stoked. But if you can't deal with that...then don't install and don't complain.
    (or go to his forums and see if you can reach him there).


    ERROR:
  • The feed is correct but you keep getting this error message: "INVALID URL TO RSS FEED GIVEN"

    ---solution:
    cURL or open_URL needs to be ENABLED in your server.ini file. THIS HAS TO BE DONE BY YOUR HOST PROVIDER. I had to actually move hosts to get it. :/

  • ERROR
    Quote:
    Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in /includes/class_dm.php on line 758
    Download latest version (we THINK is the latest.) This MIGHT fix it. (it worked for him)

    If still doesn't work.......
    then past solutions:

    ----solution:
    Flood Protection or Create Moderator
    more detailed info

    but that only works for some people.

    THIS solution (https://vborg.vbsupport.ru/showpost....&postcount=319 ) seems to work as well, and/or explain why it WON'T for some. But I'm a n00b too, so that is greek to me.


  • What version is this? it still reads as 1.5 but the download says 1.6
    ----see directly below

  • ERROR
    Duplicates!!....... Duplicates!!! =P

    ---Solution:
    well ZT made a brief announcement saying everthing was fixed HERE ...but looks to have forgot to actually update the ZIP download (1.5 to 1.6) before disappearing again. lol. It MAY be 1.6...but lists as 1.5 in the admincp.

    anyway... MOST PEOPLE STILL HAVE THIS ERROR. Some don't. Maybe 1.6 will get uploaded, maybe not....but see first item in this list if you got a problem with that. Until then.......

    YOU HAVE TO JUST DEAL WITH IT OR FIX IT YOURSELF!!!

  • Parse URLS? (whatever that means... )
    Do this: https://vborg.vbsupport.ru/showpost....&postcount=137

    Ane at the bottom of that post...you will find the answer to:

  • Problem
    Set up so RSS feeds do NOT appear in NEW POSTS
    Again:
    Quote:
    One other thing someone was asking how not to exclude these posts in new posts or todays posts - do this.. if you have rss feeds in 16 15 and 23

    just add &exclude=6,15,23 to the end of the do=getnew url and it'll exlude the forums with the forumids 6, 15 and 23.
    (that is, modify the navbar template.^^)

    OR you can use this: Opt-Out Forums from Get New/Get Daily

  • Problem
    You do NOT want to enable HTML in the rss forum!!

    Then do this: new user in new usergroup with html enabled
    Using this: Allow Users Groups to post HTML

  • PROBLEM
    "it doesn't seem to understand rdf, rdf:RDF or rdf: as the parent tag."

    then this is a temp solution:
    https://vborg.vbsupport.ru/showpost....&postcount=306

  • PROBLEM
    Chokes on enclosure tags since there is no end tag.

    An enclosure tag looks like this -
    Quote:
    Code:
    <pubDate>Tue, 04 Oct 2005 21:29:27 -0500</pubDate>
    <enclosure url="http://libsyn.com/media/wizardsnetwork/UW_20051004.mp3" length="4700889" type="audio/mpeg" />
    <media:content url="http://libsyn.com/media/wizardsnetwork/UW_20051004.mp3" fileSize="4700889" type="audio/mpeg">
    <media:adult>false</media:adult>
    </media:content>
    ---solution: none. Needs to updated to deal with this

  • QUESTION:
    how do I get this to post the whole article on 3.5 Gold? I just want it to post the whole article instead of the description with a link.


    ---answer: You can't. You are at the mercy of the RSS feed itself. Its nothing to do with the hack, but dependent on the what the xml feed spits out itself.


there are some other issues....but those are the one's I saw with solutions or clear answers (good or bad).

please let me know if I messed any of that up and I'll update this post.


Hope that helps. I wrote mostly for myself as well....shhesssssh!! this thread. +_+;;.... lol
Reply With Quote
  #344  
Old 10-12-2005, 09:40 AM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by garrynewman
I made kind of a hacky bounce script to solve the rdf:RDF problem.

It's probably better that the plugin is fixed but this will tide us over until then..

Make a php file with this in it..

Code:
<?

	$h = fopen( "http://steampowered.com/rss.xml", "r" );

	while (!feof($h))
	{
		$rss .= fgets($h, 4096);
	}
	
	$rss = str_replace( "</channel>", "", $rss );
	$rss = str_replace( "</rdf:RDF>", "</channel>\n</rdf:RDF>", $rss );
	$rss = str_replace( "content:encoded", "content", $rss );
		
	echo $rss;

?>
Now use the address of that script as your RSS feed (the auto detect thing should be able to figure it out)

I'm using this, it works great.
Reply With Quote
  #345  
Old 10-12-2005, 05:53 PM
NxTek NxTek is offline
 
Join Date: Jun 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NxTek
How does Inferno handle Podcasts (enclosure tags) and also images?
Is anyone getting any feeds with images? I'm interested to see how Inferno handles them.

Also, Inferno chokes on enclosure tags since there is no end tag. You might add that to your list GrendelKhan.

An enclosure tag looks like this -
Code:
<pubDate>Tue, 04 Oct 2005 21:29:27 -0500</pubDate>
<enclosure url="http://libsyn.com/media/wizardsnetwork/UW_20051004.mp3" length="4700889" type="audio/mpeg" />
<media:content url="http://libsyn.com/media/wizardsnetwork/UW_20051004.mp3" fileSize="4700889" type="audio/mpeg">
<media:adult>false</media:adult>
</media:content>
I really hope this mod is supported and doesn't turn into an "Article Bot".
Reply With Quote
  #346  
Old 10-12-2005, 06:48 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i get the rss feed to display in full on my forum? at the moment it only shows a line or 2 of text then offers a link, is there a way of being able to get the full report rather than lose the members from my forum?

cheers
Reply With Quote
  #347  
Old 10-12-2005, 08:01 PM
Celtic_Mad Celtic_Mad is offline
 
Join Date: Jun 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have got http://sport.scotsman.com/topics.cfm?tid=829&format=rss as my RSS Feed link, but everytime it updates, it adds the same news over and over again in the forum instead of just adding the newest ones without adding the whole lot of them again.
Reply With Quote
  #348  
Old 10-12-2005, 08:34 PM
msu2k msu2k is offline
 
Join Date: Jan 2003
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love to add this to my site but I request that all of my users add a special Post Icon whenever they post a link to a news story. Is there any way to alter this so that all the new posts that this makes get a certain Post Icon? Thanks for the help, great hack otherwise.
Reply With Quote
  #349  
Old 10-13-2005, 02:11 AM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

{XML[title]}

should work right? well it saves ok, but wipes my RSS settings after i save, might not like the extra tags, works for [B] etc

-b6
Reply With Quote
  #350  
Old 10-13-2005, 03:54 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NxTek
Is anyone getting any feeds with images? I'm interested to see how Inferno handles them.

Also, Inferno chokes on enclosure tags since there is no end tag. You might add that to your list GrendelKhan.
done. refresh

or click RSS SUPPORT/BUGS OVERVIEW POST


@extreme-mobile: I don't think so. As I understand it (could be wrong), its nothing to do with the hack, but dependent on the what the xml feed spits out itself.
Reply With Quote
  #351  
Old 10-13-2005, 05:52 AM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrendelKhan{TSU
done. refresh

or click RSS SUPPORT/BUGS OVERVIEW POST


@extreme-mobile: I don't think so. As I understand it (could be wrong), its nothing to do with the hack, but dependent on the what the xml feed spits out itself.
ok thanks mate
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05188 seconds
  • Memory Usage 2,335KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_html
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete