SPIEL Exhibitor Extractor

SPIEL in Essen is the world’s largest public fair for board games. There is an app, hall plans etc… but not a list of all exhibitors to download. This simple python script helps to list all exhibitors with stand numbers and save them in a CSV file. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 import requests import csv # URL to JSON file url = 'https://maps.eyeled-services.de/de/spiel24/exhibitors?columns=%5B%22ID%22%2C%22NAME%22%2C%22ADRESSE%22%2C%22LAND%22%2C%22LOGO%22%2C%22PLZ%22%2C%22STADT%22%2C%22WEB%22%2C%22EMAIL%22%2C%22INFO%22%2C%22TELEFON%22%2C%22S_ORDER%22%2C%22STAND%22%2C%22HALLE%22%5D' # Send request response = requests.get(url) data = response.json() # Write to CSV with open('spiel2024-exhibitors.csv', mode='w', newline='', encoding='utf-8') as file: writer = csv.writer(file) # write CSV header writer.writerow(['Name des Verlags', 'Standnummer']) # extract name stand number for exhibitor in data.get('exhibitors', []): name = exhibitor.get('NAME', 'N/A') standnummer = exhibitor.get('STAND', 'N/A') # write data to csv writer.writerow([name, standnummer]) print("Wrote to 'spiel2024-exhibitors.csv'.")

 · 1 min · 142 words ·  Tuxilio

Adding a search to your Hugo website

Introduction In this tutorial I’ll show you how you can add a client-side-search page to your Hugo website. This is done using Javascript and depends on fuse.js. This tutorial is split in 5 parts: Copying fuse.js dependencies Configuring search layout Adding search page Editing hugo.yml Editing index.json How it works The search is processed by fuse.js. You can read more here more about the fuse.js Scoring theory or the API reference. Getting started Copying some fuse.js dependencies First, you need to copy the fuse.js library: ...

 · 3 min · 493 words ·  Tuxilio

Mastodon comment system for your website

One of the biggest disadvantages of static site generators is that they are static and can’t include comments. In this short blog entry, I’ll explain how to add a comment system to Hugo’s static blog engine. I’ll expand on Carl Schwan’s and Tony Cheneau’s blog article and attempt to make it more accessible to Hugo’s newcomers. Foreword Most the hard work has been pulled of by Carl. I just made some minor changes. I hope it will help others like me, willing to bring some life into their blogs. ...

 · 4 min · 676 words ·  Tuxilio

Testing Mastodon Comment System

This is just a test to test the Mastodon comment system. The most code is by Carl Schwan and Tony Cheneau. You can learn how this is implemented here If you want to leave a comment, visit the page on mastodon and reply. It will be shown on this page.

 · 1 min · 50 words ·  Tuxilio

Use Woodpecker CI to build HUGO your website

Woodpecker CI is a simple and powerful CI/CD engine. In this tutorial I’ll show you how you can use it to automatically rebuild and publish your website on each push to a git repo. In this tutorial I’ll describe how to do this using Codeberg pages and the Codeberg CI, but you can do it with any other Forge as well. Both is hosted by Codeberg, a free git hosting platform. On Codeberg, you have to request CI access so just fill out the form as described here. ...

 · 5 min · 934 words ·  Tuxilio

forgejo:buttons v1.1.0 release 🎉

forgejo:buttons is now in version 1.1! The generated iframe code for embedding the button now resets the CSS for this iframe, so that the background of the button adapts to the website even with simple.css. (My website, for example, uses simple.css, which did not work before) In addition, the stylesheet of the forgejo:buttons website was changed from min.css to simple.css. Now the website looks a little better and also has a dark mode 🎉 ...

 · 1 min · 87 words ·  Tuxilio

forgejo:buttons v1.0.0 release 🎉

After a lot of work, forgejo:buttons is in version 1.0.0 usable 🎉! You can now use buttons like Star, Fork, Watch and so on but also create own buttons with custom counter APIs and an own text. You can embbed the buttons using an iframe to your website. As they’re using Javascript, you cannot use it in Markdown. check out https://shields.io for this! If you like the project, give me a star ⭐! ...

 · 1 min · 73 words ·  Tuxilio