#!/usr/bin/python site = 'https://oskog97.com' imgsite = 'https://oskog97.com' imglicense = 'https://creativecommons.org/publicdomain/zero/1.0/legalcode' videolicense = 'https://creativecommons.org/licenses/by/4.0/legalcode' basedir = '/var/www' sitemap = [ { 'URL': '/', 'file': 'index.html.src', 'priority': 0.8, 'description': 'Homepage', # It's only gonna be viewed in the HTML. }, { 'URL': '/projects/light-sensor/', 'file': 'projects/light-sensor/index.html.src', 'priority': 0.9, 'description': 'Analog light sensor based on an LDR. (From a course at Novia UAS)', 'subsitemap': [ { 'URL': '/projects/light-sensor/light-sensor-part-1-design.pdf', 'file': 'projects/light-sensor/light-sensor-part-1-design.pdf', 'priority': 1.0, 'description': 'Light sensor report part 1: Design', }, { 'URL': '/projects/light-sensor/light-sensor-part-2-testing.lowres.pdf', 'file': 'projects/light-sensor/light-sensor-part-2-testing.lowres.pdf', 'priority': 1.0, 'description': 'Light sensor report part 2: Construction,' ' testing & calibration', }, ], }, { 'URL': '/projects/anonymine/', 'file': 'projects/anonymine/index.html.src.sh', 'priority': 1.0, 'description': ''' Anonymine is a minesweeper that verifies that the field is solvable without any guessing. It supports three different fields: traditional, hexagonal and fields with von Neumann neighbourhoods. ''', 'videos': [ { 'title': 'Anonymine demo (take 4)', 'description': ''' Video of Anonymine, a guess free curses mode (terminal) minesweeper with a bunch of unusual and even unique features. ... ''', 'thumbnail': 'https://oskog97.com' '/projects/anonymine/imgs3/banner1.png', 'player': 'https://player.vimeo.com/video/305011251?h=2570bab254', }, ], 'images': [ { 'URL': '/projects/anonymine/imgs3/setup.png', 'description': ''' The setup screen of Anonymine allowing you to choose width, height, amount of mines, field type, if guessing should be required, etc -- Anonymine - text based minesweeper without guessing ''', }, { 'URL': '/projects/anonymine/imgs3/last-cells.png', 'description': ''' The von Neumann field: The biggest number you'll ever see is 3. This mode makes Anonymine a unique minesweeper. (Attention mode has been enabled to find the last few cells.) -- Anonymine - text based minesweeper without guessing ''', }, { 'URL': '/projects/anonymine/imgs3/traditional.png', 'description': ''' Traditional (Moore) field, nothing special -- Anonymine - text based minesweeper without guessing ''', }, { 'URL': '/projects/anonymine/imgs3/hexagonal.png', 'description': ''' Hexagonal field -- Anonymine - text based minesweeper without guessing ''', }, { 'URL': '/projects/anonymine/imgs3/losers.png', 'description': ''' The losers' highscores -- Anonymine - text based minesweeper without guessing ''', }, { 'URL': '/projects/anonymine/imgs3/banner1.png', 'description': ''' Anonymine - text based minesweeper without guessing ''', 'license': 'https://creativecommons.org/licenses/by/4.0/legalcode', }, { 'URL': '/projects/anonymine/imgs3/banner2.png', 'description': ''' Anonymine - text based minesweeper without guessing ''', 'license': 'https://creativecommons.org/licenses/by/4.0/legalcode', }, ], }, { 'URL': '/small-scripts/', 'file': 'small-scripts/index.html.src', 'priority': 0.8, 'description': ''' Scripts written in Python or shell that turned out to be quite successful ''', 'subsitemap': [ { 'URL': '/read/?path=/small-scripts/minify', 'file': 'small-scripts/minify', 'priority': 0.7, 'description': ''' Simple XHTML minifier that doesn't invalidate your XHTML. ''', }, { 'URL': '/read/?path=/small-scripts/killbom', 'file': 'small-scripts/killbom', 'priority': 0.7, 'description': 'Script for eliminating all UTF-8' ' Byte Order Marks.', }, { 'URL': '/read/?path=/small-scripts/shrink-disavow', 'file': 'small-scripts/shrink-disavow', 'priority': 0.7, 'description': ''' Minify bloated Google Webmaster Tools/Search Console disavow files. ''', }, { 'URL': '/read/?path=/mkhtml', 'file': 'mkhtml', 'priority': 0.7, 'description': ''' Macro preprocessor and navigation generator used to build this website. ''', }, ], }, ] html_sitemaps = [ ('/read/?sitemap=html', "CGIread's sitemap") ]