![]() |
Fixed it, for some reason it didn't like my user id being the reporter, as soon as I set it to a new user I setup, it started posting ok.
I now have a new problem (yay...) I accidently overwrote my forum index file with the one from the vbadvanced page...no problem, I restored it But as soon as I load the forums, I get.... Quote:
If I disable the news bots, it loads ok, but if I enable it, it breaks Er... |
ya, like gmtalk said ... sometimes the news feeds are not updated very often, maybe once or twice a week. what is the rss feed you are using. which website is it coming from?
|
hrm trying getting a new copy of /includes/functions_newpost.php and re-editing the files.
|
Thanks slap, it was my mistake, I uploaded an old version of the index file which called the rss_update file
Btw, I have a question for you I've installed or setup an RSS type news ripper, which grabs news from a URL.. It then puts this info into an RDF file I've tried pointing the RSS news feed to this file, but it doesn't add the contents to the forum The layout of the RDF file is.... Quote:
http://www.openconcept.on.ca/guide-html2rdf.phtml Now, i'm guessing it doesn't like the layout of the RDF file somehow, as it just won't add what's in there to my forum The RSS does work aok for other news things like yahoo news etc, but not this custom thing..... Any ideas ? |
By the way, if i'm asking for to much, I apologise
|
Have you all tried adding a feed coming from a VB3 RSS2 feed? It can't extract it. :( Any workaround?
|
Quote:
Regards. |
Remove the channel test? hmm
|
goes like this:
Code:
<channel> for now, this is just a RSS feed. i haven't had time to look into adding different kinds of feeds like RDF or ATOM. i might if i get some time. |
Thanks Slap, it'd be awesome if you could..
|
Quote:
Just to let you know that I can know pick up the Scotsman feeds that were previously a problem - the ones with the ' in them. It doesnae remove the spurious characters, but it doesnae duplicate, and it picks up the new items. Godsend and Top work fellow! I'm now having problems with other feeds not adding anything new in. I know there could be a million reasons for this, so I'll report back when I've investigated a bit more so as not to waste your time. Thanks again, an appreciative php tube :) |
bobby, go ahead and post the links. maybe someone else will know or can look at it, or i can check it out as well. get a few heads in on this thinking about it.
|
I have been playing around and testing this. For the longest I was not having duplicate posts/threads for certain feeds and was only having problems with one feed duplicating. Now it is going nuts. I downloaded the latest version, removed the version that was in there and put in this latest one.
Feeds I am having issues with. http://rss.crash.net/crash_1.xml (F1 Racing feed) and http://www.just-auto.com/affiliates/features_rss.asp Now I have had issues with that just auto feed before and it cleared up, but now just came back last night. The crash.net feed is wierd. I have 4 other crash feeds that are not having any issues and have updated through out the day. It is only screwing up on the one listed above and only repeating one thread over and over, not everyone off that feed. The one repeating has not been updated on their site at all and is actually a few days old. |
Do other RSS readers have the same problem ? with it constantly updating ?
|
Quote:
I have been testing that out and I would have to say no on the crash.net. The Just-auto did it only 2 times in the last week(checked for updates hourly just like the forum), but on my test forums it hit every call. |
Has anyone else had a problem where the rss just stops updating?
It was working ok, then suddenly it stopped reporting on the 29th of June, yet nothing has changed? The news feed I was getting was the bbc one. |
Where can I actually change the "View the entire article" to something else?
|
Quote:
http://www.masshibsteria.com/vb/forumdisplay.php?f=2 Now the Scotsman feed [Gillian] works perfectly http://www.masshibsteria.com/vb/showthread.php?t=7560 http://sport.scotsman.com/football_h...cfm?format=rss *since the last updated release, it duplicated prior to that The Official Hibs website feed [Caroline] used to work perfectly, but since the file update it doesnae work. I ran the first cron job and it took the feeds, but since then nothing http://www.masshibsteria.com/vb/showthread.php?t=7504 http://www.hibs.org.uk/news/index.xml I've also added a bbc feed [Belinda] which has the same problems as the Official feed. http://www.masshibsteria.com/vb/showthread.php?t=7496 http://news.bbc.co.uk/rss/sportonlin...ian/rss091.xml ****Now I think about it, I edited some code earlier in the thread, so as not to check for time: That might be the problem, so I'll go back and change it.****** Edit: I don't think that's the problem https://vborg.vbsupport.ru/showpost....&postcount=272 - I've overwritten that file with the new one. :( |
been busy this weekend, will have a better chance to look at all this on tuesday sorry.
|
Quote:
Getting the scotsman one to work was a BIG help for me, thank yous. |
ok bobby, i have looked at the feeds. the 2 that are not working do not have a pubDate field. the new code in 1.26 changed how a news feed was marked as "old". instead of having to match the pubDate AND the title. now it has to match the pubDate OR the title. so if there is no pubDate, no worries...it can still match the title.
it could be that those news feeds aren't updated frequently? not sure. the only thing i noticed was that the feeds not having pubDate. |
Ok I need help...
I run a SatelliteTV related Website, I only want to pull news relating to SatelliteTV, so in this regard lets say we want news on DirecTV. I found the following search below which pulls all the DirecTV news. http://www.rocketnews.com/news/Rocke...=directv&age=0 The problem is it does not pull the description, instead all's that I see in the message is VIEW THE ENTIRE ARTICLE. How do I get it to show the descrption that is included. Thanks |
that is using rss 2.0 and i think the version of rss that is supported in the script right now is .91.
rss .91: Code:
<channel> Code:
<channel> |
Quote:
Cheers D. :up: |
lemme know if you figure anything out. i'll keep lookin at it as well.
|
Quote:
What message should appear if you run it manually from the admincp? And where can I change that "View entire article"? |
Would someone be able to help with this:
I'm getting the following errors whe I tr to run the schedule task: Warning: main(./rss.php): failed to open stream: No such file or directory in /homepages/4*/d********/htdocs/forum/admincp/cronadmin.php on line 56 Fatal error: main(): Failed opening required './rss.php' (include_path='.:/usr/local/lib/php') in /homepages/4*/d*******/htdocs/forum/admincp/cronadmin.php on line 56 This is what I have on line 56: require_once($nextitem['filename']); and I'm getting this on the rss.php: Fatal error: Call to undefined function: log_cron_action() in /homepages/4*/d********/htdocs/forum/Rss.php on line 7 Which is: log_cron_action('RSS News Feed Posted', $nextitem); Any Help would be appriciated |
Quote:
|
So does this work on 3.03? I'm thinking about installing, but want to be sure before I do! :D
|
check to see if the BBC news feed changed their format. if they have that might be the cause of the problem.
@notorious, the only thing i can tell you is to double and triple check that you uploaded the files to the proper locations as well as made the proper file edits. @RS25.com, it should work on 3.03 ... as long as there are no major changes to the forum it should work on any 3.x i'm thinking. |
@ slapyo
all I can say is that it fetched the first time data from "my" news feed and never since on 3.0.2. Not even when triggered manually from the admin center. Furthermore where can I change that text "View entire article?"? |
i have the same problem with it not updating too.
i have tried 2 different feeds from the bbc news website and another feed from a different site. the first time you get the news it works very well, but it doesn't update anymore. i have checked the bbc feeds and they have been updated and i tried another feed with news on it and that didn't work at all. |
hrm, i'm not sure. everything should be working fine as no major updates have been done to anything that would affect the script. i'll look at it some more.
@sjau, you can edit the View entire article in rss_update.php |
Here's a workaround that I did to parse VB RSS2 streams (item titles with CDATA):
Open <forum dir>/includes/RSS/class.RSS.php (please backup original first) Look for: Code:
$channelCount = preg_match_all("|<channel>(.*)</channel>|iUs",$data,$channels,PREG_SET_ORDER); Code:
$channelCount = preg_match_all("|<channel*>(.*)</channel>|iUs",$data,$channels,PREG_SET_ORDER); Code:
if(preg_match_all("|<title>(.+)</title>|iUs",$itemData,$match,PREG_SET_ORDER)) Code:
if(preg_match_all("|<title><\!\[CDATA\[(.+)\]\]></title>|iUs",$itemData,$match,PREG_SET_ORDER)) Code:
$itemCount = preg_match_all("|<item>(.*)</item>|iUs",$channelData,$items,PREG_SET_ORDER); Code:
$itemCount = preg_match_all("|<item*>(.*)</item>|iUs",$channelData,$items,PREG_SET_ORDER); Regards. |
it seems to be only "BBC News" feeds that are not updating. i'm using a reuters feed now and it's working perfectly
|
Hello,
First I'd like to thank everyone invoilved in this hack, very nice work. Secondly I have a question. I am using the hack flawlessly to post from a custom rss feed from my own site which delivers the entire article, not just a link to it. The problem is the bot delivers the article in one large block of text without formatting it onto paragraphs and line breaks. When the rss feed is viewed in a reader such as Sharpreader it formats fine. Is there any way to get this to format in a more user friendly fashion for those us of who actually have live rss feeds with the entire story inside them? If someone is willing to take a look I will PM the feed url to you as well as my site url. Thanks for your time. |
you can PM me the feed if you like or you can just post it on here. i'm sure anyone that can help will.
|
OK, thanks for the reply.
Rather than get into a PM exchange, I'll just post the info here since it may help others as well. :nervous: The site I run is Xbox Solution located at http://www.xboxsolution.com We have two rss feeds, one that will post a link and another that will write out the story. First RSS Feed (Link Only): http://www.xboxsolution.com/backend.php Second RSS Feed (Full Story):http://www.xboxsolution.com/index.rss I am using the second RSS feed for the bot - and all is well except that when the bot posts the story it posts everything in one block, no line breaks. If you point an rss reader such as Sharpreader to http://www.xboxsolution.com/index.rss you will see that the output is fine, with line breaks where needed, Just wondering if there is any way to resolve this. The forum that my bot posts in is here: http://talk.xboxsolution.com/forumdisplay.php?f=48 The bot's user ID is here: http://talk.xboxsolution.com/member.php?userid=28095 Thanks for the help! |
here is where i ran into the same problem when coding this. i couldn't find out how to insert a breakline. everytime i put in /r/n it would actually put those characters into it. this was for inserting the description then 2 lines down putting the link. i had to come up with a work around for that.
Code:
Open up your replacement variable manager (in admincp -> styles & templates -> replacement variable manager) and add the following entry: |
looks like a kewl hack... i will giive it a try!!
|
All times are GMT. The time now is 06:55 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:
|