Inline PDF

78 views
Skip to first unread message

Kim Skatun

unread,
Nov 20, 2012, 7:45:09 AM11/20/12
to tiddl...@googlegroups.com
Is there a way to show PDF in a frame inside a tiddler? Like with youtube videos for instance.

whatever

unread,
Nov 21, 2012, 6:56:13 AM11/21/12
to TiddlyWiki
Hi!

According to Måns (1), you can do it with Google's Document Viewer:

I use google's document viewer via an iframe for showing pdfs and
powepoint presentations in tiddlers ..

Checkout: http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html

You can easily turn it into a transclusion replacing the url with a
variable...

[[MyPdfViewer]]

<html><iframe src="http://docs.google.com/gview?url=$1&embedded=true"
style="width:600px; height:500px;" frameborder="0"></iframe></html>

and use it like this: <<tiddler MyPdfViewer with: [[my pdf's
address]]>>


(1)
https://groups.google.com/group/tiddlywiki/browse_thread/thread/185eb487eade3fdb/933afef3b773f130?hl=sl&lnk=gst&q=inline+PDF#933afef3b773f130


w
Reply all
Reply to author
Forward
0 new messages