Support » Plugin: Google Doc Embedder » Using with localhost

  • Will I be able to test this plug-in locally using the following code:
    [gview file=”http://www.localhost/site/wordpress/wp-content/uploads/2011/02/”]

    or do I have to upload it to my server first for it to work?
    Thanks for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • If your server is on the net should work as stated by the plugin developper.

    but if your localhost is on an intranet (not public not on the web) it won’t work…

    I’m desesperatly looking for that to use on an INTRANET too.

    any plugin that uses google API needs the file to be public (at least on the web)
    this is too much big brother for me.

    Google doesn’t allow this.

    we’re stuck.

    Can I use charts offline?
    No; your computer must have live access to in order to use charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included jsapi script, and is called when you invoke the google.load() method. Our terms of service do not allow you to download the google.load or google.visualization code to use offline.
    Can I download and host the chart code locally, or on an intranet?
    Sorry; our terms of service do not allow you to download and save or host the google.load or google.visualization code.

    Plugin Author k3davis


    As oem stated, Google needs access to the docs in order to load them into the viewer. You can have the pages on an intranet, but the docs themselves must be publicly accessible. There are some mitigating options built into the plugin – such as masking URLs for PDF files – and you can put the files in a public directory on your web site that disallows directory indexing and search engine access using an .htaccess file – but these aren’t impossible to bypass. For documents that have a true security or personal concern, Google’s viewer (and therefore my plugin, which embeds it) is not a good solution for you.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using with localhost’ is closed to new replies.