Thanks Mark! Adding those things to my TODO. This is literally my first ever program that I wrote on my own. So this little script is the equivalent of that first wobbly table that a kid makes in woodworking. I’m just happy that it works!
I actually noticed that there are some not-so-obscure ISBNs that meta can’t find. But there are some other tools in isbnlib for finding books so I’ll look into that as well. A little background on why I made this. I have a list of books read/to read on Goodreads that I wanted to import easily into my TiddlyWiki. I also have an xml file of exported posts from Wordpress that I’d like to import to my TW. Now that I know it’s possible I’ll get working on a script that can do that next (unless someone knows of something that can already do that). On Fri, Aug 28, 2020 at 11:29 AM 'Mark S.' via TiddlyWiki < [email protected]> wrote: > > > Nice Work! > > It's been a long time since using Python, but it was one of my favorite > languages. > > Comments > > Since python has a library for everything, I'm thinking they must have a > library for JSON. This way you don't have to build your own strings, which > is subject to error (as you discovered). Just a thought. > > I don't see any error handling. What happens if someone mis-types an ISBN > number? Or if "meta" can't find a number (I was just looking for an obscure > ISBN yesterday -- it wasn't on Amazon). > > It appears you're hard-coding {{!!title}} etc. into the text field. That > means if you want to change the appearance you will have to go back to > every single tiddler and change it. You might want to consider using > tiddlywiki templates instead. > > https://tiddlywiki.com/#TemplateTiddlers > > Have fun! > > > > > On Friday, August 28, 2020 at 8:04:01 AM UTC-7, Jimmy Sweeney wrote: >> >> 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. >> >> -- > 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/32525d9f-6dd5-4aab-9202-35126a06f125o%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/32525d9f-6dd5-4aab-9202-35126a06f125o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Sent from Gmail Mobile -- 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/CAC8Gt88J%2B3DiS6-9Nm-mjR-L57AzywUxivq-eVOgPB%2BX6KgDfQ%40mail.gmail.com.

