Customizing SMF > Modifications and Packages

RSS Feed Poster 3.0.4 Released with 2.0 Support!

<< < (513/548) > >>

chuck23322:

--- Quote from: mageguild on June 10, 2012, 04:13:52 AM ---I have enabled this MOD and enabled a feed but it does not seem to be importing all the data in the feed.   

Refer to the attached images.

The first image shows the feed that I have enabled.  It is setup to update every 5 minutes and to import 10 items each update. 
The second image shows that board that the feed is posting to.  From this image, you can see that it is importing 2 items every 6 hours. 

Can anyone suggest what could be causing this?

--- End quote ---

1) How are you running the RSS feeder -- eg, have you set up "true" Cron jobs,  or are you using the "fake" cron job configuration?

a) If using true cron jobs,  see if they really are running on whatever frequency you specified.   Eg, if you cron every hour, but you set the feed to every 15 minutes,  it's really every hour...
b) If using 'fake' cron jobs, remember, it only runs when somebody visits your site - so even if you said 15 minutes,  if nobody visited for 5 hours, the next run would really be 5 hours later...

{The idea for both is that the time you specify between runs is really more of -- "if xx time has expired since the last time cronrss.php has been called, then go and update this RSS}

2) When you enter the RSS (the http://) im a regular web browser -- do you see the updates there?   Until the actual HTTP// changes, there's nothing new to 'fetch'

3) Is it possible that your feed only had two updates each time?   Eg, are you just seeing the 'reality' of what is actually changing?


For testing, you might want to set up a dummy board/forum and pull something really high-volume into it.   Earlier in this thread,  I suggested using the USGS Earthquake RSS and/or the Wikipedia topic updates RSS to accomplish it.   That would give you an indication that you've got cron running right, and the # of posts that can be pulled is working, etc...   you can always "disable" the test feeds at any time....    Read earlier in this thread for the URLs to those feeds...

mageguild:
There are more updates available in the RSS feed.  The RSS feed itself is out of date and has only imported a few of the objects in the RSS feed. 

I am using the Fake Cron method.  How would I implement a 'true' cron to import my RSS feeds? 

Not sure if this helps, but when I try to access the CronRSS URL (http://www.tennis-chat.com/cronrss.php), I get this error:


--- Code: ---Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /home/tbassett/webapps/tennischat/SSI.php:197) in /home/tbassett/webapps/tennischat/SSI.php on line 199

--- End code ---
I have not made any changes to the SSI.php file and I have restored a new version of the SSI.php file.  This has not helped. 


--- Quote from: chuck23322 on June 10, 2012, 06:20:59 AM ---
--- Quote from: mageguild on June 10, 2012, 04:13:52 AM ---I have enabled this MOD and enabled a feed but it does not seem to be importing all the data in the feed.   

Refer to the attached images.

The first image shows the feed that I have enabled.  It is setup to update every 5 minutes and to import 10 items each update. 
The second image shows that board that the feed is posting to.  From this image, you can see that it is importing 2 items every 6 hours. 

Can anyone suggest what could be causing this?

--- End quote ---

1) How are you running the RSS feeder -- eg, have you set up "true" Cron jobs,  or are you using the "fake" cron job configuration?

a) If using true cron jobs,  see if they really are running on whatever frequency you specified.   Eg, if you cron every hour, but you set the feed to every 15 minutes,  it's really every hour...
b) If using 'fake' cron jobs, remember, it only runs when somebody visits your site - so even if you said 15 minutes,  if nobody visited for 5 hours, the next run would really be 5 hours later...

{The idea for both is that the time you specify between runs is really more of -- "if xx time has expired since the last time cronrss.php has been called, then go and update this RSS}

2) When you enter the RSS (the http://) im a regular web browser -- do you see the updates there?   Until the actual HTTP// changes, there's nothing new to 'fetch'

3) Is it possible that your feed only had two updates each time?   Eg, are you just seeing the 'reality' of what is actually changing?


For testing, you might want to set up a dummy board/forum and pull something really high-volume into it.   Earlier in this thread,  I suggested using the USGS Earthquake RSS and/or the Wikipedia topic updates RSS to accomplish it.   That would give you an indication that you've got cron running right, and the # of posts that can be pulled is working, etc...   you can always "disable" the test feeds at any time....    Read earlier in this thread for the URLs to those feeds...

--- End quote ---

graaywolf:

--- Quote from: chuck23322 on June 09, 2012, 01:23:10 PM ---
--- Quote from: graaywolf on June 09, 2012, 12:04:09 PM ---The mod is working fine except it don't post the latest feed it only posts the second to the last post from the sites... How would i configure it to post the latest post from the other sites?

--- End quote ---

{Make sure, first, that you are saying in the feed config, that you want more than 1 post to be pulled each time...  The system will not double-post -- it keeps a MD5 hash in the MySQL table of every post to make sure it doesn't double post -- so even if you say post 10 each time, if 9 of them have been posted before, it will post only the new 1, because there is no MD5 match to previous posts -- all my feeds say pull 15 posts -- I think that's the max}
--- End quote ---

Did that it's posting 3 at a time... but once it catches up to the second to the last posts it stops, and doesn't post till another post is made then it posts the second to the last on only.

chuck23322:

--- Quote from: graaywolf on June 10, 2012, 04:55:12 PM ---
--- Quote from: chuck23322 on June 09, 2012, 01:23:10 PM ---
--- Quote from: graaywolf on June 09, 2012, 12:04:09 PM ---The mod is working fine except it don't post the latest feed it only posts the second to the last post from the sites... How would i configure it to post the latest post from the other sites?

--- End quote ---

{Make sure, first, that you are saying in the feed config, that you want more than 1 post to be pulled each time...  The system will not double-post -- it keeps a MD5 hash in the MySQL table of every post to make sure it doesn't double post -- so even if you say post 10 each time, if 9 of them have been posted before, it will post only the new 1, because there is no MD5 match to previous posts -- all my feeds say pull 15 posts -- I think that's the max}
--- End quote ---

Did that it's posting 3 at a time... but once it catches up to the second to the last posts it stops, and doesn't post till another post is made then it posts the second to the last on only.

--- End quote ---

Yup.  Seen that as well on some of my feeds.  I don't have an answer or solution.  My fix, isn't a fix -- it is a really bad hack.   I use Yahoo pipes and their "reverse" operator to reverse the order of the feed.   Then the item being missed isn't the most recent one.   

Liam_michael:
Could someone please tell me the code I need to input to get this load automatically twice a day at 12:00 AM/PM using a cron job?

I'm using puTTY to configure my server.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version