Building a catalog of items from Breath of the Wild

I’m apparently late to the party, as an off comment in the Hugo forums brought my attention to a way to use hugo as a single tool to produce output from an API:

The high level idea is to use a Hugo mounted-site-within-the-site to first pull the API data and output text files, and then subsequently read those text file as data for building the website.

Cool! :+1:

I wanted to see how it is done practically, and decided I would try to build a catalog of the items found in Legend of Zelda: Breath of the Wild.

Clover is playing it currently, and depending on how this goes, this might become the initial step I take for any game! Since I tend to wait years after they are released, there’s a good chance I will find data somewhere, and I can just slurp it down and make it searchable. :smiling_face:

I’ll use this topic to document my efforts.

Well, that was fast!

I know the article I linked to last was about pinging an API, but this works, too: because that data is actually present in that repo, I can mount that project and directory into my Hugo site.

It’s only 5 or 6 files! :tada:

Because it isn’t many files, and because I plan to import them over via RSS, I might just create one template per data file, to produce the output as RSS feeds… :thinking:

So, basically that embeds the API in an iframe… meaning I can now make little apps for any game I can find data for! :tada:

I suppose the next step would be to produce URLs for reference. :thinking:

Part of the issue is, of course, that BOTW is no longer the latest game in the series. The folks in my nest who will play this game have played it.

So what does hyperzine-coverage look like for this?

:thinking:

Games have a standardized structure (places, items, characters, etc.). Games will be new to folks at some point. Capturing data in reusable resources remains meaningful. Okay.

  • A reusable framework for presenting standard info
  • Accessible web hyperzine
  • Data feeds for innovation