Forum Replies Created

Viewing 15 replies - 256 through 270 (of 975 total)
  • The viewer appearance (including toolbar) can be changed almost entirely by using the Custom CSS File option with the Enhanced Viewer. Depending on the color you choose, you may also have to change the color of the sprite images (toolbar buttons) to remain legible.

    An example is provided with the plugin with the “dark theme” and dark.css file. If you need more specific help, please get in touch with me via the Support tab in GDE Settings.

    Hi,

    Text search is available in the full screen viewer if you leave it set to Google default. It’s not available in the embedded version.

    You can navigate to a certain page using the arrows on the toolbar. If you mean enter a page number and jump to it, or press a button that causes you to jump to a particular page instead of sequential, this feature isn’t available but it may be possible to code that externally. Because Google’s own “jump to page” function currently doesn’t work it probably won’t be added to GDE anytime soon, though. If you’re javascript savvy you could experiment with this with the enhanced viewer.

    Sorry I don’t have a more positive answer on these items. Page manipulation is a bit of a drag in these cases because the pages load dynamically and externally; and text searching in flat images isn’t all that straightforward either.

    Kevin

    timbo,

    Thanks for looking around to try to find your answer before posting… Glad to help but that action helps me, too.

    I’ve received a number of reports for this issue over the last couple of months. While I can’t tell you exactly where the breakdown is occurring (just “somewhere on or between Google’s server and yours”) it seems this is usually caused by very slow response from your server – either because it’s located on the other end of the world with a narrow pipe, or you’re on a shared host that’s overburdened, etc. I haven’t seen this crop up with regard to Google accounts, though it might happen more often with larger files it certainly can happen even with small ones.

    I typically recommend (if you can do it) that you host any problem files on a high speed, US-based server if you encounter this problem on your site. Dropbox has worked very well for people who experienced similar issues.

    This is not ideal by any means but is related to network connectivity in a way that I as the plugin developer can’t currently improve. Sorry for this inconvenience.

    Kevin

    pablo,

    I’d be willing to add multisite features, but since I don’t use multisite myself, I’d like to know what functionality you’d like to see in this regard. The plugin can already be installed in a multisite environment, but network activation isn’t supported.

    Kevin

    ekarta,

    This looks like a bug in Google Viewer, but I think more accurately it’s a problem with the formatting of the original document that is confusing Google Viewer. When I download the original document the first page shows up correctly in Russian (I assume, at least the characters are Cyrillic), but the second page has overlaps and very strange formatting that may well be a different language (?).

    You might want to test this theory by creating a simple document with Russian text and trying to embed it. If it works properly, it would more or less confirm that there is some weird formatting in this document that is confusing the viewer about what character set to use.

    FWIW when I look at the document in pdf.js (the built in PDF viewer in Firefox) the first page is Russian and the second page is a strange mess.

    Kevin

    Hello,

    This behavior is correct. This is described at the very top of the FAQ as well as in the first section of the Help page errors section. Your documents must be publicly accessible via the internet even if your WordPress installation is not.

    Hope this helps,

    Kevin

    Hi sank,

    Sorry, I may not have understood you entirely the first time. If you want to link to the full screen viewer, then following the directions in the link you provided should work. The image tag I left was simply for a thumbnail of a page. If you wrap that in a link as described in your first post then you should end up with a clickable image of the first page (or whatever page you choose) that goes to the full screen viewer. Here is a complete example using the first page of the first document on the link you provided:

    <a href="http://davestringer.com/__wp/wp-content/plugins/google-document-embedder/view.php?url=https%3A%2F%2Fdavestringer.com%2F__wp%2Fwp-content%2Fuploads%2F2013%2F08%2FJapa-Reviews.pdf&hl=&gpid=1&chrome=true"><img src="https://docs.google.com/viewer?url=https://davestringer.com/__wp/wp-content/uploads/2013/08/Japa-Reviews.pdf&a=bi&pagenumber=1"></a>

    I think the problem with the “unsupported browser” message may be related to other items being inserted into the viewer, presumably by other plugins. When I view the source of the viewer on your site there is code at the bottom that isn’t coming from either GDE or Google, but it appears “photocrati” and “lbg-audio1-html5” and perhaps others. There are multiple jquery references at the bottom of the page as well, and those aren’t coming from GDE or Google either, but probably another plugin (maybe one of those I’ve already listed). The inclusion of this junk code is resulting in javascript errors in the browser, however if you only want to hide that message you can add a line to your style sheet you’re using for GDE.

    .docs-butterbar-container { display: none; }

    There may be other issues with leaving that code in there, though. Those plugins appear to be “leaky” as they are adding code to pages they do not own.

    When I visit that site in IE10 I see a PDF, “SCUOLA SECONDARIA DI PRIMO GRADO N°1 “ETTORE PAIS”. It appears to be working normally.

    The most likely explanation is that your browser has unusual browser security settings. I would recommend you try resetting your security settings to defaults (varies by version but all essentially the same). You may also have to turn off Protected Mode which is enabled by default on some systems.

    However I am able to view the page normally using the default settings of IE10.

    sank,

    That error message comes from Google, whom you would presume would be smart enough to recognize their own browser… I’m wondering if you might have any plugin or extension installed that might be altering your user agent string. I sometimes use one while testing my sites. Otherwise if you could provide a link as an example maybe I can give more direction. Certainly that isn’t normal behavior and I’ve not seen it elsewhere or heard similar reports from others.

    As to thumbnails, I had planned to offer just that very feature in the next major version of GDE. I have been discouraged by this because of the relative instability of Google’s viewer. I spend so much time working through quirks and maintenance such as this that I fear new development will be fragile and will require a lot more time to support. Google may eventually choose to end this service altogether, though I hope not, they certainly have a history of abandoning announced and heavily used product offerings.

    In the meantime you can provide this yourself with a little bit of “grunt work” – rather than create a manual link to GDE as you linked above, create an image tag linking to the viewer directly like so:

    <img src="https://docs.google.com/viewer?url=http://mysite/mydoc.pdf?a=bi&pagenumber=1" height=XX width=XX>

    where obviously you replace the bogus document link with your own, set real height and width values, and you can set the pagenumber value to whatever page you want to show a thumbnail of. The other parameters must remain intact.

    Hope this helps.

    Kevin

    I have IE10 installed (on Windows 7) and it does work. Could you provide an example of one that doesn’t, so I might be able to offer another explanation?

    Yes, with some limitations. That is a standard option in the enhanced viewer. See this page and look under “security.”

    http://www.davistribe.org/gde/settings/enhanced-options/

    I was able to view the document fine on my tablet in Firefox and Chrome. Not sure what you’re seeing, but take a look at the documentation; there may be something that addresses the specific problem you’re having.

    http://www.davistribe.org/gde/notes/

    I have a Nexus 7 and it works normally there. If you’re having problems with a specific document, please give more details. Thanks!

    Hello,

    This question is addressed directly on the help page. In short this is the way CSS works and doesn’t have anything to do with GDE. The workaround is to set an explicit (pixel) height.

    http://www.davistribe.org/gde/notes/#height

    Thanks,

    Kevin

    Nico, a Google code change has broken the page attribute. I am trying to find an alternate way to implement this feature. At the moment this is not supported. 🙁

    At the moment it looks like I can implement a fix for this but it will require use of the enhanced viewer – the attribute will no longer be supported in the standard viewer. I really don’t like this so I’m still trying to find another solution.

Viewing 15 replies - 256 through 270 (of 975 total)