Menu

trouble accessing html files

Help
2005-07-12
2013-03-22
  • Irene Cummings

    Irene Cummings - 2005-07-12

    Hi,

    when I search for html files contents (not necessarily cached by a browser, just unzipped to the harddisk) soogle finds them but does not display them properly. Specifically any embedded pictures etc are not found. The problem is probably related to the location it displays them from, namely it gives the temp cache location (googles?), rather than the original location.

    So for example the original file was in
    c:/temp/3.html
    Instead of soogle finding it there (as google desktop does) soogle's search opens to
    file:///c:/DOCUME~1/IRENEC/LOCALS~1/TEMP/3.html
    which does not have the "supporting" files cached to it.

    Cheers,
    -Irene

    PS Sadly my web-server is behind a firewall so no external access is possible :(
    PSS Perhaps not related, but soogle search does not find (accessable) output from kongulo (http://sourceforge.net/projects/goog-kongulo) at all...

     
    • Peter

      Peter - 2005-07-13

      Irene, if your GDS (google desktop search) opens to file:///c:/DOCUME~1/IRENEC/LOCALS~1/TEMP/3.html, so does Soogle.  the reason is that Soogle utilizes GDS  to search, i.e., it does not have its own search algrithem but redirects the search result from GDS.

      For kongulo, if GDS search returns physical files(not file link, url, etc), then soogle is able to show them.

      Cheers,
      Peter

       
      • Irene Cummings

        Irene Cummings - 2005-07-13

        Hi Peter,

        thanks for your quick response. Strangely GDS actually opens the original file location. In the example given
        file:///c:/TEMP/3.html
        not
        file:///c:/DOCUME~1/IRENEC/LOCALS~1/TEMP/3.html
        which is where soogle finds the file.  Odd.

        However upon reflection I realize that there is no quick way to get what I want, namely *remote* users to be able to access the html documents and their links (images, subdocuments). This is because the remote user sees the links (in some cases at least) as something like www.mysite.com/soogle/link.htm, not the harddisk location.

        I really want to use this to search our local intranet, however, so I will investigate further - if nothing else at least I will get to learn php!

        Cheers,
        -Irene

         
    • Irene Cummings

      Irene Cummings - 2005-07-13

      Hi,

      just a quick message before I leave work for the day. By making a couple of code changes I have managed to get kongulo and soogle playing together quite well. Specifically its now possible for me to use kongulo to import intranet files into GDS and have remote users use soogle to search the intranet files with the option of viewing the cached (kongulo/GDS) files or going to the original intranet page.

      Exactly what I wanted, so yah!

      No improvement on local html files as mentioned above, but I might look into making ones viewable on the webserver play ball tomorrow.

      -Irene

      PS This is all using firefox/netscape.

       
      • Peter

        Peter - 2005-07-13

        That's very nice to know, Irene.  As for html pages, the soogle client can see the html text but not reference images, let me know if you come up with any solutions.

        Regards,
        Peter

         
      • Chris Quan

        Chris Quan - 2005-10-09

        Irene,

        I'm trying to get Soogle to work with local server as well. may I have your modification? TIA.

        Chris

        P.S. I'm using GDS 2 Beta and I can't even get any results back. Any ideas? I have update the GDS API URL.

         
        • Peter

          Peter - 2005-10-14

          Chris, I've tried to use Soogle with GDS 2 Beta, and it works fine.

          make sure you've got  the right settings in the config.php file. 
          GDS_URL define('GDS_URL', 'http://127.0.0.1:4664/search&s=/*string token from registry*/');

          How to get token from Google's website(http://desktop.google.com/queryapi.html):
          Note that these requests only do a desktop search, not both a web and desktop search.The search query URL, including your security token, is stored in the registry at:

          HKEY_CURRENT_USER\Software\Google\Google Desktop\API\search_url

          To use the example above, the stored query URL would be something like:

          http://127.0.0.1:4664/search&s=1ftR7c_hVZKYvuYS-RWnFHk91Z0?q=

          > P.S. I'm using GDS 2 Beta and I can't even get any results back. Any ideas? I have update the GDS API URL.

           
    • Chris Quan

      Chris Quan - 2005-10-16

      Peter,

      I have tried all of your suggestions. I tried both 0.1 and 0.2 version on 3 different computers using Windows XP Home, W2K and W2K3. I have used both the XAMPP Lite and manual installation of the latest Pache and PHP.

      All of them returns zero result. There is no errors, just no result retuned.

      Have you tested it on a clean computers with newly installed GDS 2 beta?

      TIA.

      Chris

       

Log in to post a comment.

MongoDB Logo MongoDB