Jump to content

dgc

Level 1
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

2 Neutral

About dgc

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks @Shane D.! I missed the part in the other post about DM, or maybe as a support person myself I wasn't willing to subvert Proper Channels so I willfully overlooked it. But I'm on track now.
  2. Okay, I see another link to "Obtaining Developer Tokens" but that just leads to opening a support ticket, which is the same as SupportLogin and still doesn't show me any way to actually open a ticket after I choose three categorical descriptions of the ticket I'd like to open. Just a proposal that I upgrade.
  3. I mean, the top of this page is a menu, but if you mean https://www.evernote.com/SupportLogin.action, that's what I did. I used that link to request a developer token, but it wouldn't let me enter anything. It told me I needed to upgrade, per screenshot above. Evernote Support What can we help you with?Technical Issues- My Account Billing and Payments Technical Issues Feedback and Communication How to use Evernote Evernote Business App Store Reviews Select a topicOther Tell us more.Report an issue with an integration Please submit a ticket and provide as much information as possible so we can diagnose the problem. For example: Steps to reproduce Screen recording or screenshots Device & operating system Activity log Not what you're looking for? Try a quick search. OR Talk to other usersCommunityNever sleeps Upgrade to Premium for chatUpgrade Upgrade for email supportUpgradeWhenever you need us
  4. I can't request a developer token: Do I need to upgrade to a paid account to link a client application?
  5. This is an old topic, but considering the lack of other useful information out there it might be helpful to someone yet. I just converted some notes from Keep to Evernote. The rough procedure was: use Google Takeout to get a zipfile of all notes. You get a folder full of html files, one per note. The filenames roughly correspond to note titles, but they don't matter. export some similar notes from Evernote desktop to get sample .enex files (evernote xml export) write python code: write an XML prologue parse an HTML file, extracting note title, timestamp, tags, and content emit a <note/> element representing the note in that html file repeat for another file write an XML epilogue save this as a .enex file import the enex into evernote desktop. This creates a new notebook which is not synced, but you can move the successful notes out. The files from Keep are badly formatted HTML files. They declare themselves as XHTML but actually do not validate as XML, so using a real XML parser is difficult. It seems that they're generated by a line-by-line procedure though. In parsing the file, I could go line by line up to the content start marker, then read the rest of the file, strip out the content end marker and everything after, and process the content HTML into XML. A few things about the conversion: The <note> element you convert to has a <content> element whose value should be a CDATA. The value of the CDATA must parse as an XML document too. This is the trickiest part, converting broken XHTML content to valid XML, but at least you don't need to escape anything. An XML processor treats the CDATA as opaque binary content, so validating your final XML will not reveal parse issues in your content CDATA XML. You just need to get it right. The CDATA should contain, in addition to an <xml... header, a doctype and an <en-note> element. You can see this in the samples you export from Evernote. Within the <en-note> you can pretty much just use HTML, as far as I can tell. However... Keep will format todo lists as follows: <div class="listitem checked"><div class="bullet">&#9745;</div> [line break + list item content] <div class="listitem"><div class="bullet">&#9744;</div> [line break + list item content] These should be converted to <en-todo checked="true|false"/> . Note that this is a closed element followed by content. Content is not a child node of the element. I had only 84 notes, and the procedure took enough fiddling that I'm not sure whether it would scale well to 1200. But in the end I had only one note that required a manual tweak to load. My code is pretty bad — it's just a couple hours' quick hack — but I'll attach it in case it's a useful foundation for someone else. keep-to-enex
×
×
  • Create New...