Google Document MyCode
#1
[Image: 16713-1313312734-2.thumb.jpg][Image: 16713-1313312718-1.thumb.jpg]

A simple MyCode which able you to embed Google Docs into your posts easily.

http://mods.mybb.com/view/google-documents

Manual Installation Wrote:Regex:
[gdoc](.*?)\[\/gdoc\]

Replacement:
<div class="codeblock"><div class="title">Google Document:</div><div class="body"><iframe src="https://docs.google.com/document/pub?id=$1" width="100%" height="300px"></iframe></div></div></div>

Google Document MyCode Wrote:Usage
-------
All you need is the ID. For example, these are the 3 links which can be found at the document you want:

- Editing the document
https://docs.google.com/document/d/1apveaUwdaYevtuVIb8Q1vp4VTxyEejc22TAHLhaPSYw/edit?hl=en_US

OR

https://docs.google.com/viewer?a=v&pid=e...true&srcid=1wvDPpnd0EcZWNSDX5kunKSKUjeQk-CwdmstCYX_SeJYDkO1zdb10-x4jR0tR&hl=hr

OR

https://docs.google.com/leaf?id=0B6g1fNYZpYWvMWEwZDA0MzMtZmY0NC00NzhkLWI3ZGUtNmI1NTQxMDliNTY4&hl=en_US

- Publishing the document
https://docs.google.com/document/pub?id=1apveaUwdaYevtuVIb8Q1vp4VTxyEejc22TAHLhaPSYw

And the tag is:
[gdoc]ID[/gdoc]
Reply


Messages In This Thread
Google Document MyCode - by acrox999 - 2011-08-15, 10:15 AM
RE: Google Document MyCode - by mrfield16 - 2011-09-28, 01:55 AM
RE: Google Document MyCode - by MrJohn - 2011-10-03, 10:45 PM
RE: Google Document MyCode - by fizz - 2011-10-03, 11:09 PM
RE: Google Document MyCode - by mrfield16 - 2011-10-05, 05:56 PM
RE: Google Document MyCode - by fizz - 2011-10-05, 07:35 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)