plugin:gview
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:gview [2013-03-25 19:34] – [Development] Aleksandr | plugin:gview [2018-05-28 22:44] (current) – [Installation] Klap-in | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : sahara.satoshi@gmail.com | email : sahara.satoshi@gmail.com | ||
type : syntax | type : syntax | ||
- | lastupdate : 2013-03-22 | + | lastupdate : 2014-11-16 |
- | compatible : Adora Belle, Weatherwax | + | compatible : Adora Belle, Weatherwax, Binky, 2014-05-05 " |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : google, embed | + | tags : google, embed, html5 |
downloadurl: | downloadurl: | ||
Line 24: | Line 24: | ||
- | Install | + | Search and install |
==== Prerequisite to embed document stored in media directory ==== | ==== Prerequisite to embed document stored in media directory ==== | ||
Line 46: | Line 46: | ||
< | < | ||
- | To show the document in the embedded viewer, | + | To show the document in the embedded viewer, |
- | < | + | < |
- | + | ||
- | You do not need to remove ''< | + | |
- | + | ||
- | + | ||
- | A most simple example: | + | |
- | {{gview>: | + | |
Some more complex example: | Some more complex example: | ||
- | {{gview> : | + | {{gview |
- | {{gview> | + | {{gview |
- | {{gview> | + | {{gview |
==== Note ==== | ==== Note ==== | ||
- | * The document to view must be " | + | * The document to view must be " |
* The DW page must be reachable from the internet (because Google' | * The DW page must be reachable from the internet (because Google' | ||
Line 72: | Line 66: | ||
===== Syntax ===== | ===== Syntax ===== | ||
< | < | ||
- | {{gview> id [size] [noembedded] [noreference] }} | + | {{gview [size] [noembed] [noreference] |
</ | </ | ||
- | * **id** : DW media " | + | * **id** : DW media " |
* This means you may embed a document published at different web site. The source url (reference) acknowleged above the viewer frame. | * This means you may embed a document published at different web site. The source url (reference) acknowleged above the viewer frame. | ||
* you can use " | * you can use " | ||
Line 83: | Line 77: | ||
* When one value is given it is assumed to be the height. | * When one value is given it is assumed to be the height. | ||
- | * **noembedded** (or **noembed**) | + | * **noembed** (or **noembedded**) |
* Indicate to show only hyperlink to the viewer, instead of embedded viewer. | * Indicate to show only hyperlink to the viewer, instead of embedded viewer. | ||
* Document title specified after " | * Document title specified after " | ||
Line 90: | Line 84: | ||
* Suppress a reference line just above embedded viewer frame. The reference is a hyperlink (url) to the online document shown in the viewer. | * Suppress a reference line just above embedded viewer frame. The reference is a hyperlink (url) to the online document shown in the viewer. | ||
+ | |||
+ | ==== trick syntax ==== | ||
+ | There is another **experimental** trick syntax available. The markup key is " | ||
+ | |||
+ | {{obj: | ||
+ | |||
+ | which will embed media resource in html using HTML5 object tag. If you do not like to use google service, please try this usage. The ''< | ||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
Line 95: | Line 96: | ||
=== CSS === | === CSS === | ||
- | The class //tpl_gview// is avilable | + | The class //obj_container_gview// is available |
Line 112: | Line 113: | ||
=== ToDo === | === ToDo === | ||
+ | * Support embedding Google document, sheet, presentation and drawings on Google Drive. | ||
+ | * also, support Skydrive, even plugin name is not appropriate... | ||
* < | * < | ||
+ | * change syntax to ''< | ||
+ | |||
===== FAQ ===== | ===== FAQ ===== | ||
Line 118: | Line 123: | ||
// | // | ||
===== Discussion ===== | ===== Discussion ===== | ||
+ | Great plugin! It would be good to be able to support the likes of the BOX viewer (HTML5). As it stands the correct height can be adjusted, but the width stays locked to 100%, even when changed to something else, i.e: | ||
+ | |||
+ | {{obj: | ||
+ | The viewer works correctly though, it is just the width adjustment. | ||
==== Show PDF documents stored in DW media ==== | ==== Show PDF documents stored in DW media ==== | ||
Line 125: | Line 133: | ||
> Thanks for your comment. It was my original objectives of this plugin. New release 2013-03-22 supports DW media docs with some prerequisite. I have tested CentOS6-Apache 2-Adora Belle and Win2003S-IIS6-Weatherwax RC1. --- [[user> | > Thanks for your comment. It was my original objectives of this plugin. New release 2013-03-22 supports DW media docs with some prerequisite. I have tested CentOS6-Apache 2-Adora Belle and Win2003S-IIS6-Weatherwax RC1. --- [[user> | ||
+ | I actually have my DW site protected by **.htaccess**, | ||
+ | If I rename **.htaccess** everything works fine.\\ | ||
+ | Do you have some hints how to modify **.htaccess** for using with gview? This would be great. | ||
+ | I tried a lot of hints from the web, but nothing worked. e.g.: | ||
+ | < | ||
+ | RewriteCond %{HTTP_REFERER} !^http(s)?:// | ||
+ | RewriteCond %{HTTP_REFERER} !^http(s)?:// | ||
+ | RewriteRule \.(pdf)$ - [NC, | ||
+ | Working under debian linux with '' |
plugin/gview.1364236473.txt.gz · Last modified: 2013-03-25 19:34 by Aleksandr