When I logged into cog (installed locally) the /. ,fm, and etc. contained the exact same news as yesterday even though the sites have updated their news.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a perl script you need to run to update the news,
it is in cog/news/fetch/fetch.pl, you will need to edit the paths in the file to point to where you have installed cog (edit fetch.pl at the top and in fetchrc you need to make several changes). To check that you have installed it correctly run the script, you should get several messages saying:
Getting Slashdot headlines using <url>. and so on.
When you have set it up put it in your crontab or into your ip.up script if you are on a dial-up connection.
Hope this sorts it out for you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The userfriendly image is stored into the image directory, so on apache on redhat this is /home/httpd/html/images/ the image should be in there have a look and see, (in the configuration file about half way down there is the path to the image, check this is correct and doesn't have the .gif extension as this is added by the script!)
> (error checking and notification as a future addition?)
Yes I will by default put a file which says something like,
Please run the fetch.pl script to update the news headlines.
I could add an check to see if the uf.gif exists but this would be difficult as cog doesn't know where the uf.gif file is stored!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
/home/httpd/html/images/ is there, so is the uf.gif from 4/12.
rc shows: /home/httpd/html/images/uf
Hmm, I just deleted the uf.gif in images directory and that didn't fix it either. Copied it there and it works... Something is not right in the script but I'll be damned if I can see it.
Going to a cook-out so I'll bang away later.
Thanks again! And I love COG!!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've found the problem, it looks as if userfriendly have changed their layout, I have put a plugin replacement for fetch.pl at http://cog.sourceforge.net/tmp/fetch.pl
try it out, it should fix the problem! (its also got the correct path this time!)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Am I missing a setup option?
When I logged into cog (installed locally) the /. ,fm, and etc. contained the exact same news as yesterday even though the sites have updated their news.
There is a perl script you need to run to update the news,
it is in cog/news/fetch/fetch.pl, you will need to edit the paths in the file to point to where you have installed cog (edit fetch.pl at the top and in fetchrc you need to make several changes). To check that you have installed it correctly run the script, you should get several messages saying:
Getting Slashdot headlines using <url>. and so on.
When you have set it up put it in your crontab or into your ip.up script if you are on a dial-up connection.
Hope this sorts it out for you!
Cool! It's running the update now. Thanks!
It showed - /home/httpd/cog/cog/news instead of /home/httpd/cog/news
Now off to cron this sucker!
thanks for noticing that was wrong, I have a symlink from /hom/e/httpd/cog here which causes slightly different file paths!
No problem. :^) It drove me nuts until I realized I was seeing double (cog).
OK, now one more question... I can't get UF to update and I'm really bummed out without my daily fix!
The path goes to ../images, the url in correct, the image never get pulled down. (atleast not that I can see)
Ideas?
Thanks - Dave
(error checking and notification as a future addition?)
The userfriendly image is stored into the image directory, so on apache on redhat this is /home/httpd/html/images/ the image should be in there have a look and see, (in the configuration file about half way down there is the path to the image, check this is correct and doesn't have the .gif extension as this is added by the script!)
> (error checking and notification as a future addition?)
Yes I will by default put a file which says something like,
Please run the fetch.pl script to update the news headlines.
I could add an check to see if the uf.gif exists but this would be difficult as cog doesn't know where the uf.gif file is stored!
/home/httpd/html/images/ is there, so is the uf.gif from 4/12.
rc shows: /home/httpd/html/images/uf
Hmm, I just deleted the uf.gif in images directory and that didn't fix it either. Copied it there and it works... Something is not right in the script but I'll be damned if I can see it.
Going to a cook-out so I'll bang away later.
Thanks again! And I love COG!!!!
I've found the problem, it looks as if userfriendly have changed their layout, I have put a plugin replacement for fetch.pl at
http://cog.sourceforge.net/tmp/fetch.pl
try it out, it should fix the problem! (its also got the correct path this time!)
That got it! :^) Thanks.