Menu

Page Updates?

2000-04-13
2000-04-17
  • Rick Munday

    Rick Munday - 2000-04-13

    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.

     
    • David Leadbeater

      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!

       
    • Rick Munday

      Rick Munday - 2000-04-14

      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!

       
      • David Leadbeater

        thanks for noticing that was wrong, I have a symlink from /hom/e/httpd/cog here which causes slightly different file paths!

         
        • Rick Munday

          Rick Munday - 2000-04-15

          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?)

           
          • David Leadbeater

            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!

             
            • Rick Munday

              Rick Munday - 2000-04-15

              /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!!!!

               
              • David Leadbeater

                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!)

                 
                • Rick Munday

                  Rick Munday - 2000-04-17

                  That got it! :^) Thanks.

                   

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.