Overview

I created a page for visually browsing Omeka S themes.

https://satoru196.notion.site/satoru196/6f898ed1352e4c9fa013eee635cbabf4?v=02cab757b6cf4df6bfbedfeb85eca0a5

The following site is convenient for searching Omeka S themes:

https://daniel-km.github.io/UpgradeToOmekaS/omeka_s_themes.html

However, I thought it would be even more convenient to be able to see the appearance of themes and their star counts in a list view. Using the source data from the site above, I created this new page:

https://github.com/Daniel-KM/UpgradeToOmekaS/blob/master/_data/omeka_s_themes.csv

How It Was Created

GitHub

I used the GitHub API to retrieve the last update date and star count for each repository. To use the GitHub API, I created a Personal Access Token (PAT):

https://docs.github.com/ja/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens

Also, since the thumbnail image for Omeka S themes corresponds to a file called theme.jpg, I checked for its existence and retrieved it when available:

https://omeka.org/s/docs/developer/themes/theme_functions/

As a result, I created JSON data like the following:

[]{}{},,"""""""""""nlsudtnlsudaatrehaatremsalsemsalsetr"cmetr"c"_s:re"_s:r:u"i_:u"ip:"pup:"p"dhtr"dht1a0tilAa2ti9t,to"gt,to7epn:iepn2ds"lds"_"::"e"::t:/hB:/h/"ta/ne"gAts"gum2ipe2ile0ttsO0tl_2hh:m2ho2ue/e3um-bm/k-be0.era1.k1caT2ca-obwh-oS0ma.e0m"4/sgm1/,TmeieTa0adt"1g9rh,1i:lou:l4anb5e8ru1-:a\s:h2/"e1u51Tr3mZ9hcZa"7eo"n,2n,i_Dtttaeihineeltsmy./ecA_"gomimi/lenmekaBaOraSmls"eae,krOaam/eS1k,9a7Tf2ho_ertmhete"hm,ee_doimgeiktaaSl/meaxshtiebri/ttihoenme\."j1p9g7"2.Moda,storiaedesign\"",

Notion

I used Notion for creating the web page:

https://www.notion.so/ja-jp/help/public-pages-and-web-publishing

Using the REST API, I updated the database based on the JSON data above:

https://developers.notion.com/docs/working-with-databases

To use the API, I needed to create an API secret:

https://developers.notion.com/docs/create-a-notion-integration

The database features like filtering, sorting, and layout switching were very convenient. Below is an example using the timeline view to display the last update date of each theme (repository):

Future Plans

Periodic Updates

I would like to use GitHub Actions to perform periodic updates:

https://docs.github.com/ja/actions/using-workflows/events-that-trigger-workflows#schedule

STUDIO

I would like to try displaying the database information on a site built with STUDIO:

https://blog.studio.design/ja/posts/api-integration

Summary

I hope this serves as a useful reference for finding Omeka S themes.