vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [v1.6] Inferno RSS Forum Feeds Technology (https://vborg.vbsupport.ru/showthread.php?t=94510)

john1744 08-18-2005 04:58 AM

Ok, I would highly recommend creating a subforum labeled news. I did that BBC feed, and it went nuts posting 30 Threads at once. LOL.

john1744 08-18-2005 05:00 AM

http://today.reuters.com/rss/topNews/

Would anyone be willing to dissect this for me, as in what is what for the Feed control? I have noticed two places I would like to use have this same format, but I can't figure it out.

Edit: Wow, this is really hard, I've tried about three times to figure it out. But I can't dissect the XML feed. :(

GrendelKhan{TSU 08-18-2005 05:14 AM

ok.... installed but not working :(

I keep getting this error:

Quote:

While attempting to parse the document located at "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" the system encountered the following error:
Invalid URL To RSS Feed Given

Please check settings related to this issue.
anyone else with this problem?


(I tried several source and I tried using the BBC example above with same result) :(

john1744 08-18-2005 05:20 AM

No the BBC link worked beautifully. My problem is, he used RSS 1.0 as an example, many sites use RSS 2.0 which is harder to decode IMO.

I want Gamespot, IGN and Reuters, but they all use RSS 2.0 which I have no idea what to do with.

GrendelKhan{TSU 08-18-2005 05:23 AM

Quote:

Originally Posted by john1744
http://today.reuters.com/rss/topNews/

Would anyone be willing to dissect this for me, as in what is what for the Feed control? I have noticed two places I would like to use have this same format, but I can't figure it out.

Edit: Wow, this is really hard, I've tried about three times to figure it out. But I can't dissect the XML feed. :(


heh I think I know how....mine's just not working :( (help??!! :( :))
for yours it looks thesame as the bbc one...

Parent RSS Tag Name : channel
Items RSS Tag Name : item
Thread Title RSS Tag Name : title
Thread Post RSS Construct :

Published: {XML[pubDate]}

{XML[description]}
}]Read More...

GrendelKhan{TSU 08-18-2005 05:30 AM

grr..uninstalled reinstalled...same results for all the feeds I try:

Quote:

While attempting to parse the document located at "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" the system encountered the following error:
Invalid URL To RSS Feed Given

Please check settings related to this issue.
HHHAAAALPPPPPPPPP!!!? :(

yahoooh 08-18-2005 05:31 AM

could u make the next release also available for 3.0.7?

Guest190829 08-18-2005 05:43 AM

This was working fine, but now it seems it wont save the RSS setting after I add a new feed. So when I click update, it saying that I left all the options empty.

EDIT: I add html which was the problem. >_< . Now everything works fine. v2 should def be a HOTM.

:up:

john1744 08-18-2005 05:48 AM

It's still working fine here...

Vizionz 08-18-2005 09:27 AM

i have had no problems at all and i know nothing about this if you read what he says its common sence install file tells you everything u need to install it and then the example above and google will give you any other answers..

the only real question i have is is it possible to get whole news stories or does rss only post brief descriptions so its like a headliner

Darth Gill 08-18-2005 10:06 AM

OK, so I set up the cron job exactly like the instructions told me to...

Add the following cron job:
Title: RSS Feeds Update
Day of the Week: *
Day of the Month: *
Hour: *
Minute: 1 - - -
Log Entries: Up to you
Filename: ./includes/cron/cron_ffrss.php

And I get a fatal error...

Quote:

Fatal error: Call to a member function on a non-object in /home/bkraft/public_html/forums/includes/functions.php on line 4240

Chris_D 08-18-2005 10:56 AM

I just installed it for testing purposes and it works fine. Would be much better when it automatically detects the RSS settings though :)

Nice work still

Cyburbia 08-18-2005 12:09 PM

Great script - really. Unfortunately, my users HATE it. :disappointed: Why? Some have the "new posts" url bookmarked, and now they're seeing RSS feed posts mixed in there. I wonder if there's a way to set up a subforum where new posts, basically the RSS feeds, won't show up in the "new posts" search.

sowen 08-18-2005 04:17 PM

Quote:

Originally Posted by Cyburbia
...

I''ve got a request that one thing be changed - "RSS Forum Feeds" control panel lins should be BELOW "vBulletin Options", not at the very top.

In the cpnav_ffrss.xml file change:
Code:

<navgroup text="RSS Forum Feeds" hr="true">
to:
Code:

<navgroup text="RSS Forum Feeds" displayorder="10" hr="true">
that should mve the option set down below the Vb Options

Gizmo5h1t3 08-18-2005 04:26 PM

deffo gotta be considered for HOTM this one....

Darth Gill 08-18-2005 04:33 PM

Did anyone get the cron job to work for them?

XtremeOffroad 08-18-2005 04:48 PM

Quote:

Originally Posted by Darth Gill
Did anyone get the cron job to work for them?

I received the same error today when I set up the cron job, Any Ideas???

john1744 08-18-2005 06:28 PM

I set up a Scheduled Task (I assume this is a cron job in vB) and a cron job in my server. IGN and Cnet.com's RSS feeds work fine. However Gamespot, IMDB, Wired.com and Reuters keep showing no updates. I'm pretty sure they update their news frequently though...

Zero Tolerance 08-18-2005 07:00 PM

Okay common error, running a task in scheduled task manager returns an error, this is due to vBulletin software itself, it's the same for -any- cron job when run via the CP manually, look on vbulletin.com bug tracker for more info on that.

Vizionz, its all dependant really on how much information the feed contains, if the feed contains a whole story then you can extract that, if it doesn't, then i'm afraid not.

People getting errors with bbc rss feeds? Seems to work fine on mine with no problems, i'll do a little more research into it :)

- Zero Tolerance

Vizionz 08-18-2005 07:07 PM

yeah people are ahead of the game. if you could grab all there news there would be no need for people to go to there websites.

XtremeOffroad 08-18-2005 07:12 PM

Quote:

Originally Posted by Zero Tolerance
People getting errors with bbc rss feeds? Seems to work fine on mine with no problems, i'll do a little more research into it :)- Zero Tolerance

Thanks much Zero Tolerance, Your work here is very Impressive for such a Young Man and Greatly Appreciated.

Zero Tolerance 08-18-2005 08:22 PM

People love it when technology can save us the hard manual work...

- Zero Tolerance

john1744 08-18-2005 08:30 PM

^ When will that be available Zero? (Thats awesome! BTW)

Zero Tolerance 08-18-2005 09:03 PM

That would be now, i thought i'd release it with that addition and a minor problem fix to help users who arn't sure what to do with the rss settings :)

- Zero Tolerance

XtremeOffroad 08-18-2005 09:10 PM

I take it the zip file today has been updated?
Got the email, Sorry.

Updating now. Thanks

Zero Tolerance 08-18-2005 09:18 PM

Yep, re-download and read the upgrade instructions :)

- Zero Tolerance

XtremeOffroad 08-18-2005 09:23 PM

Upgrade went smooth as allways.
Other then help with filling in the fields were there any other changes?

Gryphon 08-18-2005 09:24 PM

Edit: Hmm, Worked the second time I ran it for some reason. All good now.

Upgrade Error:
Code:

Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:
CREATE TABLE `vb3_rssfeed` (
  `feed_id` int(15) NOT NULL auto_increment,
  `feed_name` varchar(255) NOT NULL default '',
  `feed_prefix` varchar(255) NOT NULL default '',
  `feed_location` varchar(255) NOT NULL default '',
  `feed_user` int(15) NOT NULL default '0',
  `feed_forum` int(15) NOT NULL default '0',
  `feed_parser` mediumtext NOT NULL,
  `feed_lastadded` text NOT NULL,
  `feed_direction` varchar(255) NOT NULL default 'newestfirst',
  PRIMARY KEY  (`feed_id`)
) TYPE=MyISAM;;

MySQL Error  : Table 'vb3_rssfeed' already exists
Error Number : 1050
Date        : Thursday, August 18th 2005 @ 03:23:23 PM


Zero Tolerance 08-18-2005 09:24 PM

Yeah the posting of threads had a slight change, the last post info for the forum was corrected, and an error message was fixed :)

@ The guy with a mySQL error - Strange, in the xml file for the products, change <code version="1.5"> to <code version="1.0">, should work then. :)

- Zero Tolerance

XtremeOffroad 08-18-2005 09:28 PM

Quote:

Originally Posted by Blackjack
Edit: Hmm, Worked the second time for some reason.

Upgrade Error:
Code:

Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:
CREATE TABLE `vb3_rssfeed` (
  `feed_id` int(15) NOT NULL auto_increment,
  `feed_name` varchar(255) NOT NULL default '',
  `feed_prefix` varchar(255) NOT NULL default '',
  `feed_location` varchar(255) NOT NULL default '',
  `feed_user` int(15) NOT NULL default '0',
  `feed_forum` int(15) NOT NULL default '0',
  `feed_parser` mediumtext NOT NULL,
  `feed_lastadded` text NOT NULL,
  `feed_direction` varchar(255) NOT NULL default 'newestfirst',
  PRIMARY KEY  (`feed_id`)
) TYPE=MyISAM;;

MySQL Error  : Table 'vb3_rssfeed' already exists
Error Number : 1050
Date        : Thursday, August 18th 2005 @ 03:23:23 PM



I received the same error but on the second attempt on the xml upload it worked fine from what I see.

Zero Tolerance 08-18-2005 09:31 PM

Might be a bug with the vb products system, anyhow, i updated the zip so the install code was for v1.0, and not v1.5. Should still execute for new users installing fresh.

- Zero Tolerance

Gryphon 08-18-2005 09:56 PM

It would be great if you could choose to skip the initial import and only have it add news from point of activation on.

Also, I noticed that it just keeps track of the last title added in the db. Currently I want to implement a feed that is not keep up chronologically. It is a list of most popular news items within the past 6 hours.

Code:

For example it may say:

News title 1
News title 2
News title 3
News title 4

Then six hours later:

News title 1
News title 5
News title 6
News title 3

What I would like it to do is post what is new between the last feed and the current feed whithout, of course, posting what has already been posted, if possible :ermm:

Quite a bit more complex but tossing out the request anyway :D

Floris 08-18-2005 10:16 PM

Karma++ for this resource, good job and I hope v2 is around the corner, can't wait.

Btw; bug fix for manual cron in rc2


[edit]
By the way, what should I change so the assigned username that makes the newthreads also instant-email-subscribes to it?

Zero Tolerance 08-18-2005 11:34 PM

Quote:

Originally Posted by floris
Karma++ for this resource, good job and I hope v2 is around the corner, can't wait.

Btw; bug fix for manual cron in rc2


[edit]
By the way, what should I change so the assigned username that makes the newthreads also instant-email-subscribes to it?

It would require a lump of code being added into the includes/class_ffrss.php, however for v2 i can make it feed specific if you want, when adding/editing a feed you choose the desired subscription type for the user account posting the thread(s).

- Zero Tolerance

XtremeOffroad 08-18-2005 11:54 PM

Everything seems fine except any forum where I have news posted come up as done but with errors on page and the drop down menu's wont work. All pages not associated with the news are ok, Any Ideas?
This is since the update.

This might be with vb itself since it applies to pages where there are more then one page of topics in any one forum.
I'll shoot this by vb.com.

Edit,It turns out the error is in the style I'm using.

Edit2: Problem solved. YAY
:nervous: :nervous:

Floris 08-19-2005 12:34 AM

Quote:

Originally Posted by Zero Tolerance
It would require a lump of code being added into the includes/class_ffrss.php, however for v2 i can make it feed specific if you want, when adding/editing a feed you choose the desired subscription type for the user account posting the thread(s).

- Zero Tolerance

Never mind in that case, I've made a new user who will make the posts. Seems to work just fine.

http://www.vbulletin-fans.com/showthread.php?t=10619
Just a few parsing things I'd like to see a stripper for :)
I still don't like turning on HTML in forums.

XtremeOffroad 08-19-2005 01:25 AM

Quote:

Originally Posted by floris
Never mind in that case, I've made a new user who will make the posts. Seems to work just fine.

http://www.vbulletin-fans.com/showthread.php?t=10619
Just a few parsing things I'd like to see a stripper for :)
I still don't like turning on HTML in forums.

I like this Idea of creating a new member to act as the news poster, Mind if I ummm borrow it :squareeyed:
Why didnt I think of this.

GrendelKhan{TSU 08-19-2005 08:37 AM

I am very very sad...

I still get this message for every feed I try (bbc example):

Quote:

While attempting to parse the document located at "http://newsrss.bbc.co.uk/rss/newson...nt_page/rss.xml" the system encountered the following error:
Invalid URL To RSS Feed Given

Please check settings related to this issue.
:( :(


anyone where to BEGIN looking for where this problem is coming from?

Mr.D 08-19-2005 11:15 AM

Instalated and working fine. I was waiting for this for a long time.

GrendelKhan{TSU 08-19-2005 12:01 PM

Quote:

Originally Posted by MadMan
Instalated and working fine. I was waiting for this for a long time.


ARRRRGHH!!!!!! :(


even the auto detector gives me:
Quote:

invalid url to rss feed given


All times are GMT. The time now is 07:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03583 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete