Jump to content

(Archived) Embed document or calendar


Recommended Posts

  • 1 year later...

I am also looking for ways to embed my Google Calendar within Evernote, as a "live" element.

I can save the calendar as pdf file to a folder monitored by Evernote, but all I get is a static snapshot of my calendar. Tried to clip entire page using Chrome clipper but result is a messy unformatted note.

Link to comment

It's an interesting request--I've logged for internal discussion. Seems like it would be technically pretty tough to pull off especially with syncing, but no harm in exploring.

Link to comment

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>Embed iframe</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>Embed iframe</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.

Next import the note back into Evernote ( you can delete the original note we created above in Evernote first if you choose ). It is important not to sync until after the final step. For this reason it may be useful to import the note into a local ( non-syncing ) notebook for now.

Now that the note is imported select the iframe portion of the note. As shown below. ( I placed my cursor at the end of the text and Pressed "Shift+Ctrl+END" to make the selection on a PC )

iframe_Select.png

After you selection is complete you will need to encrypt the selection

iframe_encrypt.png

Click OK to finish encrypting you selection (iframe)

The final result should look like this

iframe_final.png

Now it is safe to move this note to a notebook that can be synced. When ever you sync the note it will work fine.

Of course the downside is you will need to enter your password each time you want to see the contents of the iframe.

Link to comment
  • 1 year later...

I'd also strongly like native support to embed iframes into Evernote notes.

 

That could allow for many new possibilities: e.g. embed Google Calendar, Google Docs, Google Spreadsheets, YouTube-Videos, ....

 

That's a feature that would extend evernote greatly!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...