473,320 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Framed pdf

Greetings,

I was wondering how to open a framed pdf document correctly. We have
a pdf file that is called in a framed document. When the person
clicks on a link in our site to the pdf, the frame appears and the pdf
appears within the correct frame. Now, we would like to have the pdf
and the frame open up together when somebody from the internet does a
search for this pdf and clicks on the search engine link (ex. google).

Thank you,
Jul 20 '05 #1
5 2531
On 19 Apr 2004 09:40:40 -0700, Erik Meyer <ne*********@yahoo.com> wrote:
Greetings,

I was wondering how to open a framed pdf document correctly. We have
a pdf file that is called in a framed document. When the person
clicks on a link in our site to the pdf, the frame appears and the pdf
appears within the correct frame. Now, we would like to have the pdf
and the frame open up together when somebody from the internet does a
search for this pdf and clicks on the search engine link (ex. google).

Thank you,


This is one of the biggest problems with frameset. What you ask is damn
near impossible, if not actually so.

In order to do this you need to create a customized frameset which loads
the PDF instead of whatever the index frameset loads. Then set the server
to redirect calls for that pdf to instead open the new frameset document.
Of course, you'll have to figure out a way to prevent your own links to
that document from behaving similarly. I haven't a clue how to do that.
Jul 20 '05 #2
Erik Meyer <ne*********@yahoo.com> wrote:
I was wondering how to open a framed pdf document correctly. We have
a pdf file that is called in a framed document. When the person
clicks on a link in our site to the pdf, the frame appears and the pdf
appears within the correct frame. Now, we would like to have the pdf
and the frame open up together when somebody from the internet does a
search for this pdf and clicks on the search engine link (ex. google).


See http://www.htmlhelp.com/faq/html/fra...#frame-context

But keep in mind that not all browsers are configured to display PDF
documents in a browser window. Some feed the document to Acrobat Reader or
some other helper app.
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"Experience is what allows you to recognize a mistake when you make it again."
Jul 20 '05 #3
Erik Meyer wrote:
I was wondering how to open a framed pdf document correctly. We have
a pdf file that is called in a framed document. When the person
clicks on a link in our site to the pdf, the frame appears and the pdf
appears within the correct frame. Now, we would like to have the pdf
and the frame open up together when somebody from the internet does a
search for this pdf and clicks on the search engine link (ex. google).


If you want a HTML document to be "auto-framed", then you could use a piece
of JavaScript. But with a PDF file, the only solution I can imagine at this
moment is to use a rewrite rule. For exemple :

http://myserver/docs/my-pdf.pdf

will be transformed in :

http://myserver/navig/my-frameset.php?frame=my-pdf.pdf

--
Pour me répondre par mail privé, merci de supprimer _NOSPAM_ de mon
adresse.

Un grand merci à OE Quote Fix pour rendre OE utilisable :)
=> http://home.in.tum.de/~jain/software/quotefix.php

Jul 20 '05 #4
/Erik Meyer/:
I was wondering how to open a framed pdf document correctly. We have
a pdf file that is called in a framed document. When the person
clicks on a link in our site to the pdf, the frame appears and the pdf
appears within the correct frame. Now, we would like to have the pdf
and the frame open up together when somebody from the internet does a
search for this pdf and clicks on the search engine link (ex. google).


Somewhat similar to the JavaScript solution, but still not universal
is to setup to serve the frame set when one request the desired URL:

http://yoursite.com/thefile.pdf

The frame set itself includes the same URL as the source for the
"PDF frame" but then the UA would send 'Referrer:
http://yoursite.com/thefile.pdf' with that request and the server
should send the PDF itself instead of the frame set.

It is obvious this solution would not work if the UA doesn't send
(correct) 'Referrer' header, but it doesn't rely on client side
JavaScript.

--
Stanimir
Jul 20 '05 #5
"Pierre Goiffon" <pg******@free.invalid> schrieb im Newsbeitrag
news:40*********************@nnrp1.numericable.fr. ..
Erik Meyer wrote:
I was wondering how to open a framed pdf document correctly. We have
a pdf file that is called in a framed document. When the person
clicks on a link in our site to the pdf, the frame appears and the pdf
appears within the correct frame. Now, we would like to have the pdf
and the frame open up together when somebody from the internet does a
search for this pdf and clicks on the search engine link (ex. google).
If you want a HTML document to be "auto-framed", then you could use a

piece of JavaScript. But with a PDF file, the only solution I can imagine at this moment is to use a rewrite rule. For exemple :

http://myserver/docs/my-pdf.pdf

will be transformed in :

http://myserver/navig/my-frameset.php?frame=my-pdf.pdf


Of course you will have to use a name different from the pdf's actual file
name, otherwise you have a reference from the frameset to the file which
will be transformed, too, and the frameset will load itself eternally.

--
Markus
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tim Tyler | last post by:
The content from Google's web sites can no longer be displayed in frames :-( If anyone has a PHP screen-scraper and filter that rectifies this problem - by allowing "unframable" sites to be...
1
by: Bart Plessers \(artabel\) | last post by:
Hello, I am wondering if one could do following. I have a main frame with 3 subframes ("top", "left" and "contents") I have a link in the left frame, someting like: <a...
3
by: Jamal | last post by:
Hi, I have been searching around for a way to ensure a page stays framed. Here's the catch. The user starts at a two-frame page with the Google directory in one frame. I want the user to be...
0
by: theodp | last post by:
So what troubled the USPTO enough to trigger a rare Director-ordered reexam of SBC's Framed Browsing patents? Was it the prior art pointed out by columnists Robert X. Cringely and Dan Gillmor ?...
2
by: Daniel Déchelotte | last post by:
Hi crowd, Please have a look at this page, where I try to have a framed block next to a floated one: http://yo.dan.free.fr/float_n_div.html Above is the best result I got so far. Works in...
1
by: Aaron Ward | last post by:
Does anyone know how to submit values from a page without frames to a certain frame in another framed page? Any help would be greatly appreciated, Aaron Ward Digipen Institute of Technology
1
by: Dennis Allen | last post by:
Hi. I was wondering if someone here could help. I'm working with a simple framed web site, www.stargazing.net/mas/index.htm. A left side called frame.htm, and the right side called home.htm. In...
11
by: annie | last post by:
Hello all. I am writing an XSL stylesheet that automatically converts a page with frames to a noframes equivalent of this page, using tables. I can get the positioning of each frame write in the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.