Thanks all! I figured it out! Mark - you were correct. I needed to get rid of any line breaks so that the resulting file was all just one line.
If anyone else wants to use my program, here it is: https://github.com/sweenejp/files/blob/master/isbn_to_json_for_tiddlywiki.py and an example of an output file here: https://github.com/sweenejp/files/blob/master/Cosmos.json Sorry the python code is a little messy (I'm very much a beginner at coding). I made everything a field and then had certain fields transcluded into the text field. You can change the fields to whatever you want (for instance the "tags" field). Pretty cool to know that TiddlyWiki files are basically like Python dictionaries. Now that I say that, I'm sure there would have been a much cleaner way to write my code. I could have just created a dictionary based on the keys and values that a Tiddler requires. Oh well. Thanks for all the help! On Thu, Aug 27, 2020 at 5:51 PM TW Tones <[email protected]> wrote: > FYI: Someone has already done an ISBN tiddler, Not sure where, sorry. > > Tones > > On Friday, 28 August 2020 06:24:38 UTC+10, Jimmy Sweeney wrote: >> >> Hi there, >> >> Would anyone have any clues why this file >> <https://github.com/sweenejp/files/blob/master/The%20Dragons%20Of%20Eden%20-%20Speculations%20On%20The%20Evolution%20Of%20Human%20Intelligence.json%2C> >> isn't importing nice and cleanly into my TiddlyWiki? It imports but not >> nice and clean like dragging and dropping a tiddler from another TiddlyWiki >> site does. >> >> I'm trying to create a python script that creates tiddler files. I input >> the ISBN (a book ID number essentially) and spits out a tiddler file with >> the title, author, cover image, etc. >> >> Anyway, I based my format on the format of a Tiddler >> <https://github.com/sweenejp/files/blob/master/Community.json> that I >> exported from tiddlywiki.com <https://tiddlywiki.com/#Community>. >> >> What magic ingredients am I missing? >> >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/VCn3kDOmTD4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/fca6251b-d5ad-4657-9f94-bcd7332c8a52o%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/fca6251b-d5ad-4657-9f94-bcd7332c8a52o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 414 5540826 -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAC8Gt8_QvJMD80gNmVhQyTTamkpqp3msubLYUQM1wqJG_z8vyQ%40mail.gmail.com.

