Advertisement:

Author Topic: RSS Feeder  (Read 375323 times)

Offline Dark-Master

  • Semi-Newbie
  • *
  • Posts: 41
Re: RSS Feeder
« Reply #220 on: February 09, 2009, 07:27:26 AM »
I'm in love with smf 2.0 now, because of your GREAT addon ! But I cannot get it work. No post was made by RSS Feeder. I've set things up since 1 hour ago.

http://img.xgaming.in.th/pub/rss-feeder.png

Is there any solution or requirement to get RSS Feeder woking on? thanks.........

I'm not sure how these boards work, whether only the person who created the code is meant to offer support, but have you gone to maintenance >> scheduled tasks in the admin area? you have to setup the time and frequency RSS feeder runs, there is also a 'run now' option to test it.

Big thanks to you, it works now. :D

Offline Smoky "Rider" Blue

  • SMF Hero
  • ******
  • Posts: 1,684
  • Gender: Female
  • It's all in your head! :p
    • smoky.blue.01 on Facebook
Re: RSS Feeder
« Reply #221 on: February 09, 2009, 07:30:20 AM »
thanks Jimi..

if you have noticed, slameddime is keeping up with the rss mod.. and doing very well.. takes a bit of reading for the mod.. but im sure you guys can do.. and glad you helped him out..

cheers ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #222 on: February 09, 2009, 10:18:03 AM »
Thanks for the help Jimi... anyone is welcome to help with support... helps me out for sure. :)  As for your issue, I'll look at it when I get home from work... thanks for posting the feed to look at.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline Jimi1810

  • Semi-Newbie
  • *
  • Posts: 23
Re: RSS Feeder
« Reply #223 on: February 09, 2009, 10:22:17 AM »
Okay no problem, and thanks I would appreciate that  :)

Offline Dark-Master

  • Semi-Newbie
  • *
  • Posts: 41
Re: RSS Feeder
« Reply #224 on: February 09, 2009, 11:40:58 PM »
Hello, I still don't understand about regex....if I want to get a full article from some website. What do I need to check on the webpage about regex?

Could you please give me some example. Sorry to ask this kind of favor, but I'm really new to regex. :D

Code: [Select]
ex:
http://www.gotfrag.com/cs/story/43829/
http://www.gotfrag.com/cs/story/43826/

Offline Guy Verschuere

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
    • guyverschuere on Facebook
    • Egregius on GitHub
    • guyverschuere on LinkedIn
    • @guyverschuere on Twitter
    • Egregius.be
Re: RSS Feeder
« Reply #225 on: February 11, 2009, 02:02:21 AM »
Hi,

Great mod!
I do have one issue do:
Alltough the task is sheduled to run every 2 minutes, it doesn't import the feed right away, only after a long time. A local installed program 'feedreader' fetches the feed almost instantly, so the error is not in the feed.

Is there any delay for fetching? Is there some string I can change?

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #226 on: February 11, 2009, 05:00:11 AM »
Scheduled tasks run based on visits to your forum.... if you get one hit to your site every 5 minutes... or maybe even every 10 minutes because you do not have a busy site, the scheduled task will run every 5 or 10 minutes, if you have it set to less than that.  If you have a busy site, or one that gets a lot of hits every minute, then the scheduled task will run every 2 minutes.  It's just the nature of how SMF's scheduled tasks run.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline Guy Verschuere

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
    • guyverschuere on Facebook
    • Egregius on GitHub
    • guyverschuere on LinkedIn
    • @guyverschuere on Twitter
    • Egregius.be
Re: RSS Feeder
« Reply #227 on: February 11, 2009, 05:20:49 AM »
The tasklog says that the job is executed several times:
Code: [Select]
RSS Feeder  Vandaag om 09:25:18  0 seconden
RSS Feeder Vandaag om 09:23:18 0 seconden
RSS Feeder Vandaag om 09:21:12 0 seconden
RSS Feeder Vandaag om 09:20:07 0 seconden
RSS Feeder Vandaag om 09:17:56 0 seconden
RSS Feeder Vandaag om 09:15:50 0 seconden
RSS Feeder Vandaag om 09:13:32 0 seconden

while there are 2 feeds who have been fetched after more than one hour:
http://forum.cindyenguy.be/index.php/topic,2675.msg132982.html#msg132982
http://forum.cindyenguy.be/index.php/topic,2675.msg132986.html#msg132986

Why is the feed not fetched earlier?

Offline Guy Verschuere

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
    • guyverschuere on Facebook
    • Egregius on GitHub
    • guyverschuere on LinkedIn
    • @guyverschuere on Twitter
    • Egregius.be
Re: RSS Feeder
« Reply #228 on: February 11, 2009, 07:31:00 AM »
Another one:
feed created at 12:35 imported in SMF at 13:25 while the task has run several times:
Code: [Select]
RSS Feeder  Vandaag om 13:27:56  0 seconden
RSS Feeder Vandaag om 13:25:51 0 seconden
RSS Feeder Vandaag om 13:23:14 0 seconden
RSS Feeder Vandaag om 13:21:12 0 seconden
RSS Feeder Vandaag om 13:20:04 0 seconden
RSS Feeder Vandaag om 13:17:56 0 seconden
RSS Feeder Vandaag om 13:15:47 0 seconden
RSS Feeder Vandaag om 13:13:42 0 seconden
RSS Feeder Vandaag om 13:11:29 0 seconden
RSS Feeder Vandaag om 13:09:21 0 seconden
RSS Feeder Vandaag om 13:07:14 0 seconden
RSS Feeder Vandaag om 13:05:08 0 seconden
RSS Feeder Vandaag om 13:04:01 0 seconden
RSS Feeder Vandaag om 13:01:50 0 seconden
Goedkeuringsnotificaties Vandaag om 13:01:24 0 seconden
RSS Feeder Vandaag om 12:59:34 0 seconden
RSS Feeder Vandaag om 12:58:30 0 seconden
RSS Feeder Vandaag om 12:55:38 0 seconden
RSS Feeder Vandaag om 12:53:17 0 seconden
RSS Feeder Vandaag om 12:51:15 0 seconden
RSS Feeder Vandaag om 12:50:06 0 seconden
RSS Feeder Vandaag om 12:47:48 0 seconden
RSS Feeder Vandaag om 12:45:47 0 seconden
RSS Feeder Vandaag om 12:44:26 0 seconden
RSS Feeder Vandaag om 12:41:54 0 seconden
RSS Feeder Vandaag om 12:39:31 0 seconden
RSS Feeder Vandaag om 12:38:18 0 seconden
RSS Feeder Vandaag om 12:35:58 0 seconden
RSS Feeder Vandaag om 12:33:48 0 seconden
RSS Feeder Vandaag om 12:31:46 0 seconden

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #229 on: February 11, 2009, 08:00:51 AM »
What do you have set for the number of items to import each time the feed runs?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline Guy Verschuere

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
    • guyverschuere on Facebook
    • Egregius on GitHub
    • guyverschuere on LinkedIn
    • @guyverschuere on Twitter
    • Egregius.be
Re: RSS Feeder
« Reply #230 on: February 11, 2009, 09:31:51 AM »
0 = all

any ideas?

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #231 on: February 11, 2009, 10:25:23 AM »
Any errors in the forum error log related to the mod?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline Guy Verschuere

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
    • guyverschuere on Facebook
    • Egregius on GitHub
    • guyverschuere on LinkedIn
    • @guyverschuere on Twitter
    • Egregius.be
Re: RSS Feeder
« Reply #232 on: February 11, 2009, 10:28:46 AM »
Nope, none at all.

Does the mod remembers when he last fetched an feed?
Is there any setting for the frequency of fetching other than the sheduled task?

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #233 on: February 11, 2009, 10:33:26 AM »
It keeps track of when a feed was last fetched, but it isn't used for anything at this point.  It does, however, cache feeds for 2 hours, so if the feed changes that rapidly, it may not update.  It trys to use 'Smart Caching' to where it will detect if the feed has changed or not, but that is assuming that the feed is set to send the proper headers.  When I get home from work, I'll post some code you can use to disable the caching to see if that helps.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline Guy Verschuere

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
    • guyverschuere on Facebook
    • Egregius on GitHub
    • guyverschuere on LinkedIn
    • @guyverschuere on Twitter
    • Egregius.be
Re: RSS Feeder
« Reply #234 on: February 11, 2009, 10:35:10 AM »
OK, thank you!

Offline gffb

  • Semi-Newbie
  • *
  • Posts: 86
Re: RSS Feeder
« Reply #235 on: February 12, 2009, 12:53:51 PM »
tried to install on fresh 2.0 RC1 install and get the following screen. (see image)

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #236 on: February 12, 2009, 01:03:24 PM »
If you tried clicking the 'Install Now' link from the Package browser in SMF, there is a bug in that.  You'll need to download the mod from the mods page here and then upload it to your site from the 'Download Packages' screen in your admin panel.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline gffb

  • Semi-Newbie
  • *
  • Posts: 86
Re: RSS Feeder
« Reply #237 on: February 12, 2009, 01:04:50 PM »
That is what I did downloaded to my local pc then went in to my admin and ulpoaded from my pc to server then the error came up?

Offline SlammedDime

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,276
  • School of Air Ride
    • matt.zuba on Facebook
    • @mattzuba on Twitter
Re: RSS Feeder
« Reply #238 on: February 12, 2009, 01:06:45 PM »
Could be a software firewall on your computer causing an issue... open the file up on your local pc (you'll need something like 7 zip or Winrar) and make sure the files are there.  I just tested downloading from the mod site then uploading and it worked fine for me.


Guy - Open up ScheduledTasks.php and find the following:

      $rss_data->set_cache_location($cachedir);
      $rss_data->set_cache_duration(60*60*2); // 2 hours

and add this AFTER that.

      $rss_data->enable_cache(false);
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Offline gffb

  • Semi-Newbie
  • *
  • Posts: 86
Re: RSS Feeder
« Reply #239 on: February 12, 2009, 01:10:19 PM »
This is the first mod that this has happened to so I am not sure about it being a firewall issue, however as you have asked I opened the file and winzip asked to decompress it to a temp folder and  inside the rss_feeder_1.1.1.tar.gz file was the following.(image)