boxnotes2html icon indicating copy to clipboard operation
boxnotes2html copied to clipboard

Box updated JSON format in it's new release (August 2022)

Open AksharGanatra opened this issue 3 years ago • 3 comments

After the release of Box Note (August 2022), the json format (with all content embedded in it) which we used to see previously after opening boxnote file is completely changed . And this project works no more for the new format. previously created files (before august (2022) release) works fine but newly created files throws following:

File "box2html_conversion.py", line 31, in File "box2html_conversion.py", line 12, in convert File "boxnotes2html\boxnote.py", line 179, in from_file File "boxnotes2html\boxnote.py", line 169, in init KeyError: 'atext' [11836] Failed to execute script 'box2html_conversion' due to unhandled exception!

AksharGanatra avatar Sep 20 '22 11:09 AksharGanatra

Ah, that's unfortunate! I have updated the README to let people now. I created this as part of my work a few years ago, but I no longer have the time or interest to make this change. I would be happy to accept a PR that fixes this though!

alexwennerberg avatar Oct 16 '22 01:10 alexwennerberg

That's a total internal change from the traditional format to the new one, a very similar but limited one as ProseMirror JSON. I've wrote my one converter for simple converting - may be useful if you want to refer to and adopt. XZhouQD/boxnote-converter

XZhouQD avatar Jan 03 '23 07:01 XZhouQD

thanks, I no longer maintain this project but this issue is linked from my readme so people should be able to find your project. great work

alexwennerberg avatar Jan 03 '23 07:01 alexwennerberg