-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixes keepnote import * KeepNote files for tests
- Loading branch information
Showing
18 changed files
with
432 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node> | ||
<version>6</version> | ||
<dict> | ||
<key>expanded</key><true/> | ||
<key>title</key><string>EmptyFolder</string> | ||
<key>nodeid</key><string>5ad21365-1968-4a57-8caf-68cd6aa11757</string> | ||
<key>modified_time</key><integer>1603618634</integer> | ||
<key>version</key><integer>6</integer> | ||
<key>content_type</key><string>application/x-notebook-dir</string> | ||
<key>created_time</key><integer>1603618634</integer> | ||
<key>info_sort_dir</key><integer>1</integer> | ||
<key>order</key><integer>1</integer> | ||
<key>info_sort</key><string>order</string> | ||
</dict> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node> | ||
<version>6</version> | ||
<dict> | ||
<key>expanded</key><true/> | ||
<key>title</key><string>Folder2-1</string> | ||
<key>nodeid</key><string>c79ea53f-bb6b-4267-a142-d8f043f8d7f4</string> | ||
<key>modified_time</key><integer>1603622285</integer> | ||
<key>version</key><integer>6</integer> | ||
<key>content_type</key><string>application/x-notebook-dir</string> | ||
<key>created_time</key><integer>1603622285</integer> | ||
<key>info_sort_dir</key><integer>1</integer> | ||
<key>order</key><integer>0</integer> | ||
<key>info_sort</key><string>order</string> | ||
</dict> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node> | ||
<version>6</version> | ||
<dict> | ||
<key>expanded</key><true/> | ||
<key>title</key><string>Page3</string> | ||
<key>nodeid</key><string>62d803d0-a7c8-4e58-b20c-06cfc4213440</string> | ||
<key>modified_time</key><integer>1603623281</integer> | ||
<key>version</key><integer>6</integer> | ||
<key>content_type</key><string>text/xhtml+xml</string> | ||
<key>created_time</key><integer>1603622298</integer> | ||
<key>info_sort_dir</key><integer>1</integer> | ||
<key>order</key><integer>0</integer> | ||
<key>info_sort</key><string>order</string> | ||
</dict> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>Page3</title> | ||
</head><body>page3 text<br/> | ||
</body></html> |
15 changes: 15 additions & 0 deletions
15
tests/data/KeepNote/folder2/folder2-1/page3/page4/node.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node> | ||
<version>6</version> | ||
<dict> | ||
<key>title</key><string>Page4</string> | ||
<key>nodeid</key><string>63ed9b2b-c72d-440b-8eb0-b005068f52da</string> | ||
<key>modified_time</key><integer>1603623295</integer> | ||
<key>version</key><integer>6</integer> | ||
<key>content_type</key><string>text/xhtml+xml</string> | ||
<key>created_time</key><integer>1603623207</integer> | ||
<key>info_sort_dir</key><integer>1</integer> | ||
<key>order</key><integer>0</integer> | ||
<key>info_sort</key><string>order</string> | ||
</dict> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>Page4</title> | ||
</head><body>page4 text</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node> | ||
<version>6</version> | ||
<dict> | ||
<key>expanded</key><true/> | ||
<key>title</key><string>Folder2</string> | ||
<key>nodeid</key><string>efcfee5f-9f03-48fe-945e-625d18e6e3df</string> | ||
<key>modified_time</key><integer>1603622275</integer> | ||
<key>version</key><integer>6</integer> | ||
<key>content_type</key><string>application/x-notebook-dir</string> | ||
<key>created_time</key><integer>1603622275</integer> | ||
<key>info_sort_dir</key><integer>1</integer> | ||
<key>order</key><integer>2</integer> | ||
<key>info_sort</key><string>order</string> | ||
</dict> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<node> | ||
<version>6</version> | ||
<dict> | ||
<key>attr_tables</key><array> | ||
<dict> | ||
<key>name</key><string>Default Table</string> | ||
<key>key</key><string>default</string> | ||
<key>attrs</key><array> | ||
<string>title</string> | ||
<string>created_time</string> | ||
<string>modified_time</string> | ||
</array> | ||
</dict> | ||
</array> | ||
<key>expanded</key><true/> | ||
<key>nodeid</key><string>12175b0d-bea3-43cd-aa36-338713e7f734</string> | ||
<key>modified_time</key><integer>1603618610</integer> | ||
<key>content_type</key><string>application/x-notebook-dir</string> | ||
<key>created_time</key><integer>1603618610</integer> | ||
<key>info_sort_dir</key><integer>1</integer> | ||
<key>title</key><string>KeepNote</string> | ||
<key>column_widths</key><dict> | ||
<key>created_time</key><integer>150</integer> | ||
<key>modified_time</key><integer>1347</integer> | ||
<key>title</key><integer>150</integer> | ||
</dict> | ||
<key>attr_defs</key><array> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string></string> | ||
<key>name</key><string>Duplicate of</string> | ||
<key>key</key><string>duplicate_of</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string></string> | ||
<key>name</key><string>Title</string> | ||
<key>key</key><string>title</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string></string> | ||
<key>name</key><string>Filename</string> | ||
<key>key</key><string>payload_filename</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>bool</string> | ||
<key>default</key><true/> | ||
<key>name</key><string>Expaned</string> | ||
<key>key</key><string>expanded</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string></string> | ||
<key>name</key><string>Node ID</string> | ||
<key>key</key><string>nodeid</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>timestamp</string> | ||
<key>default</key><null/> | ||
<key>name</key><string>Modified time</string> | ||
<key>key</key><string>modified_time</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string></string> | ||
<key>name</key><string>Icon open</string> | ||
<key>key</key><string>icon_open</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>bool</string> | ||
<key>default</key><true/> | ||
<key>name</key><string>Expanded2</string> | ||
<key>key</key><string>expanded2</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string></string> | ||
<key>name</key><string>Title Background Color</string> | ||
<key>key</key><string>title_bgcolor</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string>application/x-notebook-dir</string> | ||
<key>name</key><string>Content type</string> | ||
<key>key</key><string>content_type</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>timestamp</string> | ||
<key>default</key><null/> | ||
<key>name</key><string>Created time</string> | ||
<key>key</key><string>created_time</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>integer</string> | ||
<key>default</key><integer>1</integer> | ||
<key>name</key><string>Folder sort direction</string> | ||
<key>key</key><string>info_sort_dir</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>integer</string> | ||
<key>default</key><integer>2147483647</integer> | ||
<key>name</key><string>Order</string> | ||
<key>key</key><string>order</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string>order</string> | ||
<key>name</key><string>Folder sort</string> | ||
<key>key</key><string>info_sort</string> | ||
</dict> | ||
<dict> | ||
<key>datatype</key><string>string</string> | ||
<key>default</key><string></string> | ||
<key>name</key><string>Icon</string> | ||
<key>key</key><string>icon</string> | ||
</dict> | ||
</array> | ||
<key>version</key><integer>6</integer> | ||
<key>order</key><integer>0</integer> | ||
<key>info_sort</key><string>order</string> | ||
</dict> | ||
</node> |
Oops, something went wrong.