On my homepage, PDF documents can also be selected and displayed. In my app, this homepage is called up with the web viewer. All links present on this website are executed. The only exception: If you link to a PDF document, it will not be opened. Please help me fix this issue.
Wrong Image - this the right one:
Hello Taifun,
thanks for the prompt reply. Your solution works for displaying a single document. But I have more than 100 links to documents on my website! Of course, the friendly users of my app could also access my website via Chrome or another browser, where the display works. But it would be easier if it worked from my app.
Best regards
1 or 100, the method is the same?
Hello Timai2,
that's right, but why should I store every single one of the > 100 documents again in the app when they are already available on the website. Or do I not understand that correctly?
Best regards
You do not
simply provide the url (using the viewer prefix as above).
If I open the web page without "docs.google ...." my website is displayed correctly, all links except the PDF display work.
If I set the web page as url, the content of the „index.html“ is displayed as textfile.
When I set the „document“ in the url, it says "No preview available".
What is the fault?
Do you not have a domain ?
Why are you using www
(that indicates a subdomain)
Why are you using http
and not https
?
Where are the pdf files? Probably:
http://www.myhomepage.com/mypdffile.pdf
www.myhomepage.com is just the alias for my domain.
The documents are stored under www.myhomepage.com/htdocs/.
I have now solved the access to my website differently. This topic is now closed.
Thank you very much and best regards