• Announcements

    • Shane D.

      Evernote Business Beta - Spaces   12/20/2017

      We're very excited to announce the public beta of an upcoming rework for Evernote Business! To learn more, go Here
    • Shane D.

      2018 Evernote Webinars   01/04/2018

      To kick off the new year, we're excited to announce our  updated schedule for our series of webinars! Please check the events calendar to see which one works best for you!
    • Shane D.

      Upcoming Forum Change Announcement   02/14/2018

      Hi All! You may be seeing some changes with overall organization and layout of the discussion forums. You can learn more by going to the 'Upcoming Forum Change Announcement' in the 'Community Announcements' sub-forum!  

Recommended Posts

WinEN 4.5.7.7070, Vista64

Having trouble with destructive-autoimport folder ignoring .html files

Files in question are an html dump of Journler entries. Pretty much text only.

Is HTML file import supported?

I also note if I copy the files to an EN note I get an attachment display rather than HTML display in the note.

Confused...

/Schooner

Update 12.06.03 15:20PDT:

  • No problem importing/autoimporting plain-jane HTML created/saved by MSWord.
  • The offending imports behave well if first batch-converted (Doxillion) to .rtf
  • The offending files have an arcane (refractory-to-amateur-dabblers) header as follows:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<meta http-equiv="Content-Style-Type" content="text/css" />

<title>090316</title>

<meta name="Generator" content="Cocoa HTML Writer" />

<meta name="CocoaVersion" content="949.54" />

<style type="text/css">

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande; color: #808080}

p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande; color: #000000}

p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande; color: #808080; min-height: 13.0px}

p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Georgia}

p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Georgia; min-height: 14.0px}

span.s1 {color: #000000}

span.s2 {color: #808080}

</style>

</head>

<body>

<p class="p1">Title:<span class="Apple-converted-space"> </span><span class="s1">090316</span></p>

<p class="p2"><span class="s2">Date:<span class="Apple-converted-space"> </span></span>March 16, 2009 6:05 PM</p>

<p class="p1">Category:<span class="Apple-converted-space"> </span><span class="s1">diary</span></p>

<p class="p1">Tags: <span class="Apple-converted-space"> </span></p>

Share this post


Link to post

Yup. Bad XML declaration (which means the square-root-of-squat to me, but I get the drift - EN doesn't like the files). In my flap I never thought of checking the log - there's litany of the following:

14:37:25 [7124] HTML Package ENML Validation error: XML declaration allowed only at the start of the document

14:37:25 [7124] * m_title: 090316

14:37:25 [7124] Failed to import: "C:\Users\*****\Documents\For EVERNOTE\AUTOIMPORT+\090316.html"

14:38:12 [7124] HTML Package ENML Validation error: XML declaration allowed only at the start of the document

[Resolved by batch conversion to RTF]

/Schooner

Share this post


Link to post

Schooner,

Would it be possible to send us .html file that fails Evernote import for inspection?

/Peter

Share this post


Link to post

Peter: I killed the offending files upon discovering/executing workaround (convert > RTF > import).

Recovered examples from Drobo incremental bak, re-confirmed misbehavior in EN autoimport, attached.

/Schooner

Share this post


Link to post

What is the solution here with the following error?

I have the same issue with 230 html files, do i need to send you all of them?

This is the error message:

HTML Package ENML Validation error: XML declaration allowed only at the start of the document

Share this post


Link to post

If they're all similar, the one would probably do fine. I got the message when I tried to import one of Schooner's files attached above, with the latest Windows prerelease (4.6.2.7880).

Share this post


Link to post
How can I fix this, i would like to import all 230 files, what do i need to change? Or is this a limitation of evernote?

I'd recommend opening a support request: see the link in my signature.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now