Exporting Box Notes to Plain Text Files
Hi,
I'm looking to convert Box Notes to plain text files for backup purposes. How do I do that using the APIs? (Or any simpler way?)
Thanks!
Sid
-
Hi,
There is no Box notes API available as of yet, so you cannot convert box Notes to plain text.
I was wondering why you would need to "backup" Box notes. I personally use Box itself as a Backup for my data, and you seem like you are going the other way around. Just curios on what would be your requirement here.
And I think Box Notes software is not Open Source so, I think the "code" is not available.
thanks,
Bibek
-
Hey -- I encountered this problem as well, so I built a tool that handles this export. Check it out. Hoping for an official solution!
-
If you copy-and-paste a Note to text, you lose lists, because of the way they're implemented.
I'd like to thank for largely figuring out the "attribs" encoding -- with that, I was able to write a Java class to convert Box Notes JSON to plain text, which is what I need for my purposes.
It handles numbered and bulleted lists, including nested lists (though the actual bullet or number format used doesn't match Box's for nested lists).
https://github.com/jessepav/boxtools
The BoxNote.java class should be usable or extensible in other projects.
https://github.com/jessepav/boxtools/blob/master/src/com/elektrika/boxtools/BoxNote.java
My version depends on minimal-json and Apache Commons lang3.
Jesse
投稿コメントは受け付けていません。
コメント
6件のコメント