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 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/32525d9f-6dd5-4aab-9202-35126a06f125o%40googlegroups.com.