Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I am an engineer about to retire. I am considered a 'Subject-Matter Expert' by my many clients. I feel obliged to pass on my expertise to the next generation, and have decided to build a website. I have a lot of PDF files, which I have started to incorporate using the 'PDF Document' control. When I preview or local publish these, and view the result on the machine I created the website on, the result is perfect. On any other machine, I get a variety of terrible results. Edge shows HTML code. Firefox which works perfectly on the source machine, wants to open each PDF file individually even though the Firefox versions and add-ons are cloned. I am using the free version of RocketCake. Happy to upgrade if necessary. Happy to accept suggestions of alternative strategies. Very reluctant to learn HTML! |
||||
|
I'm only a 2-months-newbie with RocketCake and haven't tried the PDF insert yet. But I guess you can avoid this sort of trouble by just listing the PDFs as text links, maybe along with a short description or extract on what the PDF is about, and maybe along with a small PDF icon so viewers can easily recognise there is a linked file. This way you would not have to worry about RocketCake's PDF insert code and about how the viewers' browsers might handle the code. It's then up to the viewers how they deal with linked PDFs i.e. download or read in the browser. Also, I think this way you are much faster with creating your website, particularly as you say you have lots of PDF files. |
||||
|
'text link'... Yes, but to where? At the moment, on the one machine that behaves as I expect, each PDF insert shows a scrolling window of the PDF and allows a download. This is exactly what I want, AND is very fast to implement. |
||||
|
I think I get it. If I publish to local disk, and the shared disk I publish to is not on the same machine as the PDFs, it does not access them. I need to publish to the internet to test it properly. Sigh. |
||||
|
david wrote: 'text link'... Yes, but to where? You would need to upload the pdf files to the server separately. If you upload the PDFs to the same directory as the html file with the text links just enter filename.pdf If you upload the PDFs to a subfolder you will have to enter subfolder/filename.pdf As for the "terrible" results on other machines: That's out of your control and depends on how viewers configure their browsers. For example, I can set my Firefox to display a PDF in a scroll box, or I can set it to display the PDF in a browser tab, or I can set it to open the PDF in my default PDF viewer. (And forget about Edge. It will be gone shortly, anyway.) |
||||
|
david wrote: "I think I get it. If I publish to local disk, and the shared disk I publish to is not on the same machine as the PDFs, it does not access them." Once you have published to local disk copies of your PDFs should sit in the rc_images folder. If you want to check how the website looks on other machines you must take the entire RocketCake output there, i.e. the rc_images folder, the html file(s) and (unless disabled) the css file(s). |
|