PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Embedded PDF documents

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Embedded PDF documents

    If I have a home page www.mysite.com/HomePage.htm and I have an embedded pdf on that page <embed src="../SomePath/EmbeddedPDF.pdf">

    do the search results from the PDF link to ../SomePath/EmbeddedPDF.pdf or to www.mysite.com/HomePage.htm

    And can it be configured to which ever it does not do by default.

    p.s.
    I am currently 'evaluating' the free version which does not support PDFs or I would try it myself.

    Thanks in Advance

  • #2
    Zoom will find documents linked to using the Embed tag. But for PDF files the search result will point to to the PDF file itself. It will not point to the parent document that linked to it. This behaviour is not configurable.

    Comment


    • #3
      Any way to manually change the URL's associated?
      For example: manually change www.mysite.com/embeddPDF.pdf to www.mysite.com&page=embeddedPDF


      The zoom_pagedata.zdat looks promising, however states: "WARNING: DO NOT EDIT THIS FILE"

      Thanks

      Comment


      • #4
        There are details here about editing the zoom_pagedata.zdat file in V5 of Zoom.

        In short, editing the file can corrupt the index, if you change the number of bytes in the URL.

        We are going to make a solution available in V5.1 however.

        Comment


        • #5
          That could work in my case.

          Am I correct that the number of bytes in the URL is essentially the number of characters?

          Also it sound as if this was possible with version 4. I would consider purchase of that version as an alternative, If it is still available.

          Thank you for the quick responses and I look forward to purchasing the Professional Edition.

          Comment


          • #6
            Yes, in V4 you can edit the zoom_pages.zdat file, as long as you don't change the number of lines in the file. If you purchase V5, then E-mail us, we can swap the V5 license for a V4 license key. The old V4 download is here.

            Comment


            • #7
              Workaround for this problem

              I may have found a workaround for this problem

              When a pdf is linked inside an image tag the search result will point to the parent document. So the following code fragment will do the trick.

              Code:
              <!--ZOOMSTOP-->
              <a href="mypdf.pdf">my pdf</a>
              <!--ZOOMRESTART-->
              
              <div style="display:none">
              <img src="mypdf.pdf">
              </div>
              Hope this helps.

              Thanx for the great product

              Jacco

              Comment


              • #8
                We also released a new change in V5.0 build 1005 that might help with problems similar to this.

                A new "Rewrite links" feature was added which allows you to rewrite the indexed URLs (eg. replace all URLs containing "http://dev.myserver.com/" to http://www.myserver.com).

                Comment

                Working...
                X