News:

Wondering if this will always be free?  See why free is better.

Main Menu

RSS Feed Poster

Started by SMFHacks.com Team, January 11, 2007, 07:46:04 PM

Previous topic - Next topic

aka Fusion

Quote from: papabill on January 25, 2012, 08:21:18 AM
Quote from: vbgamer45 on January 24, 2012, 12:59:09 PM
Do you have the scheduled task enabled? Under Tasks
I'm noticing that the thing is not updating as it is supposed to. The only posts in the topics are the ones I manually did yesterday evening, even though they are in the scheduled tasks, and they are configured to update every hour.


have you set a cron job up on your servers control panel?

papabill

Quote from: aka Fusion on January 25, 2012, 03:28:38 PMhave you set a cron job up on your servers control panel?
My personal computer is my server. All I do is run the software, the way it is "out of the "box". Doesn't it set up it's own cron jobs?
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

aka Fusion

No you need to specify the job and the command , not sure how you go about it with your setup but this does need a cron job set up to work
The cron will call that url at the times you tell it too, thats the way the feeds are gathered automatically


papabill

Quote from: aka Fusion on January 25, 2012, 04:47:34 PM
No you need to specify the job and the command , not sure how you go about it with your setup but this does need a cron job set up to work
The cron will call that url at the times you tell it too, thats the way the feeds are gathered automatically
Isn't that what the SMF Task Scheduler is for?
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

IchBin™

SMF Task Scheduler is basically a pseudo cron job. It will only run if someone or something is hitting SMF on your site. If there is absolutely zero activity on your site, the schedules tasks cannot run. That's the unfortunate part of PHP that cannot run a process to just listen. Processes are only run when something hits the code.
IchBin™        TinyPortal

papabill

Quote from: IchBin™ on January 25, 2012, 05:06:26 PM
SMF Task Scheduler is basically a pseudo cron job. It will only run if someone or something is hitting SMF on your site. If there is absolutely zero activity on your site, the schedules tasks cannot run. That's the unfortunate part of PHP that cannot run a process to just listen. Processes are only run when something hits the code.
Well, I guess I'm SOL. I have absolutely no idea how to set up a cron job.

Thanks
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

IchBin™

What are you running as a personal server? Windows or Linux? Windows is pretty easy. Just google "Scheduled task" for your version of windows and you'll find a bunch of sites that show you how.

If you are running Linux then do a search on cronjob and you'll find out how do it. They are pretty easy to setup.
IchBin™        TinyPortal

papabill

Quote from: IchBin™ on January 25, 2012, 06:22:43 PMWhat are you running as a personal server? Windows or Linux? Windows is pretty easy.
I'm running WinDoze XP, and I understand how to set up Scheduled tasks, but not how to set up cron jobs for SMF.
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

IchBin™

Cronjobs are only for linux. I'd imagine you could setup the same thing with a scheduled task on windows to get it to run the file to parse the rss feeds.
IchBin™        TinyPortal

papabill

Quote from: IchBin™ on January 25, 2012, 10:40:54 PM
Cronjobs are only for linux. I'd imagine you could setup the same thing with a scheduled task on windows to get it to run the file to parse the rss feeds.
Well, as I said, I have absolutely no idea how to make a scheduled task cause the RSS to update.
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

IchBin™

I don't know this mod, but from watching the support topic every so often I think all you have to do is run the cronrss.php file. So just having PHP run the file should make it do what you need in a scheduled task. Wouldn't hurt to try eh?
IchBin™        TinyPortal

papabill

Quote from: IchBin™ on January 25, 2012, 10:49:03 PM
I don't know this mod, but from watching the support topic every so often I think all you have to do is run the cronrss.php file. So just having PHP run the file should make it do what you need in a scheduled task. Wouldn't hurt to try eh?
Nope, all that happens is that Dreamweaver opens the file "cronrss.php" ready for modification. It does not "run" it at all.
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

IchBin™

You need to run it using the PHP executable in your server. PHP will not process unless it's run through the interpreter. I don't know where it's at on windows or what server you are running. You need to have a scheduled task use the PHP exe file run your cronrss.php file.

Google is your friend.
http://www.devx.com/DevX/Article/39900/1763/page/3
IchBin™        TinyPortal

papabill

#2353
Thanks, I'm waiting now to see if I did it correctly.

Quote from: IchBin™ on January 25, 2012, 11:39:03 PM
Google is your friend.
http://www.devx.com/DevX/Article/39900/1763/page/3
Unless you're brain-dead and never learned HOW to use google :)

Edit @ 9:40
Evidently not. I followed their instructions (VERY simple), but no go
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

IchBin™

Sorry don't know how to help you at this point. If it were me, I'd put some log_error('Message here'); statements in the code and see if it was actually running. Your "message here" will show up in the SMF log.

Have you tried all the different options for grabing the feed? fopen, fsockopen, curl?
IchBin™        TinyPortal

wynnyelle

I finally got the whole thing uninstalled. Thank you!

papabill

Quote from: IchBin™ on January 26, 2012, 11:12:10 AM
Sorry don't know how to help you at this point. If it were me, I'd put some log_error('Message here'); statements in the code and see if it was actually running. Your "message here" will show up in the SMF log.
Have you tried all the different options for grabing the feed? fopen, fsockopen, curl?
I checked it this morning, and it seems to be working properly. Thanks.
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

lufcwatson

hi can you help me with my rss feeder its not working for me at all i dont no what to do

papabill

Quote from: lufcwatson on January 27, 2012, 10:21:56 AM
hi can you help me with my rss feeder its not working for me at all i dont no what to do

Read the last 12 or so posts, it'll walk you through what to do. It is what I had to do, and it worked for me
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

djkimmel

If I have read all these posts correctly, no one has yet figured out why this mod won't feed in the first item? I have 10 items in my feed I'm using and have the RSS Feed Poster set to 10 but it is only bringing in items 2-10. It won't bring in item 1. Won't bring it in if I put 11 or 20 or whatever. It appears others have this same issue.

I hope someone smart figures that out. Not sure I can after going through the existing code and this long thread. I do appreciate some of the help and suggestions on other workings of this mod.

Advertisement: