Article Index

As of version 4 of Evernote Desktop Iframe is not supported by Evernote so embedding Google Docs or other Iframe items is not possible as it will fail the sync. One workaround is to encrypting the iframe before syncing.

First create/open the note you want to embed the iframe into. Next export the the note to your computer in ENEX format. Open the exported ENEX file in a text editor. I used Notepad++

Here is my example

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export.dtd">
<en-export export-date="20111226T104603Z" application="Evernote/Windows" version="4.x">
<note><title>just a test</title><content><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd">
<en-note style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Embed Google Doc / Embed Iframe Work around
</en-note>]]></content><created>20111226T104214Z</created></note></en-export>

Now add you iframe after the text as I did below

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export.dtd">
<en-export export-date="20111226T104603Z" application="Evernote/Windows" version="4.x">
<note><title>just a test</title><content><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd">
<en-note style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Embed Google Doc / Embed Iframe Work around
<div><iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" width="100%" height="800px" frameborder="0"></iframe></div>
</en-note>]]></content><created>20111226T104214Z</created></note></en-export>

Note I set the iframe height and width. I would recommend 100% for the width but you can play around with it.

Add comment


Security code
Refresh