INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Link to specific content in PDF through a web search

Link to specific content in PDF through a web search

(OP)
Hi all, new member here. I'm fairly new to web development but I think that what I'm trying to do should be doable! glasses I'm really hoping someone can help!!!

  • I'm using Adobe Acrobat Pro X.
  • I know how to add named destinations, bookmarks, and links to my PDF files.
  • I have added a search feature to the company website.
  • I'm testing 2 different searches; 1 is google and one is master.com
  • The search does find content within the PDF files BUT.... when you click the link it takes you to the 1st page of said PDF where you have to search again to find the content.
  • I'm sure there must be some way to eliminate the 2nd search step and have the original result open to the section where the result resides.
Am I crazy? Has anyone figured this out? I appreciate any help you can give. Thanks.
K

RE: Link to specific content in PDF through a web search

forum223: Adobe: Acrobat would be the place to ask.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Link to specific content in PDF through a web search

(OP)
Thanks Chris,
I didn't even realize that forum existed .... there are so many I'm still browsing!! I posted my question there.

RE: Link to specific content in PDF through a web search

This is still more of a web question than an Acrobat question, which is why I'm answering here.

These indexing services you are trying will not offer the function you seek. You will need to make your own index.

You can directly link to a page within a PDF by composing a URL like this:
http://www.mywebsite.com/myfile.pdf#page=4
or
http://www.mywebsite.com/myfile.pdf#destinationnam...

With this in mind, you could create an index HTML page like this.

CODE

<ul>
<li><a href="/pdf/document.pdf#page=2">Table of Contents</a><br />Here is some additional descriptive text about this page</li>
<li><a href="/pdf/document.pdf#page=4">Product X</a><br />Here is some additional descriptive text about this page</li>
<li><a href="/pdf/document.pdf#page=6">Ordering Information</a><br />Here is some additional descriptive text about this page</li>
</ul> 

Use robots.txt to prevent Google from actually looking in your /pdf/ directory. Google will crawl this HTML page with your own index. You can make as many HTML index pages as you want to give Google better targets.

There are also tricks to use document.pdf#search=[token] but these may only work in the Acrobat/Adobe Reader plugin. Not everyone uses Adobe's PDF viewer in their browser. The Firefox default PDF viewer, for example, does not appear to honor the "search" parameter in the URL.

RE: Link to specific content in PDF through a web search

...and I should note... PDF sucks. When possible, render your content in HTML. It is much more easily found than PDF content. Your discovery of this search issue is just the tip of the iceberg of trouble with PDF.

RE: Link to specific content in PDF through a web search

(OP)
Thanks for the response spamjim but I'm not sure if what you're proposing is feasible. I'll try to explain a bit more.

We currently have PDF papers (technical papers - maybe 50 or so) on our web site. My boss wants someone to be able to search for a certain topic, i.e. phrase, and find the appropriate sections on said pages to focus on.

I hope that's a bit more clear.

Thanks for your help!
Kimberly

RE: Link to specific content in PDF through a web search

(OP)
2thumbsup Funny you should say that spamjim .... I was going to tell you in my previous response that I had considered converting all the PDFs to HTMl but a lot of them have figures and it was getting very messy!!!

Thanks for your help!
Kimberly

RE: Link to specific content in PDF through a web search

Your problem was understood. Your boss is expecting a technical impossibility with current search engine indexing of PDF...unless you build your own index and link to each page within the PDF.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close