My own XML Import problem

David

My own XML Import problem

Postby David » Tue Nov 09, 2010 2:48 pm

Hello, I've created my own generator of diary xml (to use CN as diary), but I'm not able to import it. Application is doing something for while, then not responding and nothing happens even if I wait about 5 minutes.

OS: Windows XP SP3
Version of CintaNotes: 1.3

Here's part of my xml file:

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<notebook>
  <note title="Friday, 01.January" date="2010-01-01" time="00:00:00" source="" link="" tags="2009/53"><![CDATA[]]></note>
  <note title="Saturday, 02.January" date="2010-01-02" time="00:00:00" source="" link="" tags="2009/53"><![CDATA[]]></note>
  <note title="Sunday, 03.January" date="2010-01-03" time="00:00:00" source="" link="" tags="2009/53"><![CDATA[]]></note>
  <note title="Monday, 04.January" date="2010-01-04" time="00:00:00" source="" link="" tags="2010/01"><![CDATA[]]></note>
  <note title="Tuesday, 05.January" date="2010-01-05" time="00:00:00" source="" link="" tags="2010/01"><![CDATA[]]></note>
  <note title="Wednesday, 06.January" date="2010-01-06" time="00:00:00" source="" link="" tags="2010/01"><![CDATA[]]></note>
  <note title="Thursday, 07.January" date="2010-01-07" time="00:00:00" source="" link="" tags="2010/01"><![CDATA[]]></note>
  <note title="Friday, 08.January" date="2010-01-08" time="00:00:00" source="" link="" tags="2010/01"><![CDATA[]]></note>
  <note title="Saturday, 09.January" date="2010-01-09" time="00:00:00" source="" link="" tags="2010/01"><![CDATA[]]></note>
  <note title="Sunday, 10.January" date="2010-01-10" time="00:00:00" source="" link="" tags="2010/01"><![CDATA[]]></note>
  <note title="Monday, 11.January" date="2010-01-11" time="00:00:00" source="" link="" tags="2010/02"><![CDATA[]]></note>
  <note title="Tuesday, 12.January" date="2010-01-12" time="00:00:00" source="" link="" tags="2010/02"><![CDATA[]]></note>
  <note title="Wednesday, 13.January" date="2010-01-13" time="00:00:00" source="" link="" tags="2010/02"><![CDATA[]]></note>
  <note title="Thursday, 14.January" date="2010-01-14" time="00:00:00" source="" link="" tags="2010/02"><![CDATA[]]></note>
  <note title="Friday, 15.January" date="2010-01-15" time="00:00:00" source="" link="" tags="2010/02"><![CDATA[]]></note>
  <note title="Saturday, 16.January" date="2010-01-16" time="00:00:00" source="" link="" tags="2010/02"><![CDATA[]]></note>
  <note title="Sunday, 17.January" date="2010-01-17" time="00:00:00" source="" link="" tags="2010/02"><![CDATA[]]></note>
  <note title="Monday, 18.January" date="2010-01-18" time="00:00:00" source="" link="" tags="2010/03"><![CDATA[]]></note>
  <note title="Tuesday, 19.January" date="2010-01-19" time="00:00:00" source="" link="" tags="2010/03"><![CDATA[]]></note>
  <note title="Wednesday, 20.January" date="2010-01-20" time="00:00:00" source="" link="" tags="2010/03"><![CDATA[]]></note>
  <note title="Thursday, 21.January" date="2010-01-21" time="00:00:00" source="" link="" tags="2010/03"><![CDATA[]]></note>
  <note title="Friday, 22.January" date="2010-01-22" time="00:00:00" source="" link="" tags="2010/03"><![CDATA[]]></note>
  <note title="Saturday, 23.January" date="2010-01-23" time="00:00:00" source="" link="" tags="2010/03"><![CDATA[]]></note>
  <note title="Sunday, 24.January" date="2010-01-24" time="00:00:00" source="" link="" tags="2010/03"><![CDATA[]]></note>
  <note title="Monday, 25.January" date="2010-01-25" time="00:00:00" source="" link="" tags="2010/04"><![CDATA[]]></note>
  <note title="Tuesday, 26.January" date="2010-01-26" time="00:00:00" source="" link="" tags="2010/04"><![CDATA[]]></note>
  <note title="Wednesday, 27.January" date="2010-01-27" time="00:00:00" source="" link="" tags="2010/04"><![CDATA[]]></note>
  <note title="Thursday, 28.January" date="2010-01-28" time="00:00:00" source="" link="" tags="2010/04"><![CDATA[]]></note>
  <note title="Friday, 29.January" date="2010-01-29" time="00:00:00" source="" link="" tags="2010/04"><![CDATA[]]></note>
  <note title="Saturday, 30.January" date="2010-01-30" time="00:00:00" source="" link="" tags="2010/04"><![CDATA[]]></note>
  <note title="Sunday, 31.January" date="2010-01-31" time="00:00:00" source="" link="" tags="2010/04"><![CDATA[]]></note>
</notebook>


Thanks,
David
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: My own XML Import problem

Postby CintaNotes Developer » Tue Nov 09, 2010 3:29 pm

Hello David,

Due to a bug you need to put <note> tags on separate lines now, like this:

Code: Select all

<notebook>
<note title="Friday, 01.January" date="2010-01-01" time="00:00:00" source="" link="" tags="2009/53">
  <![CDATA[]]>
</note>
...


(CN searches for "]]>\r\n</note>").
This bug will be fixed in the next version.
Hope this helps!
Alex
David

Re: My own XML Import problem

Postby David » Tue Nov 09, 2010 6:09 pm

Thanks a lot! Now it works perfectly 8-)
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: My own XML Import problem

Postby CintaNotes Developer » Tue Nov 09, 2010 7:17 pm

Welcome!
Alex

Return to “Bug Reports”