JohnPhilpin
JohnPhilpin

@help @til … or indeed anyone who might be able to help a non tech dweeb with something decidedly NOT micro blog in nature.

I have a large json file as a result of a DayONE export.

I now want to create a set of text/markdown files from that so I can drop them into a folder and use Obsidian to view and edit.

I’ve looked around but it all seems so complicated.

I presume it is possible … DayONE very unhelpful .. so resorting to the best support group that I know.

My thanks in anticipation.

|
Embed
fabio
fabio

@JohnPhilpin oh well, I'd do it with Python programming, one just has to recognize the structure of the json file and then map that structure to the corresponding elements of markdown. I'd see it as a conceptually not so hard task, but somewhat time consuming. Or very time consuming perhaps.

|
Embed
jemostrom
jemostrom

@JohnPhilpin unfortunately, I don't have the time to do something right now (leaving for a short vacation trip) but this seems to be similar to what I did, but in that case it was json from micro.blog to blot. Depending on how much you are willing to experiment you perhaps can find some inspiration. If you don't get any help, let me know next week and I'll see what I can do.

|
Embed
JohnPhilpin
JohnPhilpin

@jemostrom Iagree - VERY similar to the problem I am outlining. Just worried about messing things up ... will look and try to do something safely. Thankyou.

|
Embed
JohnPhilpin
JohnPhilpin

the most consuming part of your process for me @fabio is that I would first need to learn Python! Many thanks.

I just don’t understand why there isn't an app or online service somewhere that would do this?

|
Embed
SimonWoods
SimonWoods

@JohnPhilpin My immediate thought is to look at Viticci's work, and asking Manton makes sense due to his connections with json and the increasing interoperability Micro.blog has with Automattic's products.

This is a good task for me to have, though. Have saved this post for future reference; hopefully it won't be too long before I can answer properly.

|
Embed
dgreene196
dgreene196

@JohnPhilpin , @simonwoods is on to something. Macstories.net’s Shortcut Archive does have a JSON parser which might help?

|
Embed
JohnPhilpin
JohnPhilpin

@dgreene196 @simonwoods

oh now there is interesting - thankyou - will revisit later.

|
Embed
fabio
fabio

@JohnPhilpin, sorry! I agree that your use case shouldn't be so strange that nothing already exists… 😣

|
Embed
JohnPhilpin
JohnPhilpin

@fabio it is … I can’t be that strange can I?

… don’t answer that!

|
Embed
fabio
fabio

@JohnPhilpin I guess some export options are there just to comply with the EU's GDPR so they just need to give the data, don't care how u use it / if you can use it… 😅 (which is already a great step forward, as it's still all our own data that they are required to provide us)

|
Embed
JohnPhilpin
JohnPhilpin

@mjdescy after reading JSON with my son - I wonder if he might have any ideas about how I can easily convert a giant single JSON file into lots and lots of individual files.

The thread's original post has the context.

Or am I going to have to learn Python?

All the other suggestions in the thread have not worked out for this doofus 🤷‍♂️

Not even @manton could help - as suggested by @simonwoods

|
Embed
mjdescy
mjdescy

@JohnPhilpin I don’t think my son could help you. I don’t think he knows what a journal or a blog is. 😀 I don’t have the experience with complex JSON to help you, either, I am afraid. Learning a little Python and seeing what Python’s JSON library makes of your extract would be a good start.

|
Embed