Hello Random,

On Tuesday, April 11, 2017 at 5:34:34 PM UTC-5, Random United wrote:
>
> I'm trying to create a database of some sort about movies and tv shows I 
> watched, also trying to have data for each movie/tv show like a description 
> of the movie, year release, genre, rating, etc. Is there anyway of doing 
> that? 
>
... 

> [New to tiddlywiki and don't know much about coding]
>

I noticed that most of your responses to this post are about reinventing 
the wheel. *Don't*. Both the IMDB <http://www.imdb.com/interfaces> and the Open 
Movie Database <http://omdbapi.com/> have interfaces into their vast movie 
databases. You can query either one using an ajax request and parse the 
JSON that is returned.  You can even fetch images and more for each movie 
you wish to save to your wiki.

That way, once you have figured out how to fetch the movie poster and data 
for one movie, you can then leverage that knowledge to build a template for 
all the others you wish to save data on. There are several projects on 
GitHub that contain code on how to do this like this one here 
<https://github.com/mhsjlw/imdb>. You will notice that you can fetch image 
links and the data for things like the movie poster, description, rating, 
year published, genre, director, metascore, writer, runtime, and more.

Once you have the data, you can use the movie poster link inside an image 
tag to display the poster and use the data like the description inside your 
content.  If you have fifty or more DVD's that you wish to catalog, you 
will save enormous amounts of time if you spend the time up front figuring 
out how to query for the data and leveraging that.  Also, filling up your 
wiki with images, instead of links to online images, will make your file 
size grow quickly and soon become slow and unwieldy. 

Good luck,

-Doug

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/72481949-1e77-47f7-94b4-4c39f4143fca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to