This feed does not validate.
line 563, column 34: (5 occurrences) [help]
<id>letterboxd-watch-850794721</id>
^
line 2618, column 4: (5 occurrences) [help]
<displaycategories>
^
In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
... rium.org/" type="application/atom+xml"/>
^
line 207, column 0: (5 occurrences) [help]
<content type="html"><div class="push js-feed-item-view" data-hydro-v ...
line 207, column 0: (5 occurrences) [help]
<content type="html"><div class="push js-feed-item-view" data-hydro-v ...
line 220, column 0: (5 occurrences) [help]
· <relative-time tense="past" datetime="2025-04-02T23:01:38Z" dat ...
<summary/>
^
<div xmlns="http://www.w3.org/1999/xhtml"><p data-pm-slice="1 1 []">A ...
^
line 606, column 0: (6 occurrences) [help]
<ul data-spread="false">
line 1163, column 33: (4 occurrences) [help]
<updated>2025-02-02T17:18:59Z</updated>
^
line 2594, column 2: (5 occurrences) [help]
<entry xmlns:flickr="urn:flickr:user" xmlns:dc="http://purl.org/dc/element ...
^
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>planet davorg</title>
<link rel="alternate" href="https://davorg.theplanetarium.org/" type="text/html"/>
<subtitle>Aggregating Dave's stuff</subtitle>
<author>
<name>Dave Cross</name>
<email>dave@theplanetarium.org</email>
</author>
<updated>2025-04-03T18:09:49Z</updated>
<link rel="self" href="https://davorg.theplanetarium.org/" type="application/atom+xml"/>
<id>https://davorg.theplanetarium.org/</id>
<entry>
<title>Tindersticks - Let's Pretend</title>
<link rel="alternate" href="https://www.last.fm/music/Tindersticks/_/Let%27s+Pretend" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.last.fm/music/Tindersticks"> Tindersticks</a>
</div>
</content>
<id>https://www.last.fm/music/Tindersticks/_/Let%27s+Pretend</id>
<published>2025-04-03T15:04:00Z</published>
<updated>2025-04-03T15:04:00Z</updated>
</entry>
<entry>
<title>Belle and Sebastian - If You Find Yourself Caught in Love</title>
<link rel="alternate" href="https://www.last.fm/music/Belle+and+Sebastian/_/If+You+Find+Yourself+Caught+in+Love" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.last.fm/music/Belle+and+Sebastian"> Belle and Sebastian</a>
</div>
</content>
<id>https://www.last.fm/music/Belle+and+Sebastian/_/If+You+Find+Yourself+Caught+in+Love</id>
<published>2025-04-03T15:00:00Z</published>
<updated>2025-04-03T15:00:00Z</updated>
</entry>
<entry>
<title>Richard Hawley - Coles Corner</title>
<link rel="alternate" href="https://www.last.fm/music/Richard+Hawley/_/Coles+Corner" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.last.fm/music/Richard+Hawley"> Richard Hawley</a>
</div>
</content>
<id>https://www.last.fm/music/Richard+Hawley/_/Coles+Corner</id>
<published>2025-04-03T14:55:00Z</published>
<updated>2025-04-03T14:55:00Z</updated>
</entry>
<entry>
<title>Jefferson Airplane - Somebody to Love</title>
<link rel="alternate" href="https://www.last.fm/music/Jefferson+Airplane/_/Somebody+to+Love" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.last.fm/music/Jefferson+Airplane"> Jefferson Airplane</a>
</div>
</content>
<id>https://www.last.fm/music/Jefferson+Airplane/_/Somebody+to+Love</id>
<published>2025-04-03T14:52:00Z</published>
<updated>2025-04-03T14:52:00Z</updated>
</entry>
<entry>
<title>Mercury Rev - Tonite It Shows</title>
<link rel="alternate" href="https://www.last.fm/music/Mercury+Rev/_/Tonite+It+Shows" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.last.fm/music/Mercury+Rev"> Mercury Rev</a>
</div>
</content>
<id>https://www.last.fm/music/Mercury+Rev/_/Tonite+It+Shows</id>
<published>2025-04-03T14:49:00Z</published>
<updated>2025-04-03T14:49:00Z</updated>
</entry>
<entry>
<title>Finding cool stuff with ChatGPT</title>
<link rel="alternate" href="https://perlhacks.com/2025/04/finding-cool-stuff-with-chatgpt/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>Last week, I wrote a blog post about how I gave new life to an old domain by <a href="https://blog.dave.org.uk/2025/03/building-a-website-in-a-day-with-help-from-chatgpt.html">building a new website</a> to live on that domain. With help from ChatGPT, it only took a few hours to build the site. While I’ll be adding new businesses and events to the site over time, that is currently a manual process and the site is mostly static.</p>
<p>This week, I wanted to take things a bit further. I wanted to build a site that was updated daily – but without any input from me.</p>
<p><a href="https://who.is/whois/cool-stuff.co.uk">Whois tells me I first registered cool-stuff.co.uk</a> in September 1997. It was one of the first domains I registered. It has hosted a couple of very embarrassing early sites that I built, and for a while, it served as the email domain for several members of my family. But since they all moved to GMail, it’s been pretty much dormant. What it has never hosted is what I originally registered it for – a directory of cool things on the world wide web. So that’s what I decided to build.</p>
<p>So here’s the plan:</p>
<ul>
<li>A very simple website</li>
<li>Each day it features a cool website – just the name, a link and a simple description</li>
<li>An archive page showing previously featured sites</li>
<li>Auto-generated each day with no manual intervention from me</li>
</ul>
<p>I decided to stick with Jekyll and Minimal Mistakes as I enjoyed using them to build <a href="https://balham.org/">Balham.org</a>. They make it easy to spin up a good-looking website, but they also have ways to add complexity when required. That complexity wasn’t needed here.</p>
<p>The site itself was very simple. It’s basically driven from a YAML file called <a href="https://github.com/davorg/cool-stuff/blob/master/docs/_data/coolstuff.yml">coolstuff.yml</a> which lists the sites we’ve featured. From that, we build a <a href="https://cool-stuff.co.uk/">front page</a> which features a new site every day and an <a href="https://cool-stuff.co.uk/archive/">archive page</a> which lists all the previous sites we have featured. Oh, and we also have <a href="https://cool-stuff.co.uk/feed.xml">an RSS feed</a> of the sites we feature. This is all pretty basic stuff.</p>
<p>As you’d expect from one of my projects, the site is hosted on GitHub Pages and is updated automatically using GitHub Actions.</p>
<p>It’s in GitHub Actions where the clever (not really all that clever – just new to me) stuff happens. There’s a workflow called <a href="https://github.com/davorg/cool-stuff/blob/master/.github/workflows/update-coolstuff.yml">update-coolstuff.yml</a> which runs at 02:00 every morning and adds a new site. And it does that by asking ChatGPT to recommend a site. Here’s the workflow:</p><pre class="urvanov-syntax-highlighter-plain-tag">name: Update Cool Stuff
on:
schedule:
- cron: '0 2 * * *' # Runs at 2 AM UTC
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Perl dependencies
run: |
sudo apt-get update && sudo apt-get install -y cpanminus
cpanm -n --sudo OpenAPI::Client::OpenAI YAML JSON::MaybeXS
- name: Get a cool website from OpenAI
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
perl .github/scripts/fetch_cool_site
- name: Commit and push if changed
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"
git add docs/_data/coolstuff.yml
git diff --cached --quiet || git commit -m "Add new cool site"
git push</pre><p>There’s not much clever going on there. I needed to ensure I had an OpenAI subscription with credit in the account (this is going to cost a tiny amount of money to run – I’m making one request a day!), and I set up the API key as a secret in the repo (with the name “OPENAI_API_KEY).</p>
<p>The magic all happens in the “fetch_cool_site” program. So let’s look at that next:</p><pre class="urvanov-syntax-highlighter-plain-tag">#!/usr/bin/env perl
use strict;
use warnings;
use builtin qw[trim];
use OpenAPI::Client::OpenAI;
use YAML qw(LoadFile DumpFile);
use Time::Piece;
use JSON::MaybeXS;
my $api_key = $ENV{"OPENAI_API_KEY"} or die "OPENAI_API_KEY is not set\n";
my $client = OpenAPI::Client::OpenAI->new;
my $prompt = join " ",
"Suggest a really cool, creative, or fun website to feature today on a site called 'Cool Stuff'.",
"Just return the name, URL, and a one-paragraph description of why it's cool. Only return one site.",
"The URL should just be the URL itself. Do not wrap it in Markdown.";
my $res = $client->createChatCompletion({
body => {
model => 'gpt-4o',
messages => [
{ role => 'system', content => 'You are a helpful curator of awesome websites.' },
{ role => 'user', content => $prompt },
],
temperature => 1.0,
}
});
my $text = $res->res->json->{choices}[0]{message}{content};
my @lines = split /\n/, $text;
my ($name, $url, @desc) = @lines;
$name =~ s/^\*\s*//;
my $description = join ' ', @desc;
my $new_entry = {
date => localtime->ymd,
name => trim($name),
url => trim($url),
description => trim($description),
};
my $file = "docs/_data/coolstuff.yml";
my $entries = LoadFile($file);
unless (grep { $_->{url} eq $new_entry->{url} } @$entries) {
push @$entries, $new_entry;
DumpFile($file, $entries);
}</pre><p>We’re using <a href="https://metacpan.org/pod/OpenAPI::Client::OpenAI">OpenAPI::Client::OpenAI</a> to talk to the OpenAI API. From my limited knowledge, that seems to be the best option, currently. But I’m happy to be pointed to better suggestions.</p>
<p>Most of the code is copied from the <a href="https://metacpan.org/release/OVID/OpenAPI-Client-OpenAI-0.14/source/examples">examples</a> in the module’s distribution. And the parsing of the response is probably a bit fragile. I expect I could tweak the prompt a bit to get the data back in a slightly more robust format.</p>
<p>But it works as it is. This morning I woke up and found a new site featured on the front page. So, rather than spend time tweaking exactly how it works, I thought it would be a good idea to get a blog post out there, so other people can see how easy it is to use ChatGPT in this way.</p>
<p>What do you think? Can you see ways that you’d like to include ChatGPT responses in some of your code?</p>
<p>The website is live at <a href="https://cool-stuff.co.uk/">cool-stuff.co.uk</a>.</p><p>The post <a href="https://perlhacks.com/2025/04/finding-cool-stuff-with-chatgpt/">Finding cool stuff with ChatGPT</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>Last week, I wrote a blog post about how I gave new life to an old domain by building a new website to live on that domain. With help from ChatGPT, it only took a few hours to build the site. While I’ll be adding new businesses and events to the site over time, that […]</p>
<p>The post <a href="https://perlhacks.com/2025/04/finding-cool-stuff-with-chatgpt/">Finding cool stuff with ChatGPT</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://perlhacks.com/?p=2294</id>
<published>2025-04-03T12:40:33Z</published>
<updated>2025-04-03T12:40:33Z</updated>
<category term="Web"/>
<category term="chatgpt"/>
<category term="cool stuff"/>
<category term="openai"/>
<category term="website"/>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:github.com,2008:PushEvent/48261123464</id>
<published>2025-04-02T23:01:38Z</published>
<updated>2025-04-02T23:01:38Z</updated>
<link type="text/html" rel="alternate" href="https://github.com/davorg/uptime/compare/4138d1f98d...1d715da417"/>
<title type="html">davorg pushed to master in davorg/uptime</title>
<author>
<name>davorg</name>
<email>dave@davecross.co.uk</email>
<uri>https://github.com/davorg</uri>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/24642?s=30&v=4"/>
<content type="html"><div class="push js-feed-item-view" data-hydro-view="{&quot;event_type&quot;:&quot;news_feed.event.view&quot;,&quot;payload&quot;:{&quot;event&quot;:{&quot;repo_id&quot;:567308850,&quot;actor_id&quot;:24642,&quot;public&quot;:true,&quot;type&quot;:&quot;PushEvent&quot;,&quot;target_id&quot;:null,&quot;id&quot;:48261123464,&quot;additional_details_shown&quot;:false,&quot;grouped&quot;:false},&quot;event_group&quot;:null,&quot;org_id&quot;:null,&quot;target_type&quot;:&quot;event&quot;,&quot;user_id&quot;:null,&quot;feed_card&quot;:{&quot;card_retrieved_id&quot;:&quot;3e31d35b-4f70-49d0-8d64-b6f5889d5624&quot;},&quot;originating_url&quot;:&quot;https://github.com/davorg.atom&quot;}}" data-hydro-view-hmac="576175a465af6466277a0b775811d1343cd0327877030f4ad787d921b8262d4b"><div class="body">
<!-- push -->
<div class="d-flex flex-items-baseline py-4">
<div class="d-flex flex-column width-full">
<div class="color-fg-muted">
<span class="mr-2"><a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=64&amp;v=4" width="32" height="32" alt="@davorg"></a></span>
<a class="Link--primary no-underline wb-break-all" href="/davorg" rel="noreferrer">davorg</a>
pushed to
<a class="branch-name" href="/davorg/uptime/tree/master" rel="noreferrer">master</a>
in
<a class="Link--primary no-underline wb-break-all" href="/davorg/uptime" rel="noreferrer">davorg/uptime</a>
<span>
· <relative-time tense="past" datetime="2025-04-02T23:01:38Z" data-view-component="true">April 2, 2025 23:01</relative-time>
</span>
<div class="Box p-3 mt-2 color-shadow-medium color-bg-overlay">
<span>2 commits to</span>
<a class="branch-name" href="/davorg/uptime/tree/master" rel="noreferrer">master</a>
<div class="commits ">
<ul class="list-style-none">
<li class="d-flex flex-items-baseline">
<span>
<a class="d-inline-block" href="/upptime-bot" rel="noreferrer"><img class="mr-1 avatar-user" src="https://avatars.githubusercontent.com/u/73812536?s=32&amp;v=4" width="16" height="16" alt="@upptime-bot"></a>
</span>
<code><a class="mr-1" href="/davorg/uptime/commit/1d715da417d1fb3ac8cf4f86b425b9a5fc9baea7" rel="noreferrer">1d715da</a></code>
<div class="dashboard-break-word lh-condensed">
<blockquote>
🟩 Aphra is up (200 in 261 ms) [skip ci] [upptime]
</blockquote>
</div>
</li>
<li class="d-flex flex-items-baseline">
<span>
<a class="d-inline-block" href="/upptime-bot" rel="noreferrer"><img class="mr-1 avatar-user" src="https://avatars.githubusercontent.com/u/73812536?s=32&amp;v=4" width="16" height="16" alt="@upptime-bot"></a>
</span>
<code><a class="mr-1" href="/davorg/uptime/commit/bc436feb50f943ed565bad7a13f6bdf2808beccb" rel="noreferrer">bc436fe</a></code>
<div class="dashboard-break-word lh-condensed">
<blockquote>
🟩 Klortho is up (200 in 454 ms) [skip ci] [upptime]
</blockquote>
</div>
</li>
<li class="f6 mt-2">
<a class="Link--secondary" href="/davorg/uptime/compare/4138d1f98d...1d715da417" rel="noreferrer">10 more commits »</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div></div></content>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:trakt.tv,2005:Episode/12927859/10722086933</id>
<published>2025-04-02T20:05:08Z</published>
<updated>2025-04-02T20:05:08Z</updated>
<link rel="alternate" type="text/html" href="https://trakt.tv/episodes/12927859"/>
<title>The Secret Genius of Modern Life 3x01 "Air Fryer"</title>
<summary>Hannah takes a look at the air fryer – a device that’s rapidly taking over people's kitchens, cooking up everything from bread rolls to baked Alaska and almost making ovens obsolete.</summary>
<content type="html"><img src="https://walter-r2.trakt.tv/images/shows/000/199/727/fanarts/thumb/9472c79ef6.jpg" />Hannah takes a look at the air fryer – a device that’s rapidly taking over people&#39;s kitchens, cooking up everything from bread rolls to baked Alaska and almost making ovens obsolete.</content>
<media:content url="https://walter-r2.trakt.tv/images/shows/000/199/727/posters/medium/493b984ab2.jpg"/>
<media:thumbnail url="https://walter-r2.trakt.tv/images/shows/000/199/727/posters/thumb/493b984ab2.jpg"/>
<author>
<name>davorg</name>
</author>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:trakt.tv,2005:Episode/12849554/10721936631</id>
<published>2025-04-02T19:03:47Z</published>
<updated>2025-04-02T19:03:47Z</updated>
<link rel="alternate" type="text/html" href="https://trakt.tv/episodes/12849554"/>
<title>Ancient Greece By Train 1x03 "Episode 3"</title>
<summary/>
<content type="html"><img src="https://walter-r2.trakt.tv/images/shows/000/277/504/fanarts/thumb/774bc1fe41.jpg" /></content>
<media:content url="https://walter-r2.trakt.tv/images/shows/000/277/504/posters/medium/840da9e0cc.jpg"/>
<media:thumbnail url="https://walter-r2.trakt.tv/images/shows/000/277/504/posters/thumb/840da9e0cc.jpg"/>
<author>
<name>davorg</name>
</author>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:trakt.tv,2005:Episode/12555576/10721728904</id>
<published>2025-04-02T18:12:17Z</published>
<updated>2025-04-02T18:12:17Z</updated>
<link rel="alternate" type="text/html" href="https://trakt.tv/episodes/12555576"/>
<title>Meet the Rees-Moggs 1x05 "Back in the Game"</title>
<summary>After another loss, Jacob is left questioning -- could this be the end?</summary>
<content type="html"><img src="https://walter-r2.trakt.tv/images/episodes/012/555/576/screenshots/thumb/83f2369cd1.jpg" />After another loss, Jacob is left questioning -- could this be the end?</content>
<media:content url="https://walter-r2.trakt.tv/images/shows/000/252/988/posters/medium/a8a162b78f.jpg"/>
<media:thumbnail url="https://walter-r2.trakt.tv/images/shows/000/252/988/posters/thumb/a8a162b78f.jpg"/>
<author>
<name>davorg</name>
</author>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:github.com,2008:PushEvent/48249826572</id>
<published>2025-04-02T16:46:14Z</published>
<updated>2025-04-02T16:46:14Z</updated>
<link type="text/html" rel="alternate" href="https://github.com/davorg/balham.org/compare/55a02bf08c...aeb6694be5"/>
<title type="html">davorg pushed to master in davorg/balham.org</title>
<author>
<name>davorg</name>
<email>dave@davecross.co.uk</email>
<uri>https://github.com/davorg</uri>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/24642?s=30&v=4"/>
<content type="html"><div class="push js-feed-item-view" data-hydro-view="{&quot;event_type&quot;:&quot;news_feed.event.view&quot;,&quot;payload&quot;:{&quot;event&quot;:{&quot;repo_id&quot;:253460840,&quot;actor_id&quot;:24642,&quot;public&quot;:true,&quot;type&quot;:&quot;PushEvent&quot;,&quot;target_id&quot;:null,&quot;id&quot;:48249826572,&quot;additional_details_shown&quot;:false,&quot;grouped&quot;:false},&quot;event_group&quot;:null,&quot;org_id&quot;:null,&quot;target_type&quot;:&quot;event&quot;,&quot;user_id&quot;:null,&quot;feed_card&quot;:{&quot;card_retrieved_id&quot;:&quot;39870666-c53e-4c59-b763-f8a6ff9a962e&quot;},&quot;originating_url&quot;:&quot;https://github.com/davorg.atom&quot;}}" data-hydro-view-hmac="770e42ca80bc4f7fb44f223f14d20e573bb734817a24c2a213c23a9c6614e583"><div class="body">
<!-- push -->
<div class="d-flex flex-items-baseline py-4">
<div class="d-flex flex-column width-full">
<div class="color-fg-muted">
<span class="mr-2"><a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=64&amp;v=4" width="32" height="32" alt="@davorg"></a></span>
<a class="Link--primary no-underline wb-break-all" href="/davorg" rel="noreferrer">davorg</a>
pushed to
<a class="branch-name" href="/davorg/balham.org/tree/master" rel="noreferrer">master</a>
in
<a class="Link--primary no-underline wb-break-all" href="/davorg/balham.org" rel="noreferrer">davorg/balham.org</a>
<span>
· <relative-time tense="past" datetime="2025-04-02T16:46:14Z" data-view-component="true">April 2, 2025 16:46</relative-time>
</span>
<div class="Box p-3 mt-2 color-shadow-medium color-bg-overlay">
<span>1 commit to</span>
<a class="branch-name" href="/davorg/balham.org/tree/master" rel="noreferrer">master</a>
<div class="commits pusher-is-only-committer">
<ul class="list-style-none">
<li class="d-flex flex-items-baseline">
<span>
<a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="mr-1 avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=32&amp;v=4" width="16" height="16" alt="@davorg"></a>
</span>
<code><a class="mr-1" href="/davorg/balham.org/commit/aeb6694be5828ec89b13b566a77c592154d3fd4a" rel="noreferrer">aeb6694</a></code>
<div class="dashboard-break-word lh-condensed">
<blockquote>
Correct a date and a link
</blockquote>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div></div></content>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:github.com,2008:PushEvent/48249332548</id>
<published>2025-04-02T16:32:14Z</published>
<updated>2025-04-02T16:32:14Z</updated>
<link type="text/html" rel="alternate" href="https://github.com/davorg/balham.org/compare/5cd86ade8b...55a02bf08c"/>
<title type="html">davorg pushed to master in davorg/balham.org</title>
<author>
<name>davorg</name>
<email>dave@davecross.co.uk</email>
<uri>https://github.com/davorg</uri>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/24642?s=30&v=4"/>
<content type="html"><div class="push js-feed-item-view" data-hydro-view="{&quot;event_type&quot;:&quot;news_feed.event.view&quot;,&quot;payload&quot;:{&quot;event&quot;:{&quot;repo_id&quot;:253460840,&quot;actor_id&quot;:24642,&quot;public&quot;:true,&quot;type&quot;:&quot;PushEvent&quot;,&quot;target_id&quot;:null,&quot;id&quot;:48249332548,&quot;additional_details_shown&quot;:false,&quot;grouped&quot;:false},&quot;event_group&quot;:null,&quot;org_id&quot;:null,&quot;target_type&quot;:&quot;event&quot;,&quot;user_id&quot;:null,&quot;feed_card&quot;:{&quot;card_retrieved_id&quot;:&quot;425537a9-e019-40c0-80ad-3c1f967ba1f2&quot;},&quot;originating_url&quot;:&quot;https://github.com/davorg.atom&quot;}}" data-hydro-view-hmac="03a3ff8653a8fb7f4e09b3100e033869cb62edc580ecd518d6745814bb3ce760"><div class="body">
<!-- push -->
<div class="d-flex flex-items-baseline py-4">
<div class="d-flex flex-column width-full">
<div class="color-fg-muted">
<span class="mr-2"><a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=64&amp;v=4" width="32" height="32" alt="@davorg"></a></span>
<a class="Link--primary no-underline wb-break-all" href="/davorg" rel="noreferrer">davorg</a>
pushed to
<a class="branch-name" href="/davorg/balham.org/tree/master" rel="noreferrer">master</a>
in
<a class="Link--primary no-underline wb-break-all" href="/davorg/balham.org" rel="noreferrer">davorg/balham.org</a>
<span>
· <relative-time tense="past" datetime="2025-04-02T16:32:14Z" data-view-component="true">April 2, 2025 16:32</relative-time>
</span>
<div class="Box p-3 mt-2 color-shadow-medium color-bg-overlay">
<span>1 commit to</span>
<a class="branch-name" href="/davorg/balham.org/tree/master" rel="noreferrer">master</a>
<div class="commits pusher-is-only-committer">
<ul class="list-style-none">
<li class="d-flex flex-items-baseline">
<span>
<a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="mr-1 avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=32&amp;v=4" width="16" height="16" alt="@davorg"></a>
</span>
<code><a class="mr-1" href="/davorg/balham.org/commit/55a02bf08c02dc631be07ca1845b9028180fb750" rel="noreferrer">55a02bf</a></code>
<div class="dashboard-break-word lh-condensed">
<blockquote>
Skip displaying dates in the past
</blockquote>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div></div></content>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:github.com,2008:PushEvent/48249241476</id>
<published>2025-04-02T16:29:47Z</published>
<updated>2025-04-02T16:29:47Z</updated>
<link type="text/html" rel="alternate" href="https://github.com/davorg/balham.org/compare/95cd568746...5cd86ade8b"/>
<title type="html">davorg pushed to master in davorg/balham.org</title>
<author>
<name>davorg</name>
<email>dave@davecross.co.uk</email>
<uri>https://github.com/davorg</uri>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/24642?s=30&v=4"/>
<content type="html"><div class="push js-feed-item-view" data-hydro-view="{&quot;event_type&quot;:&quot;news_feed.event.view&quot;,&quot;payload&quot;:{&quot;event&quot;:{&quot;repo_id&quot;:253460840,&quot;actor_id&quot;:24642,&quot;public&quot;:true,&quot;type&quot;:&quot;PushEvent&quot;,&quot;target_id&quot;:null,&quot;id&quot;:48249241476,&quot;additional_details_shown&quot;:false,&quot;grouped&quot;:false},&quot;event_group&quot;:null,&quot;org_id&quot;:null,&quot;target_type&quot;:&quot;event&quot;,&quot;user_id&quot;:null,&quot;feed_card&quot;:{&quot;card_retrieved_id&quot;:&quot;d7c227dd-e0a5-4399-819f-35ec84cd54f8&quot;},&quot;originating_url&quot;:&quot;https://github.com/davorg.atom&quot;}}" data-hydro-view-hmac="68bf00096855a2a16ae3995b11b1fc646ae2b9a65a906dffa8567e37d9c5467e"><div class="body">
<!-- push -->
<div class="d-flex flex-items-baseline py-4">
<div class="d-flex flex-column width-full">
<div class="color-fg-muted">
<span class="mr-2"><a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=64&amp;v=4" width="32" height="32" alt="@davorg"></a></span>
<a class="Link--primary no-underline wb-break-all" href="/davorg" rel="noreferrer">davorg</a>
pushed to
<a class="branch-name" href="/davorg/balham.org/tree/master" rel="noreferrer">master</a>
in
<a class="Link--primary no-underline wb-break-all" href="/davorg/balham.org" rel="noreferrer">davorg/balham.org</a>
<span>
· <relative-time tense="past" datetime="2025-04-02T16:29:47Z" data-view-component="true">April 2, 2025 16:29</relative-time>
</span>
<div class="Box p-3 mt-2 color-shadow-medium color-bg-overlay">
<span>1 commit to</span>
<a class="branch-name" href="/davorg/balham.org/tree/master" rel="noreferrer">master</a>
<div class="commits pusher-is-only-committer">
<ul class="list-style-none">
<li class="d-flex flex-items-baseline">
<span>
<a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="mr-1 avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=32&amp;v=4" width="16" height="16" alt="@davorg"></a>
</span>
<code><a class="mr-1" href="/davorg/balham.org/commit/5cd86ade8b8741af2a36931a40e84e79d64ac36b" rel="noreferrer">5cd86ad</a></code>
<div class="dashboard-break-word lh-condensed">
<blockquote>
Add more events
</blockquote>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div></div></content>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:github.com,2008:PushEvent/48247050800</id>
<published>2025-04-02T15:36:14Z</published>
<updated>2025-04-02T15:36:14Z</updated>
<link type="text/html" rel="alternate" href="https://github.com/davorg/cool-stuff/compare/92652191aa...119c4ca7a3"/>
<title type="html">davorg pushed to master in davorg/cool-stuff</title>
<author>
<name>davorg</name>
<email>dave@davecross.co.uk</email>
<uri>https://github.com/davorg</uri>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/24642?s=30&v=4"/>
<content type="html"><div class="push js-feed-item-view" data-hydro-view="{&quot;event_type&quot;:&quot;news_feed.event.view&quot;,&quot;payload&quot;:{&quot;event&quot;:{&quot;repo_id&quot;:163600249,&quot;actor_id&quot;:24642,&quot;public&quot;:true,&quot;type&quot;:&quot;PushEvent&quot;,&quot;target_id&quot;:null,&quot;id&quot;:48247050800,&quot;additional_details_shown&quot;:false,&quot;grouped&quot;:false},&quot;event_group&quot;:null,&quot;org_id&quot;:null,&quot;target_type&quot;:&quot;event&quot;,&quot;user_id&quot;:null,&quot;feed_card&quot;:{&quot;card_retrieved_id&quot;:&quot;056c9542-0e14-4437-8c02-1a670fb46cda&quot;},&quot;originating_url&quot;:&quot;https://github.com/davorg.atom&quot;}}" data-hydro-view-hmac="8996a79bb8556a8be3a2e4d9cef12328ef0b66108c80fddfc0058c1856f56a6e"><div class="body">
<!-- push -->
<div class="d-flex flex-items-baseline py-4">
<div class="d-flex flex-column width-full">
<div class="color-fg-muted">
<span class="mr-2"><a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=64&amp;v=4" width="32" height="32" alt="@davorg"></a></span>
<a class="Link--primary no-underline wb-break-all" href="/davorg" rel="noreferrer">davorg</a>
pushed to
<a class="branch-name" href="/davorg/cool-stuff/tree/master" rel="noreferrer">master</a>
in
<a class="Link--primary no-underline wb-break-all" href="/davorg/cool-stuff" rel="noreferrer">davorg/cool-stuff</a>
<span>
· <relative-time tense="past" datetime="2025-04-02T15:36:14Z" data-view-component="true">April 2, 2025 15:36</relative-time>
</span>
<div class="Box p-3 mt-2 color-shadow-medium color-bg-overlay">
<span>1 commit to</span>
<a class="branch-name" href="/davorg/cool-stuff/tree/master" rel="noreferrer">master</a>
<div class="commits pusher-is-only-committer">
<ul class="list-style-none">
<li class="d-flex flex-items-baseline">
<span>
<a class="d-inline-block" href="/davorg" rel="noreferrer"><img class="mr-1 avatar-user" src="https://avatars.githubusercontent.com/u/24642?s=32&amp;v=4" width="16" height="16" alt="@davorg"></a>
</span>
<code><a class="mr-1" href="/davorg/cool-stuff/commit/119c4ca7a31394931a1771466104fd081f7435db" rel="noreferrer">119c4ca</a></code>
<div class="dashboard-break-word lh-condensed">
<blockquote>
Minor reformatting
</blockquote>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div></div></content>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:trakt.tv,2005:Movie/1188715/10719014128</id>
<published>2025-04-01T20:24:28Z</published>
<updated>2025-04-01T20:24:28Z</updated>
<link rel="alternate" type="text/html" href="https://trakt.tv/movies/douglas-adams-the-man-who-imagined-our-future-2025"/>
<title>Douglas Adams: The Man Who Imagined Our Future (2025)</title>
<summary>Author of The Hitchhiker's Guide To The Galaxy, polymath Douglas Adams was a pioneer of science fiction, comedy, technology and environmental activism. We're on a journey with Douglas Adams - diving into the broad questions of life, the universe and everything at a time when we are all asking questions of ourselves and our place on Earth - and our fear of destroying it. Campaigning for endangered species and the coming storm of climate change, he was years ahead of his time. Optimistic about the infinite possibilities that computers will bring, obsessing with the art of writing, while exploring parallel dimensions and artificial intelligence, his philosophy and ideas are meaningful, and visionary.</summary>
<content type="html"><img src="https://walter-r2.trakt.tv/images/movies/001/188/715/fanarts/thumb/e7ecb40b6c.jpg" />Author of The Hitchhiker&#39;s Guide To The Galaxy, polymath Douglas Adams was a pioneer of science fiction, comedy, technology and environmental activism. We&#39;re on a journey with Douglas Adams - diving into the broad questions of life, the universe and everything at a time when we are all asking questions of ourselves and our place on Earth - and our fear of destroying it. Campaigning for endangered species and the coming storm of climate change, he was years ahead of his time. Optimistic about the infinite possibilities that computers will bring, obsessing with the art of writing, while exploring parallel dimensions and artificial intelligence, his philosophy and ideas are meaningful, and visionary.</content>
<media:content url="https://walter-r2.trakt.tv/images/movies/001/188/715/posters/medium/1317db3703.jpg"/>
<media:thumbnail url="https://walter-r2.trakt.tv/images/movies/001/188/715/posters/thumb/1317db3703.jpg"/>
<author>
<name>davorg</name>
</author>
</entry>
<entry xmlns:media="http://search.yahoo.com/mrss/">
<id>tag:trakt.tv,2005:Episode/12484742/10717823174</id>
<published>2025-04-01T10:49:48Z</published>
<updated>2025-04-01T10:49:48Z</updated>
<link rel="alternate" type="text/html" href="https://trakt.tv/episodes/12484742"/>
<title>The White Lotus 3x07 "Killer Instincts"</title>
<summary>In Bangkok, Rick meets face-to-face with the man he thinks ruined his life. Meanwhile, a nervous Belinda brings Zion along to Chloe's expat party, Saxon confronts Timothy about how strange he’s been acting since they arrived in Thailand, Laurie heads to a Muay Thai match with Valentin, and Gaitok and Mook have their first date.</summary>
<content type="html"><img src="https://walter-r2.trakt.tv/images/episodes/012/484/742/screenshots/thumb/b431afe177.jpg" />In Bangkok, Rick meets face-to-face with the man he thinks ruined his life. Meanwhile, a nervous Belinda brings Zion along to Chloe&#39;s expat party, Saxon confronts Timothy about how strange he’s been acting since they arrived in Thailand, Laurie heads to a Muay Thai match with Valentin, and Gaitok and Mook have their first date.</content>
<media:content url="https://walter-r2.trakt.tv/images/shows/000/168/471/posters/medium/888187c36d.jpg"/>
<media:thumbnail url="https://walter-r2.trakt.tv/images/shows/000/168/471/posters/thumb/888187c36d.jpg"/>
<author>
<name>davorg</name>
</author>
</entry>
<entry>
<title>Chef, 2014 - ★★★</title>
<link rel="alternate" href="https://letterboxd.com/realdavorg/film/chef/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"> <p><img src="https://a.ltrbxd.com/resized/film-poster/1/5/1/3/0/9/151309-chef-0-600-0-900-crop.jpg?v=e8ec38c88e"/></p> <p>Watched on Monday March 31, 2025.</p> </div>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>letterboxd-watch-850794721</id>
<published>2025-04-01T09:38:18+13:00</published>
<updated>2025-04-01T09:38:18+13:00</updated>
</entry>
<entry>
<title>The Night House, 2020 - ★★★</title>
<link rel="alternate" href="https://letterboxd.com/realdavorg/film/the-night-house/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"> <p><img src="https://a.ltrbxd.com/resized/film-poster/4/7/6/4/9/0/476490-the-night-house-0-600-0-900-crop.jpg?v=04d557166b"/></p> <p>Watched on Tuesday March 25, 2025.</p> </div>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>letterboxd-watch-845753166</id>
<published>2025-03-26T09:29:23+13:00</published>
<updated>2025-03-26T09:29:23+13:00</updated>
</entry>
<entry>
<title>Building a website in a day — with help from ChatGPT</title>
<link rel="alternate" href="https://davorg.medium.com/building-a-website-in-a-day-with-help-from-chatgpt-b87780d287d9?source=rss-3781feb8a4f4------2" type="text/html"/>
<content type="html"><h3>Building a website in a day — with help from ChatGPT</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/0*l-ixlfAyPNXpsOXN.png" /></figure><p>A few days ago, I looked at an unused domain I owned — <a href="https://balham.org">balham.org</a> — and thought: <em>“There must be a way to make this useful… and maybe even make it pay for itself.”</em></p><p>So I set myself a challenge: <strong>one day to build something genuinely useful.</strong> A site that served a real audience (people in and around Balham), that was fun to build, and maybe could be turned into a small revenue stream.</p><p>It was also a great excuse to get properly stuck into <strong>Jekyll</strong> and the <strong>Minimal Mistakes</strong> theme — both of which I’d dabbled with before, but never used in anger. And, crucially, I wasn’t working alone: I had <strong>ChatGPT</strong> as a development assistant, sounding board, researcher, and occasional bug-hunter.</p><h3>The Idea</h3><p>Balham is a reasonably affluent, busy part of south west London. It’s full of restaurants, cafés, gyms, independent shops, and people looking for things to do. It also has a surprisingly rich local history — from Victorian grandeur to Blitz-era tragedy.</p><p>I figured the site could be structured around three main pillars:</p><p>Throw in a curated homepage and maybe a blog later, and I had the bones of a useful site. The kind of thing that people would find via Google or get sent a link to by a friend.</p><h3>The Stack</h3><p>I wanted something static, fast, and easy to deploy. My toolchain ended up being:</p><ul><li><strong>Jekyll</strong> for the site generator</li><li><strong>Minimal Mistakes</strong> as the theme</li><li><strong>GitHub Pages</strong> for hosting</li><li><strong>Custom YAML data files</strong> for businesses and events</li><li><strong>ChatGPT</strong> for everything from content generation to Liquid loops</li></ul><p>The site is 100% static, with no backend, no databases, no CMS. It builds automatically on GitHub push, and is entirely hosted via GitHub Pages.</p><h3>Step by Step: Building It</h3><p>I gave us about six solid hours to build something real. Here’s what we did (“we” meaning me + ChatGPT):</p><h3>1. Domain Setup and Scaffolding</h3><p>The domain was already pointed at GitHub Pages, and I had a basic “Hello World” site in place. We cleared that out, set up a fresh Jekyll repo, and added a _config.yml that pointed at the Minimal Mistakes remote theme. No cloning or submodules.</p><h3>2. Basic Site Structure</h3><p>We decided to create four main pages:</p><p>We used the layout: single layout provided by Minimal Mistakes, and created custom permalinks so URLs were clean and extension-free.</p><h3>3. The Business Directory</h3><p>This was built from scratch using a YAML data file (_data/businesses.yml). ChatGPT gathered an initial list of 20 local businesses (restaurants, shops, pubs, etc.), checked their status, and added details like name, category, address, website, and a short description.</p><p>In the template, we looped over the list, rendered sections with conditional logic (e.g., don’t output the website link if it’s empty), and added anchor IDs to each entry so we could link to them directly from the homepage.</p><h3>4. The Events Page</h3><p>Built exactly the same way, but using _data/events.yml. To keep things realistic, we seeded a small number of example events and included a note inviting people to email us with new submissions.</p><h3>5. Featured Listings</h3><p>We wanted the homepage to show a curated set of businesses and events. So we created a third data file, _data/featured.yml, which just listed the <em>names</em> of the featured entries. Then in the homepage template, we used where and slugify to match names and pull in the full record from businesses.yml or events.yml. Super DRY.</p><h3>6. Map and Media</h3><p>We added a map of Balham as a hero image, styled responsively. Later we created a .responsive-inline-image class to embed supporting images on the history page without overwhelming the layout.</p><h3>7. History Section with Real Archival Images</h3><p>This turned out to be one of the most satisfying parts. We wrote five paragraphs covering key moments in Balham’s development — Victorian expansion, Du Cane Court, The Priory, the Blitz, and modern growth.</p><p>Then we sourced five CC-licensed or public domain images (from Wikimedia Commons and Geograph) to match each paragraph. Each was wrapped in a &lt;figure&gt; with proper attribution and a consistent CSS class. The result feels polished and informative.</p><h3>8. Metadata, SEO, and Polish</h3><p>We went through all the basics:</p><ul><li>Custom title and description in front matter for each page</li><li>Open Graph tags and Twitter cards via site config</li><li>A branded favicon using RealFaviconGenerator</li><li>Added robots.txt, sitemap.xml, and a hand-crafted humans.txt</li><li>Clean URLs, no .html extensions</li><li>Anchored IDs for deep linking</li></ul><h3>9. Analytics and Search Console</h3><p>We added GA4 tracking using Minimal Mistakes’ built-in support, and verified the domain with Google Search Console. A sitemap was submitted, and indexing kicked in within minutes.</p><h3>10. Accessibility and Performance</h3><p>We ran Lighthouse and WAVE tests. Accessibility came out at 100%. Performance dipped slightly due to Google Fonts and image size, but we did our best to optimise without sacrificing aesthetics.</p><h3>11. Footer CTA</h3><p>We added a site-wide footer call-to-action inviting people to email us with suggestions for businesses or events. This makes the site feel alive and participatory, even without a backend form.</p><h3>What Worked Well</h3><ul><li><strong>ChatGPT as co-pilot</strong>: I could ask it for help with Liquid templates, CSS, content rewrites, and even bug-hunting. It let me move fast without getting bogged down in docs.</li><li><strong>Minimal Mistakes</strong>: It really is an excellent theme. Clean, accessible, flexible.</li><li><strong>Data-driven content</strong>: Keeping everything in YAML meant templates stayed simple, and the whole site is easy to update.</li><li><strong>Staying focused</strong>: We didn’t try to do everything. Four pages, one day, good polish.</li></ul><h3>What’s Next?</h3><ul><li>Add category filtering to the directory</li><li>Improve the OG/social card image</li><li>Add structured JSON-LD for individual events and businesses</li><li>Explore monetisation: affiliate links, sponsored listings, local partnerships</li><li>Start some blog posts or “best of Balham” roundups</li></ul><h3>Final Thoughts</h3><p>This started as a fun experiment: could I monetise an unused domain <em>and</em> finally learn Jekyll properly?</p><p>What I ended up with is a genuinely useful local resource — one that looks good, loads quickly, and has room to grow.</p><p>If you’re sitting on an unused domain, and you’ve got a free day and a chatbot at your side — you might be surprised what you can build.</p><p>Oh, and one final thing — obviously you can also get ChatGPT to write a blog post talking about the project :-)</p><p><em>Originally published at </em><a href="https://blog.dave.org.uk/2025/03/building-a-website-in-a-day-with-help-from-chatgpt.html"><em>https://blog.dave.org.uk</em></a><em> on March 23, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b87780d287d9" width="1" height="1" alt=""></content>
<author>
<name>Dave Cross</name>
</author>
<id>https://medium.com/p/b87780d287d9</id>
<published>2025-03-23T12:49:36Z</published>
<updated>2025-03-23T12:54:12.382000Z</updated>
<category term="chatgpt"/>
<category term="ai"/>
<category term="tech-tools"/>
<category term="website-building"/>
<category term="web-development"/>
</entry>
<entry>
<title>Building a website in a day — with help from ChatGPT</title>
<link rel="alternate" href="https://blog.dave.org.uk/2025/03/building-a-website-in-a-day-with-help-from-chatgpt.html" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p data-pm-slice="1 1 []">A few days ago, I looked at an unused domain I owned — <a href="https://balham.org">balham.org</a> — and thought: <em>“There must be a way to make this useful… and maybe even make it pay for itself.”</em></p>
<p>So I set myself a challenge: <strong>one day to build something genuinely useful.</strong> A site that served a real audience (people in and around Balham), that was fun to build, and maybe could be turned into a small revenue stream.</p>
<p>It was also a great excuse to get properly stuck into <strong>Jekyll</strong> and the <strong>Minimal Mistakes</strong> theme — both of which I’d dabbled with before, but never used in anger. And, crucially, I wasn’t working alone: I had <strong>ChatGPT</strong> as a development assistant, sounding board, researcher, and occasional bug-hunter.</p>
<h2>The Idea</h2>
<p>Balham is a reasonably affluent, busy part of south west London. It’s full of restaurants, cafés, gyms, independent shops, and people looking for things to do. It also has a surprisingly rich local history — from Victorian grandeur to Blitz-era tragedy.</p>
<p>I figured the site could be structured around three main pillars:</p>
<ul data-spread="false">
<li>A <strong>directory of local businesses</strong></li>
<li>A <strong>list of upcoming events</strong></li>
<li>A <strong>local history section</strong></li>
</ul>
<p>Throw in a curated homepage and maybe a blog later, and I had the bones of a useful site. The kind of thing that people would find via Google or get sent a link to by a friend.</p>
<h2>The Stack</h2>
<p>I wanted something static, fast, and easy to deploy. My toolchain ended up being:</p>
<ul data-spread="false">
<li><strong>Jekyll</strong> for the site generator</li>
<li><strong>Minimal Mistakes</strong> as the theme</li>
<li><strong>GitHub Pages</strong> for hosting</li>
<li><strong>Custom YAML data files</strong> for businesses and events</li>
<li><strong>ChatGPT</strong> for everything from content generation to Liquid loops</li>
</ul>
<p>The site is 100% static, with no backend, no databases, no CMS. It builds automatically on GitHub push, and is entirely hosted via GitHub Pages.</p>
<h2>Step by Step: Building It</h2>
<p>I gave us about six solid hours to build something real. Here’s what we did (“we” meaning me + ChatGPT):</p>
<h3>1. Domain Setup and Scaffolding</h3>
<p>The domain was already pointed at GitHub Pages, and I had a basic “Hello World” site in place. We cleared that out, set up a fresh Jekyll repo, and added a <code>_config.yml</code> that pointed at the Minimal Mistakes remote theme. No cloning or submodules.</p>
<h3>2. Basic Site Structure</h3>
<p>We decided to create four main pages:</p>
<ul data-spread="false">
<li>Homepage (<code>index.md</code>)</li>
<li>Directory (<code>directory/index.md</code>)</li>
<li>Events (<code>events/index.md</code>)</li>
<li>History (<code>history/index.md</code>)</li>
</ul>
<p>We used the <code>layout: single</code> layout provided by Minimal Mistakes, and created custom permalinks so URLs were clean and extension-free.</p>
<h3>3. The Business Directory</h3>
<p>This was built from scratch using a YAML data file (<code>_data/businesses.yml</code>). ChatGPT gathered an initial list of 20 local businesses (restaurants, shops, pubs, etc.), checked their status, and added details like name, category, address, website, and a short description.</p>
<p>In the template, we looped over the list, rendered sections with conditional logic (e.g., don’t output the website link if it’s empty), and added anchor IDs to each entry so we could link to them directly from the homepage.</p>
<h3>4. The Events Page</h3>
<p>Built exactly the same way, but using <code>_data/events.yml</code>. To keep things realistic, we seeded a small number of example events and included a note inviting people to email us with new submissions.</p>
<h3>5. Featured Listings</h3>
<p>We wanted the homepage to show a curated set of businesses and events. So we created a third data file, <code>_data/featured.yml</code>, which just listed the <em>names</em> of the featured entries. Then in the homepage template, we used <code>where</code> and <code>slugify</code> to match names and pull in the full record from <code>businesses.yml</code> or <code>events.yml</code>. Super DRY.</p>
<h3>6. Map and Media</h3>
<p>We added a map of Balham as a hero image, styled responsively. Later we created a <code>.responsive-inline-image</code> class to embed supporting images on the history page without overwhelming the layout.</p>
<h3>7. History Section with Real Archival Images</h3>
<p>This turned out to be one of the most satisfying parts. We wrote five paragraphs covering key moments in Balham’s development — Victorian expansion, Du Cane Court, The Priory, the Blitz, and modern growth.</p>
<p>Then we sourced five CC-licensed or public domain images (from Wikimedia Commons and Geograph) to match each paragraph. Each was wrapped in a <code><figure></code> with proper attribution and a consistent CSS class. The result feels polished and informative.</p>
<h3>8. Metadata, SEO, and Polish</h3>
<p>We went through all the basics:</p>
<ul data-spread="false">
<li>Custom <code>title</code> and <code>description</code> in front matter for each page</li>
<li>Open Graph tags and Twitter cards via site config</li>
<li>A branded favicon using RealFaviconGenerator</li>
<li>Added <code>robots.txt</code>, <code>sitemap.xml</code>, and a hand-crafted <code>humans.txt</code></li>
<li>Clean URLs, no <code>.html</code> extensions</li>
<li>Anchored IDs for deep linking</li>
</ul>
<h3>9. Analytics and Search Console</h3>
<p>We added GA4 tracking using Minimal Mistakes’ built-in support, and verified the domain with Google Search Console. A sitemap was submitted, and indexing kicked in within minutes.</p>
<h3>10. Accessibility and Performance</h3>
<p>We ran Lighthouse and WAVE tests. Accessibility came out at 100%. Performance dipped slightly due to Google Fonts and image size, but we did our best to optimise without sacrificing aesthetics.</p>
<h3>11. Footer CTA</h3>
<p>We added a site-wide footer call-to-action inviting people to email us with suggestions for businesses or events. This makes the site feel alive and participatory, even without a backend form.</p>
<h2>What Worked Well</h2>
<ul data-spread="false">
<li><strong>ChatGPT as co-pilot</strong>: I could ask it for help with Liquid templates, CSS, content rewrites, and even bug-hunting. It let me move fast without getting bogged down in docs.</li>
<li><strong>Minimal Mistakes</strong>: It really is an excellent theme. Clean, accessible, flexible.</li>
<li><strong>Data-driven content</strong>: Keeping everything in YAML meant templates stayed simple, and the whole site is easy to update.</li>
<li><strong>Staying focused</strong>: We didn’t try to do everything. Four pages, one day, good polish.</li>
</ul>
<h2>What’s Next?</h2>
<ul data-spread="false">
<li>Add category filtering to the directory</li>
<li>Improve the OG/social card image</li>
<li>Add structured JSON-LD for individual events and businesses</li>
<li>Explore monetisation: affiliate links, sponsored listings, local partnerships</li>
<li>Start some blog posts or “best of Balham” roundups</li>
</ul>
<h2>Final Thoughts</h2>
<p>This started as a fun experiment: could I monetise an unused domain <em>and</em> finally learn Jekyll properly?</p>
<p>What I ended up with is a genuinely useful local resource — one that looks good, loads quickly, and has room to grow.</p>
<p>If you’re sitting on an unused domain, and you’ve got a free day and a chatbot at your side — you might be surprised what you can build.</p>
<div>
<hr/>
</div>
<p>Oh, and one final thing – obviously you can also get ChatGPT to write a blog post talking about the project :-)</p>
<p>The post <a href="https://blog.dave.org.uk/2025/03/building-a-website-in-a-day-with-help-from-chatgpt.html">Building a website in a day — with help from ChatGPT</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>A few days ago, I looked at an unused domain I owned — balham.org — and thought: “There must be a way to make this useful… and maybe even make it pay for itself.” So I set myself a challenge: one day to build something genuinely useful. A site that served a real audience (people… <a class="more-link" href="https://blog.dave.org.uk/2025/03/building-a-website-in-a-day-with-help-from-chatgpt.html">Continue reading <span class="screen-reader-text">Building a website in a day — with help from ChatGPT</span></a></p>
<p>The post <a href="https://blog.dave.org.uk/2025/03/building-a-website-in-a-day-with-help-from-chatgpt.html">Building a website in a day — with help from ChatGPT</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://blog.dave.org.uk/?p=3960</id>
<published>2025-03-23T12:48:55Z</published>
<updated>2025-03-23T12:48:55Z</updated>
<category term="web"/>
<category term="ai"/>
<category term="chatgpt"/>
<category term="tech tools"/>
<category term="web development"/>
<category term="website building"/>
</entry>
<entry>
<title>At the Earth's Core, 1976 - ★★½</title>
<link rel="alternate" href="https://letterboxd.com/realdavorg/film/at-the-earths-core/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"> <p><img src="https://a.ltrbxd.com/resized/film-poster/3/5/3/4/4/35344-at-the-earth-s-core-0-600-0-900-crop.jpg?v=8f2c39f203"/></p> <p>Watched on Tuesday March 18, 2025.</p> </div>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>letterboxd-watch-839812980</id>
<published>2025-03-19T09:21:52+13:00</published>
<updated>2025-03-19T09:21:52+13:00</updated>
</entry>
<entry>
<title>They Came from Beyond Space, 1967 - ★★★</title>
<link rel="alternate" href="https://letterboxd.com/realdavorg/film/they-came-from-beyond-space/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"> <p><img src="https://a.ltrbxd.com/resized/film-poster/2/8/4/9/9/28499-they-came-from-beyond-space-0-600-0-900-crop.jpg?v=f91197037d"/></p> <p>Watched on Monday March 17, 2025.</p> </div>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>letterboxd-watch-839026112</id>
<published>2025-03-18T09:48:09+13:00</published>
<updated>2025-03-18T09:48:09+13:00</updated>
</entry>
<entry>
<title>How I build websites in 2025</title>
<link rel="alternate" href="https://davorg.medium.com/how-i-build-websites-in-2025-7a3599b02349?source=rss-3781feb8a4f4------2" type="text/html"/>
<content type="html"><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/0*NAKTS9Vg_DhIajRX.png" /></figure><p>I built and launched <a href="https://websiteguide.davecross.co.uk/">a new website</a> yesterday. It wasn’t what I planned to do, but the idea popped into my head while I was drinking my morning coffee on Clapham Common and it seemed to be the kind of thing I could complete in a day — so I decided to put my original plans on hold and built it instead.</p><p>The website is aimed at small business owners who think they need a website (or want to update their existing one) but who know next to nothing about web development and can easily fall prey to the many cowboy website companies that seem to dominate the “making websites for small companies” section of our industries. The site is structured around a number of questions you can ask a potential website builder to try and weed out the dodgier elements.</p><p>I’m not really in that sector of our industry. But while writing the content for that site, it occurred to me that some people might be interested in the tools I use to build sites like this.</p><h3>Content</h3><p>I generally build websites about topics that I’m interested in and, therefore, know a fair bit about. But I probably don’t know everything about these subjects. So I’ll certainly brainstorm some ideas with ChatGPT. And, once I’ve written something, I’ll usually run it through ChatGPT again to proofread it. I consider myself a pretty good writer, but it’s embarrassing how often ChatGPT catches obvious errors.</p><p>I’ve used DALL-E (via ChatGPT) for a lot of image generation. This weekend, I subscribed to <a href="https://www.midjourney.com/">Midjourney</a> because I heard it was better at generating images that include text. So far, that seems to be accurate.</p><h3>Technology</h3><p>I don’t write much raw HTML these days. I’ll generally write in Markdown and use a static site generator to turn that into a real website. This weekend I took the easy route and used <a href="https://jekyllrb.com/">Jekyll</a> with the <a href="https://mmistakes.github.io/minimal-mistakes/">Minimal Mistakes</a> theme. Honestly, I don’t love Jekyll, but it integrates well with GitHub Pages and I can usually get it to do what I want — with a combination of help from ChatGPT and reading the <a href="https://github.com/mmistakes/minimal-mistakes">source code</a>. I’m (slowly) building my own Static Site Generator ( <a href="https://aphra.perlhacks.com/">Aphra</a>) in Perl. But, to be honest, I find that when I use it I can easily get distracted by adding new features rather than getting the site built.</p><p>As I’ve hinted at, if I’m building a static site (and, it’s surprising how often that’s the case), it will be hosted on <a href="https://pages.github.com/">GitHub Pages</a>. It’s not really aimed at end-users, but I know to you use it pretty well now. This weekend, I used the default mechanism that regenerates the site (using Jekyll) on every commit. But if I’m using Aphra or a custom site generator, I know I can use <a href="https://github.com/features/actions">GitHub Actions</a> to build and deploy the site.</p><p>If I’m writing actual HTML, then I’m old-skool enough to still use <a href="https://getbootstrap.com/">Bootstrap</a> for CSS. There’s probably something better out there now, but I haven’t tried to work out what it is (feel free to let me know in the comments).</p><p>For a long while, I used jQuery to add Javascript to my pages — until someone was kind enough to tell me that vanilla Javascript had mostly caught up and jQuery was no longer necessary. I understand Javascript. And with help from <a href="https://github.com/features/copilot">GitHub Copilot</a>, I can usually get it doing what I want pretty quickly.</p><h3>SEO</h3><p>Many years ago, I spent a couple of years working in the SEO group at Zoopla. So, now, I can’t think about building a website without considering SEO.</p><p>I quickly lose interest in the content side of SEO. Figuring out what my keywords are and making sure they’re scattered through the content at the correct frequency, feels like it stifles my writing (maybe that’s an area where ChatGPT can help) but I enjoy Technical SEO. So I like to make sure that all of my pages contain the correct structured data (usually <a href="https://json-ld.org/">JSON-LD</a>). I also like to ensure my sites all have useful <a href="https://ogp.me/">OpenGraph</a> headers. This isn’t really SEO, I guess, but these headers control what people see when they share content on social media. So by making that as attractive as possible (a useful title and description, an attractive image) it encourages more sharing, which increases your site’s visibility and, in around about way, improves SEO.</p><p>I like to register all of my sites with <a href="https://ahrefs.com/">Ahrefs</a> — they will crawl my sites periodically and send me a long list of SEO improvements I can make.</p><h3>Monitoring</h3><p>I add <a href="https://analytics.google.com/">Google Analytics</a> to all of my sites. That’s still the best way to find out how popular your site it and where your traffic is coming from. I used to be quite proficient with Universal Analytics, but I must admit I haven’t fully got the hang of Google Analytics 4 yet-so I’m probably only scratching the surface of what it can do.</p><p>I also register all of my sites with <a href="https://search.google.com/search-console/about">Google Search Console</a>. That shows me information about how my site appears in the Google Search Index. I also link that to Google Analytics — so GA also knows what searches brought people to my sites.</p><h3>Conclusion</h3><p>I think that covers everything-though I’ve probably forgotten something. It might sound like a lot, but once you get into a rhythm, adding these extra touches doesn’t take long. And the additional insights you gain make it well worth the effort.</p><p>If you’ve built a website recently, I’d love to hear about your approach. What tools and techniques do you swear by? Are there any must-have features or best practices I’ve overlooked? Drop a comment below or get in touch-I’m always keen to learn new tricks and refine my process. And if you’re a small business owner looking for guidance on choosing a web developer, check out my new site-it might just save you from a costly mistake!</p><p><em>Originally published at </em><a href="https://blog.dave.org.uk/2025/03/how-i-build-websites-in-2025.html"><em>https://blog.dave.org.uk</em></a><em> on March 16, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a3599b02349" width="1" height="1" alt=""></content>
<author>
<name>Dave Cross</name>
</author>
<id>https://medium.com/p/7a3599b02349</id>
<published>2025-03-16T16:37:52Z</published>
<updated>2025-03-17T09:12:57.817000Z</updated>
<category term="website-building"/>
<category term="tech-tools"/>
<category term="web-development"/>
</entry>
<entry>
<title>The Electric State, 2025 - ★★</title>
<link rel="alternate" href="https://letterboxd.com/realdavorg/film/the-electric-state/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"> <p><img src="https://a.ltrbxd.com/resized/film-poster/6/9/6/7/2/5/696725-the-electric-state-0-600-0-900-crop.jpg?v=0d8eae00e9"/></p> <p>Watched on Sunday March 16, 2025.</p> </div>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>letterboxd-watch-838100525</id>
<published>2025-03-17T10:09:53+13:00</published>
<updated>2025-03-17T10:09:53+13:00</updated>
</entry>
<entry>
<title>How I build websites in 2025</title>
<link rel="alternate" href="https://blog.dave.org.uk/2025/03/how-i-build-websites-in-2025.html" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>I built and launched <a href="https://websiteguide.davecross.co.uk/">a new website</a> yesterday. It wasn’t what I planned to do, but the idea popped into my head while I was drinking my morning coffee on Clapham Common and it seemed to be the kind of thing I could complete in a day – so I decided to put my original plans on hold and built it instead.</p>
<p>The website is aimed at small business owners who think they need a website (or want to update their existing one) but who know next to nothing about web development and can easily fall prey to the many cowboy website companies that seem to dominate the “making websites for small companies” section of our industries. The site is structured around a number of questions you can ask a potential website builder to try and weed out the dodgier elements.</p>
<p>I’m not really in that sector of our industry. But while writing the content for that site, it occurred to me that some people might be interested in the tools I use to build sites like this.</p>
<h2>Content</h2>
<p>I generally build websites about topics that I’m interested in and, therefore, know a fair bit about. But I probably don’t know everything about these subjects. So I’ll certainly brainstorm some ideas with ChatGPT. And, once I’ve written something, I’ll usually run it through ChatGPT again to proofread it. I consider myself a pretty good writer, but it’s embarrassing how often ChatGPT catches obvious errors.</p>
<p>I’ve used DALL-E (via ChatGPT) for a lot of image generation. This weekend, I subscribed to <a href="https://www.midjourney.com/">Midjourney</a> because I heard it was better at generating images that include text. So far, that seems to be accurate.</p>
<h2>Technology</h2>
<p>I don’t write much raw HTML these days. I’ll generally write in Markdown and use a static site generator to turn that into a real website. This weekend I took the easy route and used <a href="https://jekyllrb.com/">Jekyll</a> with the <a href="https://mmistakes.github.io/minimal-mistakes/">Minimal Mistakes</a> theme. Honestly, I don’t love Jekyll, but it integrates well with GitHub Pages and I can usually get it to do what I want – with a combination of help from ChatGPT and reading the <a href="https://github.com/mmistakes/minimal-mistakes">source code</a>. I’m (slowly) building my own Static Site Generator (<a href="https://aphra.perlhacks.com/">Aphra</a>) in Perl. But, to be honest, I find that when I use it I can easily get distracted by adding new features rather than getting the site built.</p>
<p>As I’ve hinted at, if I’m building a static site (and, it’s surprising how often that’s the case), it will be hosted on <a href="https://pages.github.com/">GitHub Pages</a>. It’s not really aimed at end-users, but I know how to use it pretty well now. This weekend, I used the default mechanism that regenerates the site (using Jekyll) on every commit. But if I’m using Aphra or a custom site generator, I know I can use <a href="https://github.com/features/actions">GitHub Actions</a> to build and deploy the site.</p>
<p>If I’m writing actual HTML, then I’m old-skool enough to still use <a href="https://getbootstrap.com/">Bootstrap</a> for CSS. There’s probably something better out there now, but I haven’t tried to work out what it is (feel free to let me know in the comments).</p>
<p>For a long while, I used jQuery to add Javascript to my pages – until someone was kind enough to tell me that vanilla Javascript had mostly caught up and jQuery was no longer necessary. I understand Javascript. And with help from <a href="https://github.com/features/copilot">GitHub Copilot</a>, I can usually get it doing what I want pretty quickly.</p>
<h2>SEO</h2>
<p>Many years ago, I spent a couple of years working in the SEO group at Zoopla. So, now, I can’t think about building a website without considering SEO.</p>
<p>I quickly lose interest in the content side of SEO. Figuring out what my keywords are and making sure they’re scattered through the content at the correct frequency, feels like it stifles my writing (maybe that’s an area where ChatGPT can help) but I enjoy Technical SEO. So I like to make sure that all of my pages contain the correct structured data (usually <a href="https://json-ld.org/">JSON-LD</a>). I also like to ensure my sites all have useful <a href="https://ogp.me/">OpenGraph</a> headers. This isn’t really SEO, I guess, but these headers control what people see when they share content on social media. So by making that as attractive as possible (a useful title and description, an attractive image) it encourages more sharing, which increases your site’s visibility and, in around about way, improves SEO.</p>
<p>I like to register all of my sites with <a href="https://ahrefs.com/">Ahrefs</a> – they will crawl my sites periodically and send me a long list of SEO improvements I can make.</p>
<h2>Monitoring</h2>
<p>I add <a href="https://analytics.google.com/">Google Analytics</a> to all of my sites. That’s still the best way to find out how popular your site it and where your traffic is coming from. I used to be quite proficient with Universal Analytics, but I must admit I haven’t fully got the hang of Google Analytics 4 yet—so I’m probably only scratching the surface of what it can do.</p>
<p>I also register all of my sites with <a href="https://search.google.com/search-console/about">Google Search Console</a>. That shows me information about how my site appears in the Google Search Index. I also link that to Google Analytics – so GA also knows what searches brought people to my sites.</p>
<h2>Conclusion</h2>
<p>I think that covers everything—though I’ve probably forgotten something. It might sound like a lot, but once you get into a rhythm, adding these extra touches doesn’t take long. And the additional insights you gain make it well worth the effort.</p>
<p>If you’ve built a website recently, I’d love to hear about your approach. What tools and techniques do you swear by? Are there any must-have features or best practices I’ve overlooked? Drop a comment below or get in touch—I’m always keen to learn new tricks and refine my process. And if you’re a small business owner looking for guidance on choosing a web developer, check out my new site—it might just save you from a costly mistake!</p>
<p>The post <a href="https://blog.dave.org.uk/2025/03/how-i-build-websites-in-2025.html">How I build websites in 2025</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>I built and launched a new website yesterday. It wasn’t what I planned to do, but the idea popped into my head while I was drinking my morning coffee on Clapham Common and it seemed to be the kind of thing I could complete in a day – so I decided to put my original… <a class="more-link" href="https://blog.dave.org.uk/2025/03/how-i-build-websites-in-2025.html">Continue reading <span class="screen-reader-text">How I build websites in 2025</span></a></p>
<p>The post <a href="https://blog.dave.org.uk/2025/03/how-i-build-websites-in-2025.html">How I build websites in 2025</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://blog.dave.org.uk/?p=3955</id>
<published>2025-03-16T16:36:54Z</published>
<updated>2025-03-16T16:36:54Z</updated>
<category term="web"/>
<category term="tech tools"/>
<category term="web development"/>
<category term="website building"/>
</entry>
<entry>
<title>DAVECROSS has released Perlanet-v3.2.0</title>
<link rel="alternate" href="https://metacpan.org/release/DAVECROSS/Perlanet-v3.2.0" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">A program for creating programs that aggregate web feeds (both</div>
</content>
<author>
<name>DAVECROSS</name>
</author>
<id>https://metacpan.org/release/DAVECROSS/Perlanet-v3.2.0</id>
<published>2025-02-18T12:26:02Z</published>
<updated>2025-02-18T12:26:02Z</updated>
</entry>
<entry>
<title>DAVECROSS has released App-LastStats-0.0.10</title>
<link rel="alternate" href="https://metacpan.org/release/DAVECROSS/App-LastStats-0.0.10" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">A module to fetch and display Last.fm statistics</div>
</content>
<author>
<name>DAVECROSS</name>
</author>
<id>https://metacpan.org/release/DAVECROSS/App-LastStats-0.0.10</id>
<published>2025-02-12T17:19:25Z</published>
<updated>2025-02-12T17:19:25Z</updated>
</entry>
<entry>
<title>Proposed Perl Changes (part 2)</title>
<link rel="alternate" href="https://perlhacks.com/2025/02/proposed-perl-changes-part-2/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>At the end of <a href="https://perlhacks.com/2025/01/proposed-perl-changes/">my last post</a>, we had a structure in place that used <a href="https://github.com/features/actions">GitHub Actions</a> to run a workflow every time a change was committed to the <a href="https://github.com/Perl/PPCs">PPC repository</a>. That workflow would rebuild the website and publish it on <a href="https://pages.github.com/">GitHub Pages</a>.</p>
<p>All that was left for us to do was to write the middle bit – the part that actually takes the contents of the repo and creates the website. This involves writing some Perl.</p>
<p>There are three types of pages that we want to create:</p>
<ul>
<li>The PPCs themselves, which are in Markdown and need to be converted to HTML pages</li>
<li>There are a few other pages that describe the PPC process, also in Markdown, which should be converted to HTML</li>
<li>An index page which should contain links to the other pages. This page should include a table listing various useful details about the PPCs so visitors can quickly find the ones they want more information on</li>
</ul>
<p>I’ll be using the <a href="https://tt2.org/">Template Toolkit</a> to build the site, with a sprinkling of <a href="https://getbootstrap.com/">Bootstrap</a> to make it look half-decent. Because there is a lot of Markdown-to-HTML conversion, I’ll use my <a href="https://metacpan.org/pod/Template::Provider::Pandoc">Template::Provider::Pandoc</a> module which uses <a href="https://pandoc.org/">Pandoc</a> to convert templates into different formats.</p>
<h2>Parsing PPCs and extracting data</h2>
<p>The first thing I did was parse the PPCs themselves, extracting the relevant information. Luckily, each PPC has a “preamble” section containing most of the data we need. I created <a href="https://github.com/davorg/PPCs/blob/main/lib/PPC.pm">a basic class to model PPCs</a> which included <a href="https://github.com/davorg/PPCs/blob/main/lib/PPC.pm#L44">a really hacky parser</a> to extract this information and create a object of the class.</p>
<h2>Building the site</h2>
<p>This class abstracts away a lot of the complexity which means <a href="https://github.com/davorg/PPCs/blob/main/bin/build">the program that actually builds the site</a> is less than eighty lines of code. Let’s look at it in a bit more detail:</p><pre class="urvanov-syntax-highlighter-plain-tag">#!/usr/bin/perl
use v5.38;
use JSON;
use File::Copy;
use Template;
use Template::Provider::Pandoc;
use PPC;</pre><p>There’s nothing unusual in the first few lines. We’re just loading the modules we’re using. Note that <tt>use v5.38</tt> automatically enables <tt>strict</tt> and <tt>warnings</tt>, so we don’t need to load them explicitly.</p><pre class="urvanov-syntax-highlighter-plain-tag">my @ppcs;
my $outpath = './web';
my $template_path = [ './ppcs', './docs', './in', './ttlib' ];</pre><p>Here, we’re just setting up some useful variables. <tt>@ppcs</tt> will contain the PPC objects that we create. One potential clean-up here is to reduce the size of that list of input directories.</p><pre class="urvanov-syntax-highlighter-plain-tag">my $base = shift || $outpath;
$base =~ s/^\.//;
$base = "/$base" if $base !~ m|^/|;
$base = "$base/" if $base !~ m|/$|;</pre><p>This is a slightly messy hack that is used to set a <tt><base></tt> tag in the HTML.</p><pre class="urvanov-syntax-highlighter-plain-tag">my $provider = Template::Provider::Pandoc->new({
INCLUDE_PATH => $template_path,
});
my $tt = Template->new({
LOAD_TEMPLATES => [ $provider ],
INCLUDE_PATH => $template_path,
OUTPUT_PATH => $outpath,
RELATIVE => 1,
WRAPPER => 'page.tt',
VARIABLES => {
base => $base,
}
});</pre><p>Here, we’re setting up our Template Toolkit processor. Some of you may not be familiar with using a Template provider module. These modules change how TT retrieves templates: if the template has an <code>.md</code> extension, then the text is passed though Pandoc to convert it from Markdown to HTML before it’s handed to the template processor. It’s slightly annoying that we need to pass the template include path to both the provider and the main template engine.</p><pre class="urvanov-syntax-highlighter-plain-tag">for (<ppcs/*.md>) {
my $ppc = PPC->new_from_file($_);
push @ppcs, $ppc;
$tt->process($ppc->in_path, {}, $ppc->out_path)
or warn $tt->error;
}</pre><p>This is where we process the actual PPCs. For each PPC we find in the <code>/ppcs</code> directory, we create a PPC object, store that in the <code>@ppcs</code> variable and process the PPC document as a template – converting it from Markdown to HTML and writing it to the <code>/web</code> directory.</p><pre class="urvanov-syntax-highlighter-plain-tag">my $vars = {
ppcs => \@ppcs,
};
$tt->process('index.tt', $vars, 'index.html')
or die $tt->error;</pre><p>Here’s where we process <a href="https://github.com/davorg/PPCs/blob/main/in/index.tt">the <code>index.tt</code> file</a> to generate the <code>index.html</code> for our site. Most of the template is made up of a loop over the <code>@ppcs</code> variable to create a table of the PPCs.</p><pre class="urvanov-syntax-highlighter-plain-tag">for (<docs/*.md>) {
s|^docs/||;
my $out = s|\.md|/index.html|r;
$tt->process($_, {}, $out)
or die $tt->error;
}</pre><p>There are a few other documents in the <code>/docs</code> directory describing the PPC process. So in this step, we iterate across the Markdown files in that directory and convert each of them into HTML. Unfortunately, one of them is the <code>template.md</code> which is intended to be used as the template for new PPCs – so it would be handy if that one wasn’t converted to HTML. That’s something to think about in the future.</p><pre class="urvanov-syntax-highlighter-plain-tag">mkdir 'web/images';
for (<images/*>) {
copy $_, "web/$_";
}
if (-f 'in/style.css') {
copy 'in/style.css', 'web/style.css';
}
if (-f 'CNAME') {
copy 'CNAME', "web/CNAME";
}</pre><p>We’re on the home straight now. And this section is a bit scrappy. You might recall from the last post that we’re building the website in the <code>/web</code> directory. And there are a few other files that need to be copied into that directory in order that they are then deployed to the web server. So we just copy files. You might not know what a <code>CNAME</code> file is – it’s the file that GitHub Pages uses to tell their web server that you’re serving your website from a custom domain name.</p><pre class="urvanov-syntax-highlighter-plain-tag">my $json = JSON->new->pretty->canonical->encode([
map { $_->as_data } @ppcs
]);
open my $json_fh, '>', 'web/ppcs.json' or die $!;
print $json_fh $json;</pre><p>And, finally, we generate a JSON version of our PPCs and write that file to the <code>/web</code> directory. No-one asked for this, but I thought someone might find this data useful. If you use this for something interesting, I’d love to hear about it.</p>
<h2>Other bits and pieces</h2>
<p>A few other bits and pieces to be aware of.</p>
<ul>
<li>I use a <a href="https://github.com/davorg/PPCs/blob/main/ttlib/page.tt">page wrapper</a> to ensure that every generated page has a consistent look and feel</li>
<li>The navigation in the page wrapper is hard-coded to contain links to the pages in <code>/docs</code>. It would make sense to change that so it’s generated from the contents of that directory</li>
<li>I used a Javascript project called <a href="https://github.com/fiduswriter/Simple-DataTables">Simple Datatables</a> to turn the main table into a data table. That means it’s easy to sort, page and filter the data that’s displayed</li>
<li>There’s a basic hack that hides the email addresses when they appear in the main table. But it’s currently not applied to the PPC pages themselves. I’ve idly contemplated writing a TT filter that would be called something like Template::Filter::RemoveEmailAddresses</li>
</ul>
<h2>In conclusion</h2>
<p>But there you are. That’s the system that I knocked together in a few hours a couple of weeks ago. As I mentioned in the last post, the idea was to make the PPC process more transparent to the Perl community outside of the Perl 5 Porters and the Perl Steering Council. I hope it achieves that and, further, I hope it does so in a way that keeps out of people’s way. As soon as someone updates one of the documents in the repository, the workflow will kick in and publish a new version of the website. There are a few grungy corners of the code and there are certainly some improvements that can be made. I’m hoping that once the <a href="https://github.com/Perl/PPCs/pull/67">pull request</a> is merged, people will start proposing new pull requests to add new features.</p><p>The post <a href="https://perlhacks.com/2025/02/proposed-perl-changes-part-2/">Proposed Perl Changes (part 2)</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>At the end of my last post, we had a structure in place that used GitHub Actions to run a workflow every time a change was committed to the PPC repository. That workflow would rebuild the website and publish it on GitHub Pages. All that was left for us to do was to write the […]</p>
<p>The post <a href="https://perlhacks.com/2025/02/proposed-perl-changes-part-2/">Proposed Perl Changes (part 2)</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://perlhacks.com/?p=2287</id>
<published>2025-02-02T17:18:59Z</published>
<updated>2025-02-02T17:18:59Z</updated>
<category term="Web"/>
<category term="perl 5 porters"/>
<category term="perl steering council"/>
<category term="ppcs"/>
<category term="proposed perl changes"/>
<category term="template toolkit"/>
</entry>
<entry>
<title>Proposed Perl Changes (part 2)</title>
<link rel="alternate" href="https://dev.to/davorg/proposed-perl-changes-part-2-3dlk" type="text/html"/>
<content type="html"><p>At the end of <a href="https://dev.to/davorg/proposed-perl-changes-236f">my last post</a>, we had a structure in place that used <a href="https://github.com/features/actions" rel="noopener noreferrer">GitHub Actions</a> to run a workflow every time a change was committed to the <a href="https://github.com/Perl/PPCs" rel="noopener noreferrer">PPC repository</a>. That workflow would rebuild the website and publish it on <a href="https://pages.github.com/" rel="noopener noreferrer">GitHub Pages</a>.</p>
<p>All that was left for us to do was to write the middle bit – the part that actually takes the contents of the repo and creates the website. This involves writing some Perl.</p>
<p>There are three types of pages that we want to create:</p>
<ul>
<li>The PPCs themselves, which are in Markdown and need to be converted to HTML pages</li>
<li>There are a few other pages that describe the PPC process, also in Markdown, which should be converted to HTML</li>
<li>An index page which should contain links to the other pages. This page should include a table listing various useful details about the PPCs so visitors can quickly find the ones they want more information on</li>
</ul>
<p>I’ll be using the <a href="https://tt2.org/" rel="noopener noreferrer">Template Toolkit</a> to build the site, with a sprinkling of <a href="https://getbootstrap.com/" rel="noopener noreferrer">Bootstrap</a> to make it look half-decent. Because there is a lot of Markdown-to-HTML conversion, I’ll use my <a href="https://metacpan.org/pod/Template::Provider::Pandoc" rel="noopener noreferrer">Template::Provider::Pandoc</a> module which uses <a href="https://pandoc.org/" rel="noopener noreferrer">Pandoc</a> to convert templates into different formats.</p>
<h2>
Parsing PPCs and extracting data
</h2>
<p>The first thing I did was parse the PPCs themselves, extracting the relevant information. Luckily, each PPC has a “preamble” section containing most of the data we need. I created <a href="https://github.com/davorg/PPCs/blob/main/lib/PPC.pm" rel="noopener noreferrer">a basic class to model PPCs</a> which included <a href="https://github.com/davorg/PPCs/blob/main/lib/PPC.pm#L44" rel="noopener noreferrer">a really hacky parser</a> to extract this information and create a object of the class.</p>
<h2>
Building the site
</h2>
<p>This class abstracts away a lot of the complexity which means <a href="https://github.com/davorg/PPCs/blob/main/bin/build" rel="noopener noreferrer">the program that actually builds the site</a> is less than eighty lines of code. Let’s look at it in a bit more detail:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>#!/usr/bin/perl
use v5.38;
use JSON;
use File::Copy;
use Template;
use Template::Provider::Pandoc;
use PPC;
</code></pre>
</div>
<p>There’s nothing unusual in the first few lines. We’re just loading the modules we’re using. Note that use v5.38 automatically enables strict and warnings, so we don’t need to load them explicitly.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>my @ppcs;
my $outpath = './web';
my $template_path = ['./ppcs', './docs', './in', './ttlib'];
</code></pre>
</div>
<p>Here, we’re just setting up some useful variables. @ppcs will contain the PPC objects that we create. One potential clean-up here is to reduce the size of that list of input directories.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>my $base = shift || $outpath;
$base =~ s/^\.//;
$base = "/$base" if $base !~ m|^/|;
$base = "$base/" if $base !~ m|/$|;
</code></pre>
</div>
<p>This is a slightly messy hack that is used to set a &lt;base&gt; tag in the HTML.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>my $provider = Template::Provider::Pandoc-&gt;new({
INCLUDE_PATH =&gt; $template_path,
});
my $tt = Template-&gt;new({
LOAD_TEMPLATES =&gt; [$provider],
INCLUDE_PATH =&gt; $template_path,
OUTPUT_PATH =&gt; $outpath,
RELATIVE =&gt; 1,
WRAPPER =&gt; 'page.tt',
VARIABLES =&gt; {
base =&gt; $base,
}
});
</code></pre>
</div>
<p>Here, we’re setting up our Template Toolkit processor. Some of you may not be familiar with using a Template provider module. These modules change how TT retrieves templates: if the template has an <code>.md</code> extension, then the text is passed though Pandoc to convert it from Markdown to HTML before it’s handed to the template processor. It’s slightly annoying that we need to pass the template include path to both the provider and the main template engine.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>for (&lt;ppcs/*.md&gt;) {
my $ppc = PPC-&gt;new_from_file($_);
push @ppcs, $ppc;
$tt-&gt;process($ppc-&gt;in_path, {}, $ppc-&gt;out_path)
or warn $tt-&gt;error;
}
</code></pre>
</div>
<p>This is where we process the actual PPCs. For each PPC we find in the <code>/ppcs</code> directory, we create a PPC object, store that in the <code>@ppcs</code> variable and process the PPC document as a template – converting it from Markdown to HTML and writing it to the <code>/web</code> directory.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>my $vars = {
ppcs =&gt; \@ppcs,
};
$tt-&gt;process('index.tt', $vars, 'index.html')
or die $tt-&gt;error;
</code></pre>
</div>
<p>Here’s where we process <a href="https://github.com/davorg/PPCs/blob/main/in/index.tt" rel="noopener noreferrer">the <code>index.tt</code> file</a> to generate the <code>index.html</code> for our site. Most of the template is made up of a loop over the <code>@ppcs</code> variable to create a table of the PPCs.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>for (&lt;docs/*.md&gt;) {
s|^docs/||;
my $out = s|\.md|/index.html|r;
$tt-&gt;process($_, {}, $out)
or die $tt-&gt;error;
}
</code></pre>
</div>
<p>There are a few other documents in the <code>/docs</code> directory describing the PPC process. So in this step, we iterate across the Markdown files in that directory and convert each of them into HTML. Unfortunately, one of them is the <code>template.md</code> which is intended to be used as the template for new PPCs – so it would be handy if that one wasn’t converted to HTML. That’s something to think about in the future.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>mkdir 'web/images';
for (&lt;images/*&gt;) {
copy $_, "web/$_";
}
if (-f 'in/style.css') {
copy 'in/style.css', 'web/style.css';
}
if (-f 'CNAME') {
copy 'CNAME', "web/CNAME";
}
</code></pre>
</div>
<p>We’re on the home straight now. And this section is a bit scrappy. You might recall from the last post that we’re building the website in the <code>/web</code> directory. And there are a few other files that need to be copied into that directory in order that they are then deployed to the web server. So we just copy files. You might not know what a <code>CNAME</code> file is – it’s the file that GitHub Pages uses to tell their web server that you’re serving your website from a custom domain name.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>my $json = JSON-&gt;new-&gt;pretty-&gt;canonical-&gt;encode([
map { $_-&gt;as_data } @ppcs
]);
open my $json_fh, '&gt;', 'web/ppcs.json' or die $!;
print $json_fh $json;
</code></pre>
</div>
<p>And, finally, we generate a JSON version of our PPCs and write that file to the <code>/web</code> directory. No-one asked for this, but I thought someone might find this data useful. If you use this for something interesting, I’d love to hear about it.</p>
<h2>
Other bits and pieces
</h2>
<p>A few other bits and pieces to be aware of.</p>
<ul>
<li>I use a <a href="https://github.com/davorg/PPCs/blob/main/ttlib/page.tt" rel="noopener noreferrer">page wrapper</a> to ensure that every generated page has a consistent look and feel</li>
<li>The navigation in the page wrapper is hard-coded to contain links to the pages in <code>/docs</code>. It would make sense to change that so it’s generated from the contents of that directory</li>
<li>I used a Javascript project called <a href="https://github.com/fiduswriter/Simple-DataTables" rel="noopener noreferrer">Simple Datatables</a> to turn the main table into a data table. That means it’s easy to sort, page and filter the data that’s displayed</li>
<li>There’s a basic hack that hides the email addresses when they appear in the main table. But it’s currently not applied to the PPC pages themselves. I’ve idly contemplated writing a TT filter that would be called something like Template::Filter::RemoveEmailAddresses</li>
</ul>
<h2>
In conclusion
</h2>
<p>But there you are. That’s the system that I knocked together in a few hours a couple of weeks ago. As I mentioned in the last post, the idea was to make the PPC process more transparent to the Perl community outside of the Perl 5 Porters and the Perl Steering Council. I hope it achieves that and, further, I hope it does so in a way that keeps out of people’s way. As soon as someone updates one of the documents in the repository, the workflow will kick in and publish a new version of the website. There are a few grungy corners of the code and there are certainly some improvements that can be made. I’m hoping that once the <a href="https://github.com/Perl/PPCs/pull/67" rel="noopener noreferrer">pull request</a> is merged, people will start proposing new pull requests to add new features.</p>
<p>The post <a href="https://perlhacks.com/2025/02/proposed-perl-changes-part-2/" rel="noopener noreferrer">Proposed Perl Changes (part 2)</a> appeared first on <a href="https://perlhacks.com" rel="noopener noreferrer">Perl Hacks</a>.</p>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>https://dev.to/davorg/proposed-perl-changes-part-2-3dlk</id>
<published>2025-02-02T17:18:59Z</published>
<updated>2025-02-02T17:18:59Z</updated>
<category term="web"/>
<category term="perl5porters"/>
<category term="perlsteeringcouncil"/>
<category term="ppcs"/>
</entry>
<entry>
<title>Proposed Perl Changes</title>
<link rel="alternate" href="https://perlhacks.com/2025/01/proposed-perl-changes/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><blockquote><p>Many thanks to Dave Cross for providing an initial implementation of a PPC index page.</p>
<p style="text-align: right;">– <a href="https://blogs.perl.org/users/psc/2025/01/this-week-in-psc-177-2025-01-23.html">Perl Steering Council meeting #177</a></p>
</blockquote>
<p>Maybe I should explain that in a little more detail. There’s a lot of detail, so it will take a couple of blog posts.</p>
<p>About two weeks ago, I got a message on Slack from Phillippe Bruhat, a member of the Perl Steering Council. He asked if I would have time to look into building a simple static site based on <a href="https://github.com/Perl/PPCs">the GitHub repo that stores the PPCs</a> that are driving a lot of Perl’s development. The PSC thought that reading these important documents on a GitHub page wasn’t a great user experience and that turning it into a website might lead to more people reading the proposals and, hence, getting involved in discussions about them.</p>
<p>I guess they had thought of me as I’ve written a bit about GitHub Pages and GitHub Actions over the last few years and these were exactly the technologies that would be useful in this project. In fact, I have already created a website that fulfills a similar role for the <a href="https://psc.perlhacks.com/">PSC meeting minutes</a> – and I know they know about that site because they’ve been <a href="https://github.com/PerlToolsTeam/psc/commit/657ec9c91da6932fbc0c08873070cf0a1e68b274">maintaining it themselves</a> for several months.</p>
<p>I was about to start working with a new client, but I had a spare day, so I said I’d be happy to help. And the following day, I set to work.</p>
<p><strong>Reviewing the situation</strong></p>
<p>I started by looking at what was in the repo.</p>
<ul>
<li><a href="https://github.com/Perl/PPCs/blob/main/README.md">A README file</a></li>
<li><a href="https://github.com/Perl/PPCs/tree/main/ppcs">The PPCs themselves</a></li>
<li><a href="https://github.com/Perl/PPCs/tree/main/docs">A few other pages of documentation</a></li>
</ul>
<p>All of these documents were in Markdown format. The PPCs seemed to have a pretty standardised format.</p>
<p><strong>Setting a target</strong></p>
<p>Next, I listed what would be essential parts of the new site.</p>
<ul>
<li>An index page containing a list of the PPCs – which links to a page for each of the PPCs</li>
<li>The PPCs, converted to HTML</li>
<li>The other documents, also converted to HTML</li>
<li>The site should be automatically rebuilt whenever a change is made to any of the input files</li>
</ul>
<p>This is exactly the kind of use case that a combination of <a href="https://pages.github.com/">GitHub Pages</a> and <a href="https://github.com/features/actions">GitHub Actions</a> is perfect for. Perhaps it’s worth briefly describing what those two GitHub features are.</p>
<p><strong>Introducing GitHub Pages</strong></p>
<p>GitHub Pages is a way to run a website from a GitHub repo. The feature was initially introduced to make it easy to run a project website alongside your GitHub repo – with the files that make up the website being stored in the same repo as the rest of your code. But, as often happens with useful features, people have been using the feature for all sorts of websites. The only real restriction is that it only supports static sites – you cannot use GitHub’s servers to run any kind of back-end processing.</p>
<p>The simplest way to run a GitHub Pages website is to construct it manually, put the HTML, CSS and other files into a directory inside your repo called <tt>/docs</tt>, commit those files and go to the “Settings -> Pages” settings for your repo to turn on Pages for the repo. Within minutes your site will appear at the address <tt>USERNAME.github.repo/REPONAME</tt>. Almost no-one uses that approach.</p>
<p>The most common approach is to use a <a href="https://en.wikipedia.org/wiki/Static_site_generator">static site builder</a> to build your website. The most popular is <a href="https://jekyllrb.com/">Jekyll</a> – which is baked into the GitHub Pages build/deploy cycle. You edit Markdown files and some config files. Then each time you commit a change to the repo, GitHub will automatically run Jekyll over your input files, generate your website and deploy that to its web servers. We’re not going to do that.</p>
<p>We’ll use the approach I’ve used for many GitHub Pages sites. We’ll use GitHub Actions to do the equivalent of the “running Jekyll over your input files to generate your website” step. This gives us more flexibility and, in particular, allows us to generate the website using Perl.</p>
<p><strong>Introducing GitHub Actions</strong></p>
<p>GitHub Actions is another feature that was introduced with one use case in mind but which has expanded to be used for an incredible range of ideas. It was originally intended for CI/CD – a replacement for systems like <a href="https://www.jenkins.io/">Jenkins</a> or <a href="https://www.travis-ci.com/">Travis CI</a> – but that only accounts for about half of the things I use it for.</p>
<p>A GitHub Actions run starts in response to various triggers. You can then run pretty much any code you want on a virtual machine, generating useful reports, updating databases, releasing code or (as in this case) generating a website.</p>
<p>GitHub Actions is a huge subject (luckily, <a href="https://actions.davecross.co.uk/">there’s a book</a>!) We’re only going to touch on one particular way of using it. Our workflow will be:</p>
<ul>
<li>Wait for a commit to the repo</li>
<li>Then regenerate the website</li>
<li>And publish it to the GitHub Pages web servers</li>
</ul>
<p><strong>Making a start</strong></p>
<p>Let’s make a start on creating a GitHub Actions workflow to deal with this. Workflows are defined in YAML files that live in the <tt>.github/workflows</tt> directory in our repo. So I created the relevant directories and a file called <tt>buildsite.yml</tt>.</p>
<p>There will be various sections in this file. We’ll start simply by defining a name for this workflow:</p><pre class="urvanov-syntax-highlighter-plain-tag">name: Generate website</pre><p>The next section tells GitHub when to trigger this workflow. We want to run it when a commit is pushed to the “main” branch. We’ll also add the “workflow_dispatch” trigger, which allows us to manually trigger the workflow – it adds a button to the workflow’s page inside the repo:</p><pre class="urvanov-syntax-highlighter-plain-tag">on:
push:
branches: 'main'
workflow_dispatch:</pre><p>The main part of the workflow definition is the next section – the one that defines the jobs and the individual steps within them. The start of that section looks like this:</p><pre class="urvanov-syntax-highlighter-plain-tag">jobs:
build:
runs-on: ubuntu-latest
container: perl:latest
steps:
- name: Perl version
run: perl -v
- name: Checkout
uses: actions/checkout@v4</pre><p>The “build” there is the name of the first job. You can name jobs anything you like – well anything that can be the name of a valid YAML key. We then define the working environment for this job – we’re using a Ubuntu virtual machine and on that, we’re going to download and run the latest Perl container from the Docker Hub.</p>
<p>The first step isn’t strictly necessary, but I like to have a simple but useful step to ensure that everything is working. This one just prints the Perl version to the workflow log. The second step is one you’ll see in just about every GitHub Actions workflow. It uses a standard, prepackaged library (called an “action”) to clone the repo to the container.</p>
<p>The rest of this job will make much more sense once I’ve described the actual build process in my next post. But here it is for completeness:</p><pre class="urvanov-syntax-highlighter-plain-tag">- name: Install pandoc and cpanm
run: apt-get update && apt-get install -y pandoc cpanminus
- name: Install modules
run: |
cpanm --installdeps --notest .
- name: Get repo name into environment
run: |
echo "REPO_NAME=${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}" >> $GITHUB_ENV
- name: Create pages
env:
PERL5LIB: lib
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p web
perl bin/build $REPO_NAME
- name: Update pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: web/</pre><p>Most of the magic (and all of the Perl – for those of you who were wondering) happens in the “Create pages” step. If you can’t wait until the next post, you can find <a href="https://github.com/davorg/PPCs/blob/main/bin/build">the build program</a> and <a href="https://github.com/davorg/PPCs/blob/main/lib/PPC.pm">the class it uses</a> in the repo.</p>
<p>But for now, let’s skim over that and look at the final step in this job. That uses another pre-packaged action to build an artifact (which is just a tarball) which the next job will deploy to the GitHub Pages web server. You can pass it the name of a directory and it will build the artifact from that directory. So you can see that we’ll be building the web pages in the <tt>web/</tt> directory.</p>
<p>The second (and final) job is the one that actually carries out the deployment. It looks like this:</p><pre class="urvanov-syntax-highlighter-plain-tag">deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4</pre><p>It uses another standard, pre-packaged action and most of the code here is configuration. One interesting line is the “need” key. That tells the workflow engine that the “build” job needs to have completed successfully before this job can be run.</p>
<p>But once it has run, the contents of our <tt>web/</tt> directory will be on the GitHub Pages web server and available for our adoring public to read.</p>
<p>All that is left is for us to write the steps that will generate the website. And that is what we’ll be covering in my next post.</p>
<p>Oh, and if you want to preview the site itself, it’s at <a href="https://davorg.dev/PPCs/">https://davorg.dev/PPCs/</a> and there’s <a href="https://github.com/Perl/PPCs/pull/67">an active pull request</a> to merge it into the main repo.</p><p>The post <a href="https://perlhacks.com/2025/01/proposed-perl-changes/">Proposed Perl Changes</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>Many thanks to Dave Cross for providing an initial implementation of a PPC index page. – Perl Steering Council meeting #177 Maybe I should explain that in a little more detail. There’s a lot of detail, so it will take a couple of blog posts. About two weeks ago, I got a message on Slack […]</p>
<p>The post <a href="https://perlhacks.com/2025/01/proposed-perl-changes/">Proposed Perl Changes</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://perlhacks.com/?p=2279</id>
<published>2025-01-26T16:36:17Z</published>
<updated>2025-01-26T16:36:17Z</updated>
<category term="Web"/>
<category term="github actions"/>
<category term="github pages"/>
<category term="perl 5 porters"/>
<category term="perl steering council"/>
<category term="ppcs"/>
<category term="proposed perl changes"/>
</entry>
<entry>
<title>Proposed Perl Changes</title>
<link rel="alternate" href="https://dev.to/davorg/proposed-perl-changes-236f" type="text/html"/>
<content type="html"><blockquote>
<p>Many thanks to Dave Cross for providing an initial implementation of a PPC index page.</p>
<p>– <a href="https://blogs.perl.org/users/psc/2025/01/this-week-in-psc-177-2025-01-23.html" rel="noopener noreferrer">Perl Steering Council meeting #177</a></p>
</blockquote>
<p>Maybe I should explain that in a little more detail. There’s a lot of detail, so it will take a couple of blog posts.</p>
<p>About two weeks ago, I got a message on Slack from Phillippe Bruhat, a member of the Perl Steering Council. He asked if I would have time to look into building a simple static site based on <a href="https://github.com/Perl/PPCs" rel="noopener noreferrer">the GitHub repo that stores the PPCs</a> that are driving a lot of Perl’s development. The PSC thought that reading these important documents on a GitHub page wasn’t a great user experience and that turning it into a website might lead to more people reading the proposals and, hence, getting involved in discussions about them.</p>
<p>I guess they had thought of me as I’ve written a bit about GitHub Pages and GitHub Actions over the last few years and these were exactly the technologies that would be useful in this project. In fact, I have already created a website that fulfills a similar role for the <a href="https://psc.perlhacks.com/" rel="noopener noreferrer">PSC meeting minutes</a> – and I know they know about that site because they’ve been <a href="https://github.com/PerlToolsTeam/psc/commit/657ec9c91da6932fbc0c08873070cf0a1e68b274" rel="noopener noreferrer">maintaining it themselves</a> for several months.</p>
<p>I was about to start working with a new client, but I had a spare day, so I said I’d be happy to help. And the following day, I set to work.</p>
<p><strong>Reviewing the situation</strong></p>
<p>I started by looking at what was in the repo.</p>
<ul>
<li><a href="https://github.com/Perl/PPCs/blob/main/README.md" rel="noopener noreferrer">A README file</a></li>
<li><a href="https://github.com/Perl/PPCs/tree/main/ppcs" rel="noopener noreferrer">The PPCs themselves</a></li>
<li><a href="https://github.com/Perl/PPCs/tree/main/docs" rel="noopener noreferrer">A few other pages of documentation</a></li>
</ul>
<p>All of these documents were in Markdown format. The PPCs seemed to have a pretty standardised format.</p>
<p><strong>Setting a target</strong></p>
<p>Next, I listed what would be essential parts of the new site.</p>
<ul>
<li>An index page containing a list of the PPCs – which links to a page for each of the PPCs</li>
<li>The PPCs, converted to HTML</li>
<li>The other documents, also converted to HTML</li>
<li>The site should be automatically rebuilt whenever a change is made to any of the input files</li>
</ul>
<p>This is exactly the kind of use case that a combination of <a href="https://pages.github.com/" rel="noopener noreferrer">GitHub Pages</a> and <a href="https://github.com/features/actions" rel="noopener noreferrer">GitHub Actions</a> is perfect for. Perhaps it’s worth briefly describing what those two GitHub features are.</p>
<p><strong>Introducing GitHub Pages</strong></p>
<p>GitHub Pages is a way to run a website from a GitHub repo. The feature was initially introduced to make it easy to run a project website alongside your GitHub repo – with the files that make up the website being stored in the same repo as the rest of your code. But, as often happens with useful features, people have been using the feature for all sorts of websites. The only real restriction is that it only supports static sites – you cannot use GitHub’s servers to run any kind of back-end processing.</p>
<p>The simplest way to run a GitHub Pages website is to construct it manually, put the HTML, CSS and other files into a directory inside your repo called /docs, commit those files and go to the “Settings -&gt; Pages” settings for your repo to turn on Pages for the repo. Within minutes your site will appear at the address USERNAME.github.repo/REPONAME. Almost no-one uses that approach.</p>
<p>The most common approach is to use a <a href="https://en.wikipedia.org/wiki/Static_site_generator" rel="noopener noreferrer">static site builder</a> to build your website. The most popular is <a href="https://jekyllrb.com/" rel="noopener noreferrer">Jekyll</a> – which is baked into the GitHub Pages build/deploy cycle. You edit Markdown files and some config files. Then each time you commit a change to the repo, GitHub will automatically run Jekyll over your input files, generate your website and deploy that to its web servers. We’re not going to do that.</p>
<p>We’ll use the approach I’ve used for many GitHub Pages sites. We’ll use GitHub Actions to do the equivalent of the “running Jekyll over your input files to generate your website” step. This gives us more flexibility and, in particular, allows us to generate the website using Perl.</p>
<p><strong>Introducing GitHub Actions</strong></p>
<p>GitHub Actions is another feature that was introduced with one use case in mind but which has expanded to be used for an incredible range of ideas. It was originally intended for CI/CD – a replacement for systems like <a href="https://www.jenkins.io/" rel="noopener noreferrer">Jenkins</a> or <a href="https://www.travis-ci.com/" rel="noopener noreferrer">Travis CI</a> – but that only accounts for about half of the things I use it for.</p>
<p>A GitHub Actions run starts in response to various triggers. You can then run pretty much any code you want on a virtual machine, generating useful reports, updating databases, releasing code or (as in this case) generating a website.</p>
<p>GitHub Actions is a huge subject (luckily, <a href="https://actions.davecross.co.uk/" rel="noopener noreferrer">there’s a book</a>!) We’re only going to touch on one particular way of using it. Our workflow will be:</p>
<ul>
<li>Wait for a commit to the repo</li>
<li>Then regenerate the website</li>
<li>And publish it to the GitHub Pages web servers</li>
</ul>
<p><strong>Making a start</strong></p>
<p>Let’s make a start on creating a GitHub Actions workflow to deal with this. Workflows are defined in YAML files that live in the .github/workflows directory in our repo. So I created the relevant directories and a file called buildsite.yml.</p>
<p>There will be various sections in this file. We’ll start simply by defining a name for this workflow:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>name: Generate website
</code></pre>
</div>
<p>The next section tells GitHub when to trigger this workflow. We want to run it when a commit is pushed to the “main” branch. We’ll also add the “workflow_dispatch” trigger, which allows us to manually trigger the workflow – it adds a button to the workflow’s page inside the repo:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>on:
push:
branches: 'main'
workflow_dispatch:
</code></pre>
</div>
<p>The main part of the workflow definition is the next section – the one that defines the jobs and the individual steps within them. The start of that section looks like this:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>jobs:
build:
runs-on: ubuntu-latest
container: perl:latest
steps:
- name: Perl version
run: perl -v
- name: Checkout
uses: actions/checkout@v4
</code></pre>
</div>
<p>The “build” there is the name of the first job. You can name jobs anything you like – well anything that can be the name of a valid YAML key. We then define the working environment for this job – we’re using a Ubuntu virtual machine and on that, we’re going to download and run the latest Perl container from the Docker Hub.</p>
<p>The first step isn’t strictly necessary, but I like to have a simple but useful step to ensure that everything is working. This one just prints the Perl version to the workflow log. The second step is one you’ll see in just about every GitHub Actions workflow. It uses a standard, prepackaged library (called an “action”) to clone the repo to the container.</p>
<p>The rest of this job will make much more sense once I’ve described the actual build process in my next post. But here it is for completeness:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>- name: Install pandoc and cpanm
run: apt-get update &amp;&amp; apt-get install -y pandoc cpanminus
- name: Install modules
run: |
cpanm --installdeps --notest .
- name: Get repo name into environment
run: |
echo "REPO_NAME=${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}" &gt;&gt; $GITHUB_ENV
- name: Create pages
env:
PERL5LIB: lib
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p web
perl bin/build $REPO_NAME
- name: Update pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: web/
</code></pre>
</div>
<p>Most of the magic (and all of the Perl – for those of you who were wondering) happens in the “Create pages” step. If you can’t wait until the next post, you can find <a href="https://github.com/davorg/PPCs/blob/main/bin/build" rel="noopener noreferrer">the build program</a> and <a href="https://github.com/davorg/PPCs/blob/main/lib/PPC.pm" rel="noopener noreferrer">the class it uses</a> in the repo.</p>
<p>But for now, let’s skim over that and look at the final step in this job. That uses another pre-packaged action to build an artifact (which is just a tarball) which the next job will deploy to the GitHub Pages web server. You can pass it the name of a directory and it will build the artifact from that directory. So you can see that we’ll be building the web pages in the web/ directory.</p>
<p>The second (and final) job is the one that actually carries out the deployment. It looks like this:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
</code></pre>
</div>
<p>It uses another standard, pre-packaged action and most of the code here is configuration. One interesting line is the “need” key. That tells the workflow engine that the “build” job needs to have completed successfully before this job can be run.</p>
<p>But once it has run, the contents of our web/ directory will be on the GitHub Pages web server and available for our adoring public to read.</p>
<p>All that is left is for us to write the steps that will generate the website. And that is what we’ll be covering in my next post.</p>
<p>Oh, and if you want to preview the site itself, it’s at <a href="https://davorg.dev/PPCs/" rel="noopener noreferrer">https://davorg.dev/PPCs/</a> and there’s <a href="https://github.com/Perl/PPCs/pull/67" rel="noopener noreferrer">an active pull request</a> to merge it into the main repo.</p>
<p>The post <a href="https://perlhacks.com/2025/01/proposed-perl-changes/" rel="noopener noreferrer">Proposed Perl Changes</a> appeared first on <a href="https://perlhacks.com" rel="noopener noreferrer">Perl Hacks</a>.</p>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>https://dev.to/davorg/proposed-perl-changes-236f</id>
<published>2025-01-26T16:36:17Z</published>
<updated>2025-01-26T16:36:17Z</updated>
<category term="githubactions"/>
<category term="githubpages"/>
<category term="ppc"/>
<category term="perlsteeringcouncil"/>
</entry>
<entry>
<title>Adding structured data with Perl</title>
<link rel="alternate" href="https://perlhacks.com/2025/01/adding-structured-data-with-perl/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>If you have a website, then it’s very likely that you would like as many people as possible to see it. One of the best tools for achieving that is to ensure that your site is returned close to the top of as many search results pages as possible.</p>
<p>In order to do that, you really have two targets:</p>
<ol>
<li>Ensure the search engines know what your website is about</li>
<li>Ensure the search engines think your website is an important source of information on the topics it covers</li>
</ol>
<p>The second item on the list is mostly about getting other websites on the same topic to link to you – and it is outside the scope of this post. In this post, I want to talk about a good way to ensure search engines know what your site is about.</p>
<p>Of course, the search engines have invested a lot of money in working that out for themselves. They scan the text on your site and processes it to extract the meaning. But there are various ways you can make it easier for them. And they like sites that make their lives easier.</p>
<p>One of the most powerful ways to achieve this is to add structured data to your site. That means adding extra mark-up to your web pages which explains what the page is about. On the <a href="https://schema.org/">Schema.org website</a>, you can find dozens of “things” the you can describe in structured data – for example, <a href="https://schema.org/Person">here is the definition of the Person entity</a>. Each entity has a number of (largely optional) properties which can be included in structured data about an object of that type. Each property can be a string or another structured data entity. Additionally, entities are arranged in a hierarchy, so one entity can be based on another, more generic, entity. A Person, for example, inherits all of the properties of <a href="https://schema.org/Thing">a Thing</a> (which is the most generic type of entity). This is a lot like inheritance in Object-Oriented Programming.</p>
<p>Perhaps most usefully, the definition of each entity type ends with some examples of how structured data about an entity of that type could be added to an HTML document. The examples cover three formats:</p>
<ol>
<li>Microdata. This involved adding a lot of new attributes to various elements in the HTML (you might also add more <tt><span></tt> and <tt><div></tt> elements in order to have a place to put these attributes. These attributes have names like “itemscope”, “itemtype” and “itemprop”.</li>
<li>RDFa. This looks a lot like microdata, but the attributes have different names – “vocab”, “typeof” and “property”.</li>
<li>JSON-LD. This is different from the other two formats. It is not added to the existing mark-up, but it is a separate element which contains JSON defining the entities on the page.</li>
</ol>
<p>Because it is completely separate to the existing mark-up, I find JSON-LD to be easier to work with. And for that reason, I wrote <a href="https://metacpan.org/pod/MooX::Role::JSON_LD">MooX::Role::JSON_LD</a> which makes it easy to generate JSON-LD for classes that are based on Moo or Moose. Let’s look at a simple example of using it to add Person JSON-LD to a web page of a person. We’ll assume we already have a Person class that we use to provide the data on a web page about a person. It has attributes <tt>first_name</tt>, <tt>last_name</tt> and <tt>birth_date</tt>.</p>
<p>We start with some configuration. We load the role and define two subroutines which tell us which entity type we’re working with and which attributes we want to include in the JSON-LD. The code might look like this:</p><pre class="urvanov-syntax-highlighter-plain-tag">with 'MooX::Role::JSON_LD';
sub json_ld_type { 'Person' };
sub json_ld_fields { [ qw[ first_name last_name birth_date ] ] };</pre><p>We can now use our Person class like this:</p><pre class="urvanov-syntax-highlighter-plain-tag">use Person;
my $bowie = Person->new({
first_name => 'David',
last_name => 'Bowie',
birth_date => '1947-01-08',
});
say $bowie->json_ld;</pre><p>This produces the following output:</p><pre class="urvanov-syntax-highlighter-plain-tag">{
"@context" : "http://schema.org/",
"@type" : "Person",
"first_name" : "David",
"last_name" : "Bowie",
"birth_date" : "1947-01-08"
}</pre><p>This looks pretty good. But, sadly, it’s not valid JSON-LD. In the Schema.org Person entity, the relevant properties are called “givenName”, “familyName” and “birthDate”. Obviously, if we were designing our class from scratch, we could create attributes with those names. But often we’re adding features to existing systems and we don’t have that luxury. So the role allows us to change the names of attributes before they appear in the JSON-LD. We need to look more closely at the <tt>json_ld_fields()</tt> subroutine. It defines the names of the attributes that will appear in the JSON-LD. It returns an array reference and each element of the array contains a string which is the name of an attribute. But one of these elements can also contain a hash reference. In that case, the key of the hash is the name of the property we want to appear in the JSON-LD and the value is the name of the matching attribute in our class. So we can redefine our subroutine to look like this:</p><pre class="urvanov-syntax-highlighter-plain-tag">sub json_ld_fields {
[
{ givenName => 'first_name' },
{ familyName => 'last_name' },
{ birthDate => 'birth_date' },
]
}</pre><p>And now we get the following JSON-LD:</p><pre class="urvanov-syntax-highlighter-plain-tag">{
"@context" : "http://schema.org/",
"@type" : "Person",
"givenName" : "David",
"familyName" : "Bowie",
"birthDate" : "1947-01-08"
}</pre><p>Which is now valid.</p>
<p>There’s one other trick we can use. We’ve seen the Schema.org Person entity has a “firstName” and “lastName” properties which map directly onto our “first_name” and “last_name” attributes. But the Person entity inherits from the Thing entity and that has a property called “name” which might be more useful for us. So perhaps we want to combine the “first_name” and “last_name” attributes into the single JSON-LD property. We can do that by changing our <tt>json_ld_fields()</tt> subroutine again:</p><pre class="urvanov-syntax-highlighter-plain-tag">sub json_ld_fields {
[
{ birthDate => 'birth_date'},
{ name => sub { $_[0]->first_name . ' ' . $_[0]->last_name} },
]
}</pre><p>In this version, we’ve added the “name” as the key of a hashref and the value is an anonymous subroutine that is passed the object and returns the name by concatenating the first and last names separated by a space. We now get this JSON-LD:</p><pre class="urvanov-syntax-highlighter-plain-tag">{
"@context" : "http://schema.org/",
"@type" : "Person",
"birthDate" : "1947-01-08"
"name" : "David Bowie",
}</pre><p>Using this approach, allows us to build arbitrary JSON-LD properties from a combination of attributes from our object’s attributes.</p>
<p>Let’s look at a real-world example (and the reason why I was reminded of this module’s existence earlier this week.</p>
<p>I have a website called <a href="https://readabooker.com/">ReadABooker</a>. It’s about the books that compete for the Booker Prize. Each year, a shortlist of six novels is announced and, later in the year, a winner is chosen. The winning author gets £50,000 and all of the shortlisted novels get massively increased sales. It’s a big deal in British literary circles. I created the website a few years ago. It lists all of the events (the competition goes back to 1969) and for each year, it lists all of the <a href="https://readabooker.com/year/2024/">shortlisted novels</a>. You can also see all of <a href="https://readabooker.com/author/">the authors who have been shortlisted </a>and <a href="https://readabooker.com/author/margaret-atwood/">which of their shortlisted novels</a> have won the prize. Each novel has a “Buy on Amazon” button and that link includes my associate ID – so, yes, it’s basically an attempt to make money out of people who want to buy Booker shortlisted novels.</p>
<p>But it’s not working. It’s not working because not enough people know about the site. So last week I decided to do a bit of SEO work on the site. And the obvious improvement was to add JSON-LD for the book and author pages.</p>
<p>The site itself is fully static. It gets updated twice a year – once when the shortlist is announced and then again when the winner is announced (the second update is literally setting a flag on a database row). The data about the novels is stored in an SQLite database. And there are DBIx::Class classes that allow me to access that data. So the obvious place to add the JSON-LD code is in <a href="https://github.com/davorg/readabooker/blob/main/lib/Booker/Schema/Result/Book.pm">Booker::Schema::Result::Book</a> and <a href="https://github.com/davorg/readabooker/blob/main/lib/Booker/Schema/Result/Person.pm">Booker::Schema::Result::Person</a> (a person can exist in the database if they have been an author, a judge or both).</p>
<p>The changes for the Person class were trivial. I don’t actually hold much information about the people in the database.</p><pre class="urvanov-syntax-highlighter-plain-tag">with 'MooX::Role::JSON_LD';
sub json_ld_type { 'Person' }
sub json_ld_fields {
[
qw/name/,
];
}</pre><p>The changes in the Book class have one interesting piece of code:</p><pre class="urvanov-syntax-highlighter-plain-tag">with 'MooX::Role::JSON_LD';
sub json_ld_type { 'Book' }
sub json_ld_fields {
[
{ name => 'title' },
{ author => sub {
$_[0]->author->json_ld_data }
},
{ isbn => 'asin' },
];
}</pre><p>The link between a book and its author is obviously important. But in the database, that link is simply represented by a foreign key in the <tt>book</tt> table. Having something like “author : 23” in the JSON-LD would be really unhelpful, so we take advantage of the link between the book and the author that DBIx::Class has given us and call the <tt>json_ld_data()</tt> method on the book’s author object. This method (which is added to any class that uses the role) returns the raw data structure which is later passed to a JSON encoder to produce the JSON-LD. So by calling that method inside the anonymous subroutine that creates the “author” attribute we can reuse that data in our book data.</p>
<p>The Person class creates JSON-LD like this:</p><pre class="urvanov-syntax-highlighter-plain-tag">{
"@context" : "http://schema.org/",
"@type" : "Person",
"name" : "Theresa Mary Anne Smith"
}</pre><p>And the Book class creates JSON-LD like this:</p><pre class="urvanov-syntax-highlighter-plain-tag">{
"@context" : "http://schema.org/",
"@type" : "Book",
"author" : {
"@context" : "http://schema.org/",
"@type" : "Person",
"name" : "Theresa Mary Anne Smith"
},
"isbn" : "B086PB2X8F",
"name" : "Office Novice"
}</pre><p>There were two more changes needed. We needed to get the JSON-LD actually onto the HTML pages. The site is created using the <a href="https://tt2.org/">Template Toolkit</a> and the specific templates are <a href="https://github.com/davorg/readabooker/blob/main/src/author/author.html.tt">author.html.tt</a> and <a href="https://github.com/davorg/readabooker/blob/main/src/title/title.html.tt">title.html.tt</a>. Adding the JSON-LD to these pages was as simple as adding one line to each template:</p><pre class="urvanov-syntax-highlighter-plain-tag">[% author.json_ld_wrapped -%]</pre><p>And</p><pre class="urvanov-syntax-highlighter-plain-tag">[% book.json_ld_wrapped -%]</pre><p>We haven’t mentioned the <tt>json_ld_wrapped()</tt> method yet. Let me explain the hierarchy of the three main methods that the role adds to a class.</p>
<ul>
<li><tt>json_ld_data()</tt> returns the raw Perl data structure that contains the data that will be displayed in the JSON-LD</li>
<li><tt>json_ld()</tt> takes the value returned from <tt>json_ld_data()</tt> and encodes it into a JSON document</li>
<li><tt>json_ld_wrapped()</tt> takes the JSON returned from <tt>json_ld()</tt> and wraps it in the <tt><script type="application/ld+json">..</script></tt> tag that is used to embed JSON-LD in HTML. This is the method that you usually want to call from whatever is generating your HTML</li>
</ul>
<p>And that’s how I added JSON-LD to my website pretty easily. I now need to wait and see just how effective these changes will be. Hopefully thousands of people will be buying books through my site in the coming weeks and I can sit back and stop having to write code for a living.</p>
<p>It’s the dream!</p>
<p>How about you? Which of your websites would benefit from the addition of a few carefully-crafted pieces of JSON-LD?</p><p>The post <a href="https://perlhacks.com/2025/01/adding-structured-data-with-perl/">Adding structured data with Perl</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>If you have a website, then it’s very likely that you would like as many people as possible to see it. One of the best tools for achieving that is to ensure that your site is returned close to the top of as many search results pages as possible. In order to do that, you […]</p>
<p>The post <a href="https://perlhacks.com/2025/01/adding-structured-data-with-perl/">Adding structured data with Perl</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://perlhacks.com/?p=2271</id>
<published>2025-01-12T16:25:37Z</published>
<updated>2025-01-12T16:25:37Z</updated>
<category term="Web"/>
<category term="json-ld"/>
<category term="seo"/>
<category term="websites"/>
</entry>
<entry>
<title>Adding structured data with Perl</title>
<link rel="alternate" href="https://dev.to/davorg/adding-structured-data-with-perl-6f0" type="text/html"/>
<content type="html"><p>If you have a website, then it’s very likely that you would like as many people as possible to see it. One of the best tools for achieving that is to ensure that your site is returned close to the top of as many search results pages as possible.</p>
<p>In order to do that, you really have two targets:</p>
<ol>
<li>Ensure the search engines know what your website is about</li>
<li>Ensure the search engines think your website is an important source of information on the topics it covers</li>
</ol>
<p>The second item on the list is mostly about getting other websites on the same topic to link to you – and it is outside the scope of this post. In this post, I want to talk about a good way to ensure search engines know what your site is about.</p>
<p>Of course, the search engines have invested a lot of money in working that out for themselves. They scan the text on your site and processes it to extract the meaning. But there are various ways you can make it easier for them. And they like sites that make their lives easier.</p>
<p>One of the most powerful ways to achieve this is to add structured data to your site. That means adding extra mark-up to your web pages which explains what the page is about. On the <a href="https://schema.org/" rel="noopener noreferrer">Schema.org website</a>, you can find dozens of “things” the you can describe in structured data – for example, <a href="https://schema.org/Person" rel="noopener noreferrer">here is the definition of the Person entity</a>. Each entity has a number of (largely optional) properties which can be included in structured data about an object of that type. Each property can be a string or another structured data entity. Additionally, entities are arranged in a hierarchy, so one entity can be based on another, more generic, entity. A Person, for example, inherits all of the properties of <a href="https://schema.org/Thing" rel="noopener noreferrer">a Thing</a> (which is the most generic type of entity). This is a lot like inheritance in Object-Oriented Programming.</p>
<p>Perhaps most usefully, the definition of each entity type ends with some examples of how structured data about an entity of that type could be added to an HTML document. The examples cover three formats:</p>
<ol>
<li>Microdata. This involved adding a lot of new attributes to various elements in the HTML (you might also add more &lt;span&gt; and &lt;div&gt; elements in order to have a place to put these attributes. These attributes have names like “itemscope”, “itemtype” and “itemprop”.</li>
<li>RDFa. This looks a lot like microdata, but the attributes have different names – “vocab”, “typeof” and “property”.</li>
<li>JSON-LD. This is different from the other two formats. It is not added to the existing mark-up, but it is a separate element which contains JSON defining the entities on the page.</li>
</ol>
<p>Because it is completely separate to the existing mark-up, I find JSON-LD to be easier to work with. And for that reason, I wrote <a href="https://metacpan.org/pod/MooX::Role::JSON_LD" rel="noopener noreferrer">MooX::Role::JSON_LD</a> which makes it easy to generate JSON-LD for classes that are based on Moo or Moose. Let’s look at a simple example of using it to add Person JSON-LD to a web page of a person. We’ll assume we already have a Person class that we use to provide the data on a web page about a person. It has attributes first_name, last_name and birth_date.</p>
<p>We start with some configuration. We load the role and define two subroutines which tell us which entity type we’re working with and which attributes we want to include in the JSON-LD. The code might look like this:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>with 'MooX::Role::JSON_LD';
sub json_ld_type { 'Person' };
sub json_ld_fields { [qw[ first_name last_name birth_date] ] };
</code></pre>
</div>
<p>We can now use our Person class like this:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>use Person;
my $bowie = Person-&gt;new({
first_name =&gt; 'David',
last_name =&gt; 'Bowie',
birth_date =&gt; '1947-01-08',
});
say $bowie-&gt;json_ld;
</code></pre>
</div>
<p>This produces the following output:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>{
"@context" : "http://schema.org/",
"@type" : "Person",
"first_name" : "David",
"last_name" : "Bowie",
"birth_date" : "1947-01-08"
}
</code></pre>
</div>
<p>This looks pretty good. But, sadly, it’s not valid JSON-LD. In the Schema.org Person entity, the relevant properties are called “givenName”, “familyName” and “birthDate”. Obviously, if we were designing our class from scratch, we could create attributes with those names. But often we’re adding features to existing systems and we don’t have that luxury. So the role allows us to change the names of attributes before they appear in the JSON-LD. We need to look more closely at the json_ld_fields() subroutine. It defines the names of the attributes that will appear in the JSON-LD. It returns an array reference and each element of the array contains a string which is the name of an attribute. But one of these elements can also contain a hash reference. In that case, the key of the hash is the name of the property we want to appear in the JSON-LD and the value is the name of the matching attribute in our class. So we can redefine our subroutine to look like this:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>sub json_ld_fields {
[
{ givenName =&gt; 'first_name' },
{ familyName =&gt; 'last_name' },
{ birthDate =&gt; 'birth_date' },
]
}
</code></pre>
</div>
<p>And now we get the following JSON-LD:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>{
"@context" : "http://schema.org/",
"@type" : "Person",
"givenName" : "David",
"familyName" : "Bowie",
"birthDate" : "1947-01-08"
}
</code></pre>
</div>
<p>Which is now valid.</p>
<p>There’s one other trick we can use. We’ve seen the Schema.org Person entity has a “firstName” and “lastName” properties which map directly onto our “first_name” and “last_name” attributes. But the Person entity inherits from the Thing entity and that has a property called “name” which might be more useful for us. So perhaps we want to combine the “first_name” and “last_name” attributes into the single JSON-LD property. We can do that by changing our json_ld_fields() subroutine again:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>sub json_ld_fields {
[
{ birthDate =&gt; 'birth_date'},
{ name =&gt; sub { $_[0]-&gt;first_name . ' ' . $_[0]-&gt;last_name} },
]
}
</code></pre>
</div>
<p>In this version, we’ve added the “name” as the key of a hashref and the value is an anonymous subroutine that is passed the object and returns the name by concatenating the first and last names separated by a space. We now get this JSON-LD:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>{
"@context" : "http://schema.org/",
"@type" : "Person",
"birthDate" : "1947-01-08"
"name" : "David Bowie",
}
</code></pre>
</div>
<p>Using this approach, allows us to build arbitrary JSON-LD properties from a combination of attributes from our object’s attributes.</p>
<p>Let’s look at a real-world example (and the reason why I was reminded of this module’s existence earlier this week.</p>
<p>I have a website called <a href="https://readabooker.com/" rel="noopener noreferrer">ReadABooker</a>. It’s about the books that compete for the Booker Prize. Each year, a shortlist of six novels is announced and, later in the year, a winner is chosen. The winning author gets £50,000 and all of the shortlisted novels get massively increased sales. It’s a big deal in British literary circles. I created the website a few years ago. It lists all of the events (the competition goes back to 1969) and for each year, it lists all of the <a href="https://readabooker.com/year/2024/" rel="noopener noreferrer">shortlisted novels</a>. You can also see all of <a href="https://readabooker.com/author/" rel="noopener noreferrer">the authors who have been shortlisted</a>and <a href="https://readabooker.com/author/margaret-atwood/" rel="noopener noreferrer">which of their shortlisted novels</a> have won the prize. Each novel has a “Buy on Amazon” button and that link includes my associate ID – so, yes, it’s basically an attempt to make money out of people who want to buy Booker shortlisted novels.</p>
<p>But it’s not working. It’s not working because not enough people know about the site. So last week I decided to do a bit of SEO work on the site. And the obvious improvement was to add JSON-LD for the book and author pages.</p>
<p>The site itself is fully static. It gets updated twice a year – once when the shortlist is announced and then again when the winner is announced (the second update is literally setting a flag on a database row). The data about the novels is stored in an SQLite database. And there are DBIx::Class classes that allow me to access that data. So the obvious place to add the JSON-LD code is in <a href="https://github.com/davorg/readabooker/blob/main/lib/Booker/Schema/Result/Book.pm" rel="noopener noreferrer">Booker::Schema::Result::Book</a> and <a href="https://github.com/davorg/readabooker/blob/main/lib/Booker/Schema/Result/Person.pm" rel="noopener noreferrer">Booker::Schema::Result::Person</a> (a person can exist in the database if they have been an author, a judge or both).</p>
<p>The changes for the Person class were trivial. I don’t actually hold much information about the people in the database.<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>with 'MooX::Role::JSON_LD';
sub json_ld_type { 'Person' }
sub json_ld_fields {
[
qw/name/,
];
}
</code></pre>
</div>
<p>The changes in the Book class have one interesting piece of code:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>with 'MooX::Role::JSON_LD';
sub json_ld_type { 'Book' }
sub json_ld_fields {
[
{ name =&gt; 'title' },
{ author =&gt; sub {
$_[0]-&gt;author-&gt;json_ld_data }
},
{ isbn =&gt; 'asin' },
];
}
</code></pre>
</div>
<p>The link between a book and its author is obviously important. But in the database, that link is simply represented by a foreign key in the book table. Having something like “author : 23” in the JSON-LD would be really unhelpful, so we take advantage of the link between the book and the author that DBIx::Class has given us and call the json_ld_data() method on the book’s author object. This method (which is added to any class that uses the role) returns the raw data structure which is later passed to a JSON encoder to produce the JSON-LD. So by calling that method inside the anonymous subroutine that creates the “author” attribute we can reuse that data in our book data.</p>
<p>The Person class creates JSON-LD like this:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>{
"@context" : "http://schema.org/",
"@type" : "Person",
"name" : "Theresa Mary Anne Smith"
}
</code></pre>
</div>
<p>And the Book class creates JSON-LD like this:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>{
"@context" : "http://schema.org/",
"@type" : "Book",
"author" : {
"@context" : "http://schema.org/",
"@type" : "Person",
"name" : "Theresa Mary Anne Smith"
},
"isbn" : "B086PB2X8F",
"name" : "Office Novice"
}
</code></pre>
</div>
<p>There were two more changes needed. We needed to get the JSON-LD actually onto the HTML pages. The site is created using the <a href="https://tt2.org/" rel="noopener noreferrer">Template Toolkit</a> and the specific templates are <a href="https://github.com/davorg/readabooker/blob/main/src/author/author.html.tt" rel="noopener noreferrer">author.html.tt</a> and <a href="https://github.com/davorg/readabooker/blob/main/src/title/title.html.tt" rel="noopener noreferrer">title.html.tt</a>. Adding the JSON-LD to these pages was as simple as adding one line to each template:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>[% author.json_ld_wrapped -%]
</code></pre>
</div>
<p>And<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>[% book.json_ld_wrapped -%]
</code></pre>
</div>
<p>We haven’t mentioned the json_ld_wrapped() method yet. Let me explain the hierarchy of the three main methods that the role adds to a class.</p>
<ul>
<li>json_ld_data() returns the raw Perl data structure that contains the data that will be displayed in the JSON-LD</li>
<li>json_ld() takes the value returned from json_ld_data() and encodes it into a JSON document</li>
<li>json_ld_wrapped() takes the JSON returned from json_ld() and wraps it in the &lt;script type="application/ld+json"&gt;..&lt;/script&gt; tag that is used to embed JSON-LD in HTML. This is the method that you usually want to call from whatever is generating your HTML</li>
</ul>
<p>And that’s how I added JSON-LD to my website pretty easily. I now need to wait and see just how effective these changes will be. Hopefully thousands of people will be buying books through my site in the coming weeks and I can sit back and stop having to write code for a living.</p>
<p>It’s the dream!</p>
<p>How about you? Which of your websites would benefit from the addition of a few carefully-crafted pieces of JSON-LD?</p>
<p>The post <a href="https://perlhacks.com/2025/01/adding-structured-data-with-perl/" rel="noopener noreferrer">Adding structured data with Perl</a> appeared first on <a href="https://perlhacks.com" rel="noopener noreferrer">Perl Hacks</a>.</p>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>https://dev.to/davorg/adding-structured-data-with-perl-6f0</id>
<published>2025-01-12T16:25:37Z</published>
<updated>2025-01-12T16:25:37Z</updated>
<category term="web"/>
<category term="jsonld"/>
<category term="seo"/>
<category term="websites"/>
</entry>
<entry>
<title>DAVECROSS has released MooX-Role-JSON_LD-1.1.0</title>
<link rel="alternate" href="https://metacpan.org/release/DAVECROSS/MooX-Role-JSON_LD-1.1.0" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">Easily provide JSON-LD mark-up for your objects.</div>
</content>
<author>
<name>DAVECROSS</name>
</author>
<id>https://metacpan.org/release/DAVECROSS/MooX-Role-JSON_LD-1.1.0</id>
<published>2025-01-08T15:55:06Z</published>
<updated>2025-01-08T15:55:06Z</updated>
</entry>
<entry>
<title>London Perl Mongers on GitHub Pages</title>
<link rel="alternate" href="https://perlhacks.com/2025/01/london-perl-mongers-on-github-pages/" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>The London Perl Mongers have had a website for a very long time. Since some time in 1998, I think. At first, I hosted a static site for us. Later on, we bought our own server and hosted it at a friendly company around Silicon Roundabout. But for most of the lifetime of the organisation, it’s been hosted on a server donated to us by <a href="https://exonetric.com/">Exonetric</a> (for which we are extremely grateful).</p>
<p>But all good things come to an end. And last week, we got an email saying the Exonetric was closing down and we would need to find alternative hosting by the end of February.</p>
<p>The code for the site is <a href="https://github.com/LondonPM/London-pm-website/">on GitHub</a>, so I had a quick look at it to see if there was anything easy we could do.</p>
<p>I was slightly surprised to find it was a PSGI application. Albeit a really simple PSGI application that basically served content from a <tt>/root</tt> directory, having passed it through some light <a href="https://tt2.org/">Template Toolkit</a> processing first. Converting this to a simple static site that could be hosted on GitHub Pages was going to be simple.</p>
<p>Really, all it needed was a <a href="https://metacpan.org/dist/Template-Toolkit/view/bin/ttree"><tt>ttree</tt></a> configuration file that reads all of the files from <tt>/root</tt>, processes them and writes the output to <tt>/docs</tt>. The configuration file I created looked like this:</p><pre class="urvanov-syntax-highlighter-plain-tag">src = root
dest = docs
copy = \.(gif|png|jpg|pdf|css|js)$
copy = ^CNAME$
recurse
verbose</pre><p>To be honest, most of the static web site work I do these days uses a static site builder that’s rather more complex than that, so it was really refreshing to remind myself that you can do useful things with tools as simple as <tt>ttree</tt>.</p>
<p>The next step was to add a <a href="https://github.com/LondonPM/London-pm-website/blob/master/.github/workflows/buildsite.yml">GitHub Actions workflow</a> that publishes the site to the GitHub Pages server each time something changes. That’s all pretty standard stuff too:</p><pre class="urvanov-syntax-highlighter-plain-tag">name: Generate web page
on:
push:
branches: 'master'
workflow_dispatch:
jobs:
build:
if: github.repository_owner == 'LondonPM'
runs-on: ubuntu-latest
steps:
- name: Install TT
run: |
sudo apt-get update
sudo apt-get -y install libtemplate-perl
- name: Checkout
uses: actions/checkout@v4
- name: Create pages
run: ttree -f ttreerc 2>&1 > ttree.log
- name: Archive ttree logs
uses: actions/upload-artifact@v4
with:
name: ttree.log
path: ./ttree.log
retention-days: 3
- name: Update pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/
deploy:
needs: build
if: github.repository_owner == 'LondonPM'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4</pre><p>The only slightly complex lines here are the two lines that say <tt>if: github.repository_owner == 'LondonPM'</tt>. We’re hoping that other people will fork this repo in order to work on the site, but it’s only the main fork that should attempt to publish the current version on the GitHub Pages servers.</p>
<p>There was a bit of fiddling with DNS. Temporarily, we used the domain <a href="https://londonperl.com/">londonperl.com</a> as a test deployment (because I’m the kind of person who just happens to have potentially useful domains lying around, unused!) but enough of us are slightly obsessed about using the correct TLD so we’ve settled on <a href="https://londonperl.org/">londonperl.org</a>[*]. We’ve asked the nice people at the <a href="https://noc.perl.org/">Perl NOC</a> to redirect our old domain to the new one.</p>
<p>And it’s all working (well, with the exception of the redirection of the old domain). Thanks to Sue, Lee and Leo for the work they’ve done in the last few days to get it all working. And a big thanks to Mark and Exonetric for hosting the site for us for the last couple of decades.</p>
<p>These changes are already having the desired effect. People are submitting pull requests to update the website. Our website is probably more up-to-date than it has been for far too long. It’s even responsive now.</p>
<p>I realise there has been very little Perl in this post. But I thought it might be useful for other Perl Mongers groups who are looking for a simple (and free!) space to host their websites. Please let me know if you have any questions about the process.</p>
<p>[*] We wanted to use Cloudflare to manage the domain but their free service only supports top-level domains and london.pm.org (our original domain) is a subdomain – and none of us wanted to pay for the enterprise version.</p><p>The post <a href="https://perlhacks.com/2025/01/london-perl-mongers-on-github-pages/">London Perl Mongers on GitHub Pages</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>The London Perl Mongers have had a website for a very long time. Since some time in 1998, I think. At first, I hosted a static site for us. Later on, we bought our own server and hosted it at a friendly company around Silicon Roundabout. But for most of the lifetime of the organisation, […]</p>
<p>The post <a href="https://perlhacks.com/2025/01/london-perl-mongers-on-github-pages/">London Perl Mongers on GitHub Pages</a> first appeared on <a href="https://perlhacks.com">Perl Hacks</a>.</p></div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://perlhacks.com/?p=2262</id>
<published>2025-01-04T11:19:47Z</published>
<updated>2025-01-04T11:19:47Z</updated>
<category term="Community"/>
<category term="github pages"/>
<category term="london perl mongers"/>
<category term="london.pm"/>
<category term="perl mongers"/>
<category term="website"/>
</entry>
<entry>
<title>London Perl Mongers on GitHub Pages</title>
<link rel="alternate" href="https://dev.to/davorg/london-perl-mongers-on-github-pages-3m4n" type="text/html"/>
<content type="html"><p>The London Perl Mongers have had a website for a very long time. Since some time in 1998, I think. At first, I hosted a static site for us. Later on, we bought our own server and hosted it at a friendly company around Silicon Roundabout. But for most of the lifetime of the organisation, it’s been hosted on a server donated to us by <a href="https://exonetric.com/" rel="noopener noreferrer">Exonetric</a> (for which we are extremely grateful).</p>
<p>But all good things come to an end. And last week, we got an email saying the Exonetric was closing down and we would need to find alternative hosting by the end of February.</p>
<p>The code for the site is <a href="https://github.com/LondonPM/London-pm-website/" rel="noopener noreferrer">on GitHub</a>, so I had a quick look at it to see if there was anything easy we could do.</p>
<p>I was slightly surprised to find it was a PSGI application. Albeit a really simple PSGI application that basically served content from a /root directory, having passed it through some light <a href="https://tt2.org/" rel="noopener noreferrer">Template Toolkit</a> processing first. Converting this to a simple static site that could be hosted on GitHub Pages was going to be simple.</p>
<p>Really, all it needed was a <a href="https://metacpan.org/dist/Template-Toolkit/view/bin/ttree" rel="noopener noreferrer">ttree</a> configuration file that reads all of the files from /root, processes them and writes the output to /docs. The configuration file I created looked like this:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>src = root
dest = docs
copy = \.(gif|png|jpg|pdf|css|js)$
copy = ^CNAME$
recurse
verbose
</code></pre>
</div>
<p>To be honest, most of the static web site work I do these days uses a static site builder that’s rather more complex than that, so it was really refreshing to remind myself that you can do useful things with tools as simple as ttree.</p>
<p>The next step was to add a <a href="https://github.com/LondonPM/London-pm-website/blob/master/.github/workflows/buildsite.yml" rel="noopener noreferrer">GitHub Actions workflow</a> that publishes the site to the GitHub Pages server each time something changes. That’s all pretty standard stuff too:<br>
</p>
<div class="highlight js-code-highlight">
<pre class="highlight plaintext"><code>name: Generate web page
on:
push:
branches: 'master'
workflow_dispatch:
jobs:
build:
if: github.repository_owner == 'LondonPM'
runs-on: ubuntu-latest
steps:
- name: Install TT
run: |
sudo apt-get update
sudo apt-get -y install libtemplate-perl
- name: Checkout
uses: actions/checkout@v4
- name: Create pages
run: ttree -f ttreerc 2&gt;&amp;1 &gt; ttree.log
- name: Archive ttree logs
uses: actions/upload-artifact@v4
with:
name: ttree.log
path: ./ttree.log
retention-days: 3
- name: Update pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/
deploy:
needs: build
if: github.repository_owner == 'LondonPM'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
</code></pre>
</div>
<p>The only slightly complex lines here are the two lines that say if: github.repository_owner == 'LondonPM'. We’re hoping that other people will fork this repo in order to work on the site, but it’s only the main fork that should attempt to publish the current version on the GitHub Pages servers.</p>
<p>There was a bit of fiddling with DNS. Temporarily, we used the domain <a href="https://londonperl.com/" rel="noopener noreferrer">londonperl.com</a> as a test deployment (because I’m the kind of person who just happens to have potentially useful domains lying around, unused!) but enough of us are slightly obsessed about using the correct TLD so we’ve settled on <a href="https://londonperl.org/" rel="noopener noreferrer">londonperl.org</a>[*]. We’ve asked the nice people at the <a href="https://noc.perl.org/" rel="noopener noreferrer">Perl NOC</a> to redirect our old domain to the new one.</p>
<p>And it’s all working (well, with the exception of the redirection of the old domain). Thanks to Sue, Lee and Leo for the work they’ve done in the last few days to get it all working. And a big thanks to Mark and Exonetric for hosting the site for us for the last couple of decades.</p>
<p>These changes are already having the desired effect. People are submitting pull requests to update the website. Our website is probably more up-to-date than it has been for far too long. It’s even responsive now.</p>
<p>I realise there has been very little Perl in this post. But I thought it might be useful for other Perl Mongers groups who are looking for a simple (and free!) space to host their websites. Please let me know if you have any questions about the process.</p>
<p>[*] We wanted to use Cloudflare to manage the domain but their free service only supports top-level domains and london.pm.org (our original domain) is a subdomain – and none of us wanted to pay for the enterprise version.</p>
<p>The post <a href="https://perlhacks.com/2025/01/london-perl-mongers-on-github-pages/" rel="noopener noreferrer">London Perl Mongers on GitHub Pages</a> appeared first on <a href="https://perlhacks.com" rel="noopener noreferrer">Perl Hacks</a>.</p>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>https://dev.to/davorg/london-perl-mongers-on-github-pages-3m4n</id>
<published>2025-01-04T11:19:47Z</published>
<updated>2025-01-04T11:19:47Z</updated>
<category term="community"/>
<category term="githubpages"/>
<category term="londonperlmongers"/>
<category term="londonpm"/>
</entry>
<entry>
<title>DAVECROSS has released SVG-ChristmasTree-0.0.7</title>
<link rel="alternate" href="https://metacpan.org/release/DAVECROSS/SVG-ChristmasTree-0.0.7" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">Perl extension to draw Christmas trees with SVG</div>
</content>
<author>
<name>DAVECROSS</name>
</author>
<id>https://metacpan.org/release/DAVECROSS/SVG-ChristmasTree-0.0.7</id>
<published>2025-01-01T14:40:04Z</published>
<updated>2025-01-01T14:40:04Z</updated>
</entry>
<entry>
<title>Picturehouse Film Club</title>
<link rel="alternate" href="https://davorg.medium.com/picturehouse-film-club-decfd2f39474?source=rss-3781feb8a4f4------2" type="text/html"/>
<content type="html"><div class="medium-feed-item"><p class="medium-feed-image"><a href="https://davorg.medium.com/picturehouse-film-club-decfd2f39474?source=rss-3781feb8a4f4------2"><img src="https://cdn-images-1.medium.com/max/1792/1*K96DJROjtoHktnEH3ynV5w.png" width="1792"></a></p><p class="medium-feed-snippet">I&#x2019;ve been a member of Picturehouse Cinemas for something approaching twenty years. It costs about &#xA3;60 a year and for that, you get five&#x2026;</p><p class="medium-feed-link"><a href="https://davorg.medium.com/picturehouse-film-club-decfd2f39474?source=rss-3781feb8a4f4------2">Continue reading on Medium »</a></p></div></content>
<author>
<name>Dave Cross</name>
</author>
<id>https://medium.com/p/decfd2f39474</id>
<published>2024-12-31T16:08:25Z</published>
<updated>2024-12-31T16:08:25.189000Z</updated>
<category term="picture-house"/>
<category term="2024"/>
<category term="film-club"/>
<category term="film"/>
<category term="clapham"/>
</entry>
<entry>
<title>Picturehouse Film Club</title>
<link rel="alternate" href="https://blog.dave.org.uk/2024/12/picturehouse-film-club.html" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>I’ve been a member of Picturehouse Cinemas for something approaching twenty years. It costs about £60 a year and for that, you get five free tickets and discounts on your tickets and snacks. I’ve often wondered whether it’s worth paying for, but in the last couple of years, they’ve added an extra feature that makes it well worth the cost. It’s called Film Club and every week they have two curated screenings that members can see for just £1. On Sunday lunchtime, there’s a screening of an older film, and on a weekday evening (usually Wednesday at the Clapham Picturehouse), they show something new. I’ve got into the habit of seeing most of these screenings.</p>
<p>For most of the year, I’ve been considering a monthly post about the films I’ve seen at Film Club, but I’ve never got around to it. So, instead, you get an end-of-year dump of the almost eighty films I’ve seen.</p>
<ol>
<li><em><strong>Under the Skin</strong></em> [4 stars] 2024-01-14<br/>
Starting with an old(ish) favourite. The last time I saw this was a free preview for Picturehouse members, ten years ago. It’s very much a film that people love or hate. I love it. The book is great too (but very different)</li>
<li><em><strong>Go West</strong></em> [3.5] 2024-01-21<br/>
They often show old films as mini-festivals of connected films. This was the first of a short series of Buster Keaton films. I hadn’t seen any of them. <em>Go West</em> was a film where I could appreciate the technical aspects, but I wasn’t particularly entertained</li>
<li><em><strong>Godzilla Minus One</strong></em> [3] 2024-01-23<br/>
Around this time, I’d been watching a few of the modern Godzilla films from the “Monsterverse”. I hadn’t really been enjoying them. But this, unrelated, film was far more enjoyable</li>
<li><em><strong>Steamboat Bill, Jr</strong></em>. [4] 2024-01-28<br/>
Back with Buster Keaton. I enjoyed this one far more.</li>
<li><em><strong>American Fiction</strong></em> [4] 2024-01-30<br/>
Sometimes they’ll show an Oscar contender. I ended up having seen seven of the ten Best Picture nominees before the ceremony – which is far higher than my usual rate. I really enjoyed this one</li>
<li><strong><em>The Zone of Interest</em></strong> [3] 2024-02-03<br/>
Another Oscar contender. I think I wasn’t really in the mood for this. I was tired and found it hard to follow. I should rewatch it at some point.</li>
<li><em><strong>The General</strong></em> [4] 2024-02-11<br/>
More Buster Keaton. I really enjoyed this one – my favourite of the three I watched. I could very easily see myself going down a rabbit hole of obsessing over all of his films</li>
<li><em><strong>Perfect Days</strong></em> [3.5] 2024-02-15<br/>
A film about the life of a toilet cleaner in Tokyo. But written and directed by Wim Wenders – so far better than that description makes it sound</li>
<li><em><strong>Wicked Little Letters</strong></em> [4] 2024-02-20<br/>
I thought this would be more popular than it was. But it vanished pretty much without a trace. It’s a really nice little film about swearing</li>
<li><em><strong>Nosferatu the Vampyre</strong></em> [3.5] 2024-02-25<br/>
The Sunday screenings often give me a chance to catch up with old classics that I haven’t seen before. This was one example. This was the 1979 Werner Herzog version. I should track down the 1922 original before watching the new version early next year</li>
<li><em><strong>Four Daughters</strong></em> [3.5] 2024-02-29<br/>
Because the screenings cost £1, I see everything – no matter what the subject matter is. This is an example of a film I probably wouldn’t have seen without Film Club. But it was a really interesting film about a Tunisian woman who lost two of her daughters when they joined Islamic State</li>
<li><em><strong>The Persian Version</strong></em> [3.5] 2024-03-07<br/>
Another film that I would have missed out on without Film Club. It’s an interesting look into the lives of Iranians in America</li>
<li><strong><em>Girlhood</em></strong> [3] 2024-03-10<br/>
This was the start of another short season of related films. This time it was films made by women about the lives of women and girls. This one was about girl gangs in Paris</li>
<li><em><strong>Still Walking</strong></em> [3] 2024-03-16<br/>
A Japanese family get together to commemorate the death of the eldest son. Things happen, but nothing changes</li>
<li><em><strong>Zola</strong></em> [3.5] 2024-03-17<br/>
I had never heard of this film before, but really enjoyed it. It’s the true story of a stripper who goes on a road trip to Florida and gets involved in… stuff</li>
<li><em><strong>Late Night with the Devil</strong></em> [3.5] 2024-03-19<br/>
I thought this was clever. A horror film that takes place on the set of a late-night chat show. Things go horribly wrong</li>
<li><em><strong>Set It Off</strong></em> [3.5] 2024-03-24<br/>
A pretty standard heist film. But the protagonists are a group of black women. I enjoyed it</li>
<li><em><strong>Disco Boy</strong></em> [2] 2024-03-27<br/>
I really didn’t get this film at all</li>
<li><em><strong>Girls Trip</strong></em> [3.5] 2024-03-31<br/>
Another women’s road trip film. It was fun, but I can’t remember much of it now</li>
<li><em><strong>The Salt of the Earth</strong></em> [3] 2024-04-07<br/>
A documentary about the work of photographer Sebastião Salgado. He was in some bad wars and saw some bad shit</li>
<li><em><strong>The Teachers’ Lounge</strong></em> [3.5] 2024-04-10<br/>
Another film that got an Oscar nod. A well-made drama about tensions in the staff room of a German school.</li>
<li><em><strong>Do the Right Thing</strong></em> [4] 2024-04-14<br/>
I had never seen a Spike Lee film. How embarrassing is that? This was really good (but you all knew that)</li>
<li><em><strong>Sometimes I Think About Dying</strong></em> [3] 2024-04-17<br/>
I really wanted to like this. It was well-made. Daisy Ridley is a really good actress. But it didn’t really go anywhere and completely failed to grip me</li>
<li><em><strong>The Trouble with Jessica</strong></em> [4] 2024-04-22<br/>
Another film that deserved to be more successful than it was. Some great comedy performances by a strong cast.</li>
<li><em><strong>Rope</strong></em> [4.5] 2024-04-28<br/>
A chance to see a favourite film on the big screen for the first time. It’s regarded as a classic for good reason</li>
<li><em><strong>Blackbird Blackbird Blackberry</strong></em> [3] 2024-04-30<br/>
Another film that I just wouldn’t have considered if it wasn’t part of the Film Club programme. I had visited Tbilisi a year earlier, so it was interesting to see a film that was made in Georgia. But, ultimately, it didn’t really grip me</li>
<li><em><strong>The Cars That Ate Paris</strong></em> [3] 2024-05-12<br/>
Another old classic that I had never seen. It’s a bit like a precursor to Mad Max. I’m glad I’ve seen it, but I won’t be rushing to rewatch it</li>
<li><em><strong>Victoria</strong></em> [3.5] 2024-05-19<br/>
This was a lot of fun. The story of one night in the life of a Spanish woman living in Berlin. Lots of stuff happens. It’s over two hours long and was shot in a single, continuous take</li>
<li><em><strong>The Beast</strong></em> [3.5] 2024-05-22<br/>
This was interesting. So interesting that I rewatched it when it appeared on Mubi a few months ago. I’m not sure I can explain it all, but I’ll be rewatching again at some point (and probably revising my score upwards)</li>
<li><em><strong>Eyes Wide Shut</strong></em> [4] 2024-05-26<br/>
I hadn’t seen this for maybe twenty-five years. And I don’t think I ever saw it in a cinema. It’s better than I remember</li>
<li><em><strong>Rosalie</strong></em> [3.5] 2024-05-28<br/>
A film about a bearded lady in 19th-century France. I kid you not. It’s good</li>
<li><em><strong>All About My Mother</strong></em> [3.5] 2024-06-02<br/>
Years ago, I went through a phase of watching loads of Almodóvar films. I was sure I’d seen this one, but I didn’t remember it at all. It’s good though</li>
<li><em><strong><i><b>Àma</b></i> Gloria</strong></em> [3] 2024-06-04<br/>
I misunderstood the trailer for this and was on the edge of my seat throughout waiting for a disaster to happen. But, ultimately, it was a nice film about a young girl visiting her old nanny in Cape Verde</li>
<li><em><strong>Full Metal Jacket</strong></em> [3.5] 2024-06-09<br/>
This really wasn’t as good as I remembered it. Everyone remembers the training camp stuff, but half of the film happens in-country – and that’s all rather dull</li>
<li><em><strong>Sasquatch Sunset</strong></em> [2] 2024-06-11<br/>
I wanted to like this. It would have made a funny two-minute SNL sketch. But it really didn’t work when stretched to ninety minutes</li>
<li><em><strong>Being John Malkovich</strong></em> [4] 2024-06-16<br/>
Still great</li>
<li><em><strong>Green Border</strong></em> [4] 2024-06-19<br/>
A lot of the films I’ve seen at Film Club in previous years seem to be about people crossing borders illegally. This one was about the border between Belarus and Poland. It was very depressing – but very good</li>
<li><em><strong>Attack the Block</strong></em> [4] 2024-06-23<br/>
Another old favourite that it was great to see on the big screen</li>
<li><em><strong>The 400 Blows</strong></em> [3] 2024-06-30<br/>
The French New Wave is a huge hole in my knowledge of cinema, so I was glad to have an opportunity to start putting that right. This, however, really didn’t grip me</li>
<li><em><strong>Bye Bye Tiberias</strong></em> [2.5] 2024-07-02<br/>
Hiam Abbass (who you might know as Marcia in <a href="https://en.wikipedia.org/wiki/Succession_(TV_series)"><em>Succession</em></a>) left her native Palestine in the 80s to live in Paris. This is a documentary following a visit she made back to her family. It didn’t really go anywhere</li>
<li><em><strong>Breathless</strong></em> [3] 2024-07-07<br/>
More French New Wave. I like this more than <em>The 400 Blows</em> – but not much more</li>
<li><em><strong>After Hours</strong></em> [4] 2024-07-13<br/>
Another old favourite from the 80s that I had never seen on the big screen. It’s still great</li>
<li><strong><em>What Ever Happened to Baby Jane?</em></strong> [2.5] 2024-07-14<br/>
This was an object lesson in the importance of judging a film in its context. I know this is a great film, but watching it in the 21st century just didn’t have the impact that watching it in the early 60s would have had</li>
<li><em><strong>Crossing</strong></em> [3.5] 2024-07-16<br/>
A Georgian woman travels to Istanbul to try to find her niece. We learn a lot about the gay and trans communities in the city. I enjoyed this a lot</li>
<li><em><strong>American Gigolo</strong></em> [3] 2024-07-28<br/>
Something else that I had never seen. And, to be honest, I don’t think I had really missed much</li>
<li><em><strong>Dìdi (弟弟)</strong></em> [3.5] 2024-07-31<br/>
Nice little story about a Taiwanese teen growing up in California</li>
<li><em><strong>I Saw the TV Glow</strong></em> [4] 2024-08-05<br/>
I imagine this will be on many “best films of the year” lists. It’s a very strange film about two teens and their obsession with a TV show that closely resembles <em>Buffy the Vampire Slayer</em>.</li>
<li><strong><em>Hollywoodgate</em></strong> [2.5] 2024-08-13<br/>
I really wanted to like this. An Egyptian filmmaker manages to get permission to film a Taliban group that takes over an American base in Afghanistan. But, ultimately, don’t let him film anything interesting and the film is a bit of a disappointment</li>
<li><strong><em>Beverly Hills Cop</em></strong> [1] 2024-08-18<br/>
I had never seen this before. And I wish I still hadn’t. One of the worst films I’ve seen in a very long time</li>
<li><em><strong>Excalibur</strong></em> [4] 2024-08-25<br/>
Another old favourite that I hadn’t seen on the big screen for a very long time. This is the film that gave me an obsession with watching any film that’s based on Arthurian legend, no matter how bad (and a lot of them are very, very bad)</li>
<li><strong><em>The Quiet Girl</em></strong> [3.5] 2024-09-01<br/>
A young Irish girl is sent away to spend the summer with distant relations. She comes to realise that life doesn’t have to be as grim as it usually is for her</li>
<li><em><strong>Lee</strong></em> [3.5] 2024-09-04<br/>
A really good biopic about the American photographer Lee Miller. Kate Winslet is really good as Miller</li>
<li><em><strong>The Queen of My Dreams</strong></em> [3.5] 2024-09-11<br/>
Another film that I wouldn’t have seen without Film Club. A Canadian Pakistani lesbian woman visits Pakistan and learns about some of the cultural pressures that shaped her mother. It’s a lovely film</li>
<li><em><strong>My Own Private Idaho</strong></em> [2] 2024-09-15<br/>
Another film that I had never seen before. Some nice acting by Keanu Reeves and River Phoenix, but this really didn’t interest me</li>
<li><em><strong>Girls Will Be Girls</strong></em> [3.5] 2024-09-17<br/>
A coming-of-age film about a teenage girl in India. I enjoyed this</li>
<li><em><strong>The Shape of Water</strong></em> [3.5] 2024-09-22<br/>
I don’t think I’ve seen this since the year it was released (and won the Best Picture Oscar). I still enjoyed it, but I didn’t think it held up as well as I expected it to</li>
<li><em><strong>The Banshees of Inisherin</strong></em> [3.5] 2024-09-29<br/>
I’d seen this on TV, but you need to see it on a big screen to get the full effect. I’m sure you all know how good it is</li>
<li><em><strong>The Full Monty</strong></em> [3] 2024-10-06<br/>
I never understood why this was so much more popular than <em>Brassed Off</em> which is, to me at least, a far better example of the “British worker fish out of water” genre (that’s not a genre, is it?) I guess it’s the soundtrack and the slightly Beryl Cook overtones – the British love a bit of smut</li>
<li><em><strong>Timestalker</strong></em> [2.5] 2024-10-08<br/>
I really wanted to like this. But if just didn’t grab me. I’ll try it again at some point</li>
<li><em><strong>Nomadland</strong></em> [3] 2024-10-13<br/>
Another Best Picture Oscar winner. And it’s another one where I can really see how important and well-made it is – but it just doesn’t do anything for me</li>
<li><em><strong>The Apprentice</strong></em> [4] 2024-10-17<br/>
I don’t know why Trump was so against this film. I thought he came out of this far more positively than I expected. But it seemed to barely get a release. It has still picked up a few (well-deserved) nominations though</li>
<li><em><strong>Little Miss Sunshine</strong></em> [4] 2024-10-20<br/>
Another old favourite. I loved seeing this again</li>
<li><strong><em>Stoker</em></strong> [3] 2024-10-27<br/>
I had never seen this before. I can’t quite put my finger on it, but I didn’t really enjoy it</li>
<li><em><strong>Anora</strong></em> [4] 2024-10-29<br/>
This was probably the best film I saw this year. Well, certainly the best new film. It’s getting a lot of awards buzz. I hope it does well</li>
<li><em><strong>(500) Days of Summer</strong></em> [4] 2024-11-03<br/>
I don’t think I had seen this since soon after it was released. It was great to see it again</li>
<li><em><strong>Bird</strong></em> [3] 2024-11-05<br/>
This was slightly strange. I’ve seen a few films about the grimness of life on council estates. But this one threw in a bit of magical realism that didn’t really work for me</li>
<li><em><strong>Sideways</strong></em> [3.5] 2024-11-10<br/>
Another film I hadn’t watched for far too long</li>
<li><em><strong>Sunshine</strong></em> [4] 2024-11-17<br/>
This is one of my favourite recent(ish) scifi films. I saw it on the Science Museum’s IMAX screen in 2023, but I wasn’t going to skip the chance to see it again</li>
<li><em><strong>Conclave</strong></em> [3.5] 2024-11-19<br/>
Occasionally, this series gives you a chance to see something that’s going to be up for plenty of awards. This was a good example. I enjoyed it</li>
<li><em><strong>The Grand Budapest Hotel</strong></em> [4] 2024-11-24<br/>
I’ve been slightly disappointed with a few recent Wes Anderson films, so it was great to have the opportunity to see one of his best back on the big screen</li>
<li><em><strong>The Universal Theory</strong></em> [4] 2024-11-26<br/>
I knew nothing about this going into it. And it was a fabulous film. Mysteries and quantum physics in the Swiss Alps. And all filmed in black and white. This didn’t get the coverage it deserved.</li>
<li><strong><em>Home Alone</em></strong> [2] 2024-12-08<br/>
I thought I had never seen this before. But apparently I logged watching it many years ago. I know everyone loves it, but I couldn’t see the point</li>
<li><strong><em>The Apartment</em></strong> [4] 2024-12-15<br/>
This was interesting. I have a background quest to watch all of the Best Picture Oscar winners and I hadn’t seen this one. I knew absolutely nothing about it. I thought it was really good</li>
<li><strong><em>The Taste of Things</em></strong> [3.5] 2024-12-21<br/>
A film that I didn’t get to see earlier in the year. It’s largely about cooking in a late-nineteenth century French country kitchen. It would make an interesting watch alongside <em>The Remains of the Day</em></li>
<li><strong><em>Christmas Eve in Miller’s Point</em></strong> [2] 2024-12-24<br/>
I didn’t understand this at all. It went nowhere and said nothing interesting. A large family meets up for their traditional Christmas Eve. No-one enjoys themself</li>
<li><strong><em>La Chimera</em></strong> [2] 2024-12-29<br/>
And finishing on a bit of a low. I don’t understand why this got so many good reviews. Maybe I just wasn’t in the right mood for it. Something about criminals looking for ancient relics in Italy</li>
</ol>
<p>The post <a href="https://blog.dave.org.uk/2024/12/picturehouse-film-club.html">Picturehouse Film Club</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>I’ve been a member of Picturehouse Cinemas for something approaching twenty years. It costs about £60 a year and for that, you get five free tickets and discounts on your tickets and snacks. I’ve often wondered whether it’s worth paying for, but in the last couple of years, they’ve added an extra feature that makes… <a class="more-link" href="https://blog.dave.org.uk/2024/12/picturehouse-film-club.html">Continue reading <span class="screen-reader-text">Picturehouse Film Club</span></a></p>
<p>The post <a href="https://blog.dave.org.uk/2024/12/picturehouse-film-club.html">Picturehouse Film Club</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://blog.dave.org.uk/?p=3947</id>
<published>2024-12-31T16:05:13Z</published>
<updated>2024-12-31T16:05:13Z</updated>
<category term="film"/>
<category term="2024"/>
<category term="clapham"/>
<category term="film club"/>
<category term="picturehouse"/>
</entry>
<entry>
<title>DAVECROSS has released App-Aphra-0.2.4</title>
<link rel="alternate" href="https://metacpan.org/release/DAVECROSS/App-Aphra-0.2.4" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">Simple static sitebuilder in Perl</div>
</content>
<author>
<name>DAVECROSS</name>
</author>
<id>https://metacpan.org/release/DAVECROSS/App-Aphra-0.2.4</id>
<published>2024-11-27T15:13:02Z</published>
<updated>2024-11-27T15:13:02Z</updated>
</entry>
<entry>
<title>A link site of your very own</title>
<link rel="alternate" href="https://dev.to/davorg/a-link-site-of-your-very-own-3obf" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>When I first wrote about <a href="https://dev.to/davorg/pointless-personal-side-projects-1jlk">my pointless personal side projects</a> a few months ago, I used the software I had written to generate <a href="https://links.davecross.co.uk/" rel="noopener noreferrer">my own link site</a> (like a <a href="https://linktr.ee/" rel="noopener noreferrer">LinkTree</a> clone) as an example.</p>
<p>I’m happy to report that I’ve continued to work on this software. Recently, it passed another milestone—I released a version to CPAN. It’s called <a href="https://metacpan.org/release/DAVECROSS/App-LinkSite-0.0.10" rel="noopener noreferrer">App::LinkSite</a>[*]. If you’d like a Link Site of your own, there are a few ways you can achieve that.</p>
<p>In all cases, you’ll want to gather a few pieces of information first. I store mine in <a href="https://github.com/davorg/links" rel="noopener noreferrer">a GitHub repo</a>[**].</p>
<p>Most importantly, you’ll need the list of links that you want to display on your site. These go in a file called “<a href="https://github.com/davorg/links/blob/main/links.json" rel="noopener noreferrer">links.json</a>“. There are two types of link.</p>
<ol>
<li>Social media links. These appear as a row of icons across the top of your link site. I’ve covered most of the popular options, but if there are any more you need, just <a href="https://github.com/davorg-cpan/app-linksite/issues" rel="noopener noreferrer">raise an issue</a> against the repo.</li>
<li>Standard links. These go to web sites, blogs and things like that. In every case, you’ll need the link and a title to display. You can optionally add a subtitle and a “new” flag (which will slightly change the way the link is displayed – to make it more obvious).</li>
</ol>
<p>There are also a few bits of header information you’ll want to add:</p>
<ul>
<li>Name</li>
<li>Default handle – this is displayed on the page, but also used as the default handle in your social media links</li>
<li>Image – presumably your picture</li>
<li>Open Graph Image – which is optionally added to the header of the site</li>
<li>The URL of your site – used for various SEO tags in the output</li>
<li>Description</li>
<li>Optional Google Analytics 4 Tag</li>
</ul>
<p>Put all of that information into “links.json” and put the images in a directory called “img”. Fuller <a href="https://github.com/davorg-cpan/app-linksite/blob/main/README.md" rel="noopener noreferrer">documentation is in the README</a>.</p>
<p>Now you get to decide how you’re going to build your site.</p>
<p><strong>Installed CPAN module</strong></p>
<p>You can install the module (App::LinkSite) using your favourite CPAN installation tool. Then you can just run the “linksite” command and your site will be written to the “docs” directory – which you can then deploy to the web in whatever way you prefer.</p>
<p><strong>Docker image</strong></p>
<p>I build a Docker image whenever I release a new version of the code. That image is <a href="https://hub.docker.com/r/davorg/links" rel="noopener noreferrer">released to the Docker hub</a>. So if you like Docker, you can just pull down the “davorg/links:latest” image and go from there.</p>
<p><strong>GitHub Actions and GitHub Pages</strong></p>
<p>But this is my favourite approach. Let GitHub do all the heavy lifting for you. There’s a little bit of set-up you’ll need to do.</p>
<ul>
<li>Store the “links.json” and the images in a new repo in GitHub</li>
<li>Create a “.github/workflows” directory in your new repo and copy my “<a href="https://github.com/davorg/links/blob/main/.github/workflows/build.yml" rel="noopener noreferrer">build.yaml</a>” workflow into that directory</li>
</ul>
<p>Now, whenever you change anything in your repo, your site will be rebuilt and redeployed automatically. There’s also a “run this workflow” under the “Actions” tab of your repo that allows you to run the build and deployment automatically whenever you want.</p>
<p>This is the mechanism I like best – as it’s the least amount of work!</p>
<p>If you try this, please let me know as I’d like to add an “Examples” section to the README file. Also, if you try it and have problems getting it working, then <a href="https://github.com/davorg-cpan/app-linksite/issues" rel="noopener noreferrer">let me know too</a>. It works for me, but I’m sure I’ve forgotten to cater for some specific complexity of how other people would like to use my software. I’m always happy to get suggestions on how to improve things – even if it’s just better documentation.</p>
<p>[*] My continued use of the new Perl class syntax still seems to be <a href="https://dev.to/davorg/on-the-bleading-edge-1olf">causing problems with the CPAN infrastructure</a>. The distribution isn’t being indexed properly.</p>
<p>[**] This shouldn’t be too much of a surprise – I store pretty much everything in a GitHub repo.</p>
<p>The post <a href="https://perlhacks.com/2024/11/a-link-site-of-your-very-own/" rel="noopener noreferrer">A link site of your very own</a> appeared first on <a href="https://perlhacks.com" rel="noopener noreferrer">Perl Hacks</a>.</p>
</div>
</content>
<author>
<name>Dave Cross</name>
</author>
<id>https://dev.to/davorg/a-link-site-of-your-very-own-3obf</id>
<published>2024-11-17T17:19:37Z</published>
<updated>2024-11-17T17:19:37Z</updated>
<category term="programming"/>
<category term="applinksite"/>
<category term="cpan"/>
<category term="linksite"/>
</entry>
<entry>
<title>Royal Titles Decoded: What Makes a Prince or Princess? — Line of Succession Blog</title>
<link rel="alternate" href="https://medium.com/line-of-succession/royal-titles-decoded-what-makes-a-prince-or-princess-line-of-succession-blog-ff8cbe15a1cc?source=rss-3781feb8a4f4------2" type="text/html"/>
<content type="html"><h3>Royal Titles Decoded: What Makes a Prince or Princess? — Line of Succession Blog</h3><figure><img alt="Letters Patent issued by George V in 1917" src="https://cdn-images-1.medium.com/max/768/1*0Mri416usTFwznC_oH68sw.jpeg" /></figure><p>Royal titles in the United Kingdom carry a rich tapestry of history, embodying centuries of tradition while adapting to the changing landscape of the modern world. This article delves into the structure of these titles, focusing on significant changes made during the 20th and 21st centuries, and how these rules affect current royals.</p><h4>The Foundations: Letters Patent of 1917</h4><p>The framework for today’s royal titles was significantly shaped by the Letters Patent issued by King George V in 1917. This document was pivotal in redefining who in the royal family would be styled with “His or Her Royal Highness” (HRH) and as a prince or princess. Specifically, the 1917 Letters Patent restricted these styles to:</p><ul><li>The sons and daughters of a sovereign.</li><li>The male-line grandchildren of a sovereign.</li><li>The eldest living son of the eldest son of the Prince of Wales.</li></ul><p>This move was partly in response to the anti-German sentiment of World War I, aiming to streamline the monarchy and solidify its British identity by reducing the number of royals with German titles.</p><p>Notice that the definitions talk about “a sovereign”, not “the sovereign”. This means that when the sovereign changes, no-one will lose their royal title (for example, Prince Andrew is still the son of <em>a</em> sovereign, even though he is no longer the son of <em>the</em> sovereign). However, people can gain royal titles when the sovereign changes — we will see examples below.</p><h4>Extension by George VI in 1948</h4><p>Understanding the implications of the existing rules as his family grew, King George VI issued a new Letters Patent in 1948 to extend the style of HRH and prince/princess to the children of the future queen, Princess Elizabeth (later Queen Elizabeth II). This was crucial as, without this adjustment, Princess Elizabeth’s children would not automatically have become princes or princesses because they were not male-line grandchildren of the monarch. This ensured that Charles and Anne were born with princely status, despite being the female-line grandchildren of a monarch.</p><h4>The Modern Adjustments: Queen Elizabeth II’s 2012 Update</h4><p>Queen Elizabeth II’s update to the royal titles in 2012 before the birth of Prince William’s children was another significant modification. The Letters Patent of 2012 decreed that all the children of the eldest son of the Prince of Wales would hold the title of HRH and be styled as prince or princess, not just the eldest son. This move was in anticipation of changes brought about by the Succession to the Crown Act of 2013, which ended the system of male primogeniture, ensuring that the firstborn child of the Prince of Wales, regardless of gender, would be the direct heir to the throne. Without this change, there could have been a situation where Prince William’s first child (and the heir to the throne) was a daughter who wasn’t a princess, whereas her eldest (but younger) brother would have been a prince.</p><h4>Impact on Current Royals</h4><ul><li><strong>Children of Princess Anne</strong>: When Anne married Captain Mark Phillips in 1973, he was offered an earldom but declined it. Consequently, their children, Peter Phillips and Zara Tindall, were not born with any titles. This decision reflects Princess Anne’s preference for her children to have a more private life, albeit still active within the royal fold.</li><li><strong>Children of Prince Edward</strong>: Initially, Prince Edward’s children were styled as children of an earl, despite his being a son of the sovereign. Recently, his son James assumed the courtesy title Earl of Wessex, which Prince Edward will inherit in due course from Prince Philip’s titles. His daughter, Lady Louise Windsor, was also styled in line with Edward’s wish for a lower-profile royal status for his children.</li><li><strong>Children of Prince Harry:</strong> When Archie and Lilibet were born, they were not entitled to princely status or HRH. They were great-grandchildren of the monarch and, despite the Queen’s adjustments in 2012, their cousins — George, Charlotte and Louis — were the only great-grandchildren of the monarch with those titles. When their grandfather became king, they became male-line grandchildren of a monarch and, hence, a prince and a princess. It took a while for those changes to be reflected on the royal family website. This presumably gave the royal household time to reflect on the effect of the children’s parents withdrawing from royal life and moving to the USA.</li></ul><h4>Special Titles: Prince of Wales and Princess Royal</h4><ul><li><strong>Prince of Wales</strong>: Historically granted to the heir apparent, this title is not automatic and needs to be specifically bestowed by the monarch. Prince Charles was created Prince of Wales in 1958, though he had been the heir apparent since 1952. Prince William, on the other hand, received the title in 2022 — just a day after the death of Queen Elizabeth II.</li><li><strong>Princess Royal</strong>: This title is reserved for the sovereign’s eldest daughter but is not automatically reassigned when the previous holder passes away or when a new eldest daughter is born. Queen Elizabeth II was never Princess Royal because her aunt, Princess Mary, held the title during her lifetime. Princess Anne currently holds this title, having received it in 1987.</li></ul><h4>The Fade of Titles: Distant Royals</h4><p>As the royal family branches out, descendants become too distanced from the throne, removing their entitlement to HRH and princely status. For example, the Duke of Gloucester, Duke of Kent, Prince Michael of Kent and Princess Alexandra all have princely status as male-line grandchildren of George V. Their children are all great-grandchildren of a monarch and, therefore, do not all have royal styles or titles. This reflects a natural trimming of the royal family tree, focusing the monarchy’s public role on those directly in line for succession.</p><h4>Conclusion</h4><p>The evolution of British royal titles reflects both adherence to deep-rooted traditions and responsiveness to modern expectations. These titles not only delineate the structure and hierarchy within the royal family but also adapt to changes in societal norms and the legal landscape, ensuring the British monarchy remains both respected and relevant in the contemporary era.</p><p><em>Originally published at </em><a href="https://blog.lineofsuccession.co.uk/2024/04/royal-titles-decoded-what-makes-a-prince-or-princess/"><em>https://blog.lineofsuccession.co.uk</em></a><em> on April 25, 2024.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff8cbe15a1cc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/line-of-succession/royal-titles-decoded-what-makes-a-prince-or-princess-line-of-succession-blog-ff8cbe15a1cc">Royal Titles Decoded: What Makes a Prince or Princess? — Line of Succession Blog</a> was originally published in <a href="https://medium.com/line-of-succession">Line of Succession</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p></content>
<author>
<name>Dave Cross</name>
</author>
<id>https://medium.com/p/ff8cbe15a1cc</id>
<published>2024-04-25T13:38:00Z</published>
<updated>2024-04-25T13:44:22.543000Z</updated>
</entry>
<entry>
<title>The Tourist</title>
<link rel="alternate" href="https://davorg.medium.com/the-tourist-41ea5faabeae?source=rss-3781feb8a4f4------2" type="text/html"/>
<content type="html"><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jMwOTwfFuoyypgvaDZuDkQ.png" /><figcaption>The view of the planet [AI-generated image]</figcaption></figure><p>Changing rooms are the same all over the galaxy and this one really played to the stereotype. The lights flickered that little bit more than you’d want them to, a sizeable proportion of the lockers wouldn’t lock and the whole room needed a good clean. It didn’t fit with the eye-watering amount of money we had all paid for the tour.</p><p>There were a dozen or so of us changing from our normal clothes into outfits that had been supplied by the tour company — outfits that were supposed to render us invisible when we reached our destination. Not invisible in the “bending light rays around you” way, they would just make us look enough like the local inhabitants that no-one would give us a second glance.</p><p>Appropriate changing room etiquette was followed. Everyone was either looking at the floor or into their locker to avoid eye contact with anyone else. People talked in lowered voices to people they had come with. People who, like me, had come alone were silent. I picked up on some of the quiet conversations — they were about the unusual flora and fauna of our location and the unique event we were here to see.</p><p>Soon, we had all changed and were ushered into a briefing room where our guide told us many things we already knew. She had slides explaining the physics behind the phenomenon and was at great pains to emphasise the uniqueness of the event. No other planet in the galaxy had been found that met all of the conditions for what we were going to see. She went through the history of tourism to this planet — decades of uncontrolled visits followed by the licensing of a small number of carefully vetted companies like the one we were travelling with.</p><p>She then turned to more practical matters. She reiterated that our outfits would allow us to pass for locals, but that we should do all we could to avoid any interactions with the natives. She also reminded us that we should only look at the event through the equipment that we would be issued with on our way down to the planet.</p><p>Through a window in the briefing room a planet, our destination, hung in space. Beyond the planet, its star could also be seen.</p><p>An hour or so later, we were on the surface of the planet. We were deposited at the top of a grassy hill on the edge of a large crowd of the planet’s inhabitants. Most of us were of the same basic body shape as the quadruped locals and, at first glance at least, passed for them. A few of us were less lucky and had to stay in the vehicles to avoid suspicion.</p><p>The timing of the event was well understood and the company had dropped us off early enough that we were able to find a good viewing spot but late enough that we didn’t have long to wait. We had been milling around for half an hour or so when a palpable moment of excitement passed through the crowd and everyone looked to the sky.</p><p>Holding the equipment I had been given to my eyes I could see what everyone else had noticed. A small bite seemed to have been taken from the bottom left of the planet’s sun. As we watched, the bite got larger and larger as the planet’s satellite moved in front of the star. The satellite appeared to be a perfect circle, but at the last minute — just before it covered the star completely — it became obvious that the edge wasn’t smooth as gaps between irregularities on the surface (mountains, I suppose) allowed just a few points of light through.</p><p>And then the satellite covered the sun and the atmosphere changed completely. The world turned dark and all conversations stopped. All of the local animals went silent. It was magical.</p><p>My mind went back to the slides explaining the phenomenon. Obviously, the planet’s satellite and star weren’t the same size, but their distance from the planet exactly balanced their difference in size so they appeared the same size in the sky. And the complex interplay of orbits meant that on rare occasions like this, the satellite would completely and exactly cover the star.</p><p>That was what we were there for. This was what was unique about this planet. No other planet in the galaxy had a star and a satellite that appeared exactly the same size in the sky. This is what made the planet the most popular tourist spot in the galaxy.</p><p>Ten minutes later, it was over. The satellite continued on its path and the star was gradually uncovered. Our guide bundled us into the transport and back up to our spaceship.</p><p>Before leaving the vicinity of the planet, our pilot found three locations in space where the satellite and the star lined up in the same way and created fake eclipses for those of us who had missed taking photos of the real one.</p><p><em>Originally published at </em><a href="https://blog.dave.org.uk/2024/04/the-tourist.html"><em>https://blog.dave.org.uk</em></a><em> on April 7, 2024.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41ea5faabeae" width="1" height="1" alt=""></content>
<author>
<name>Dave Cross</name>
</author>
<id>https://medium.com/p/41ea5faabeae</id>
<published>2024-04-07T09:46:53Z</published>
<updated>2024-04-10T17:33:33.321000Z</updated>
<category term="astronomy"/>
<category term="short-story"/>
<category term="writing"/>
<category term="fiction"/>
</entry>
<entry>
<title>The Tourist</title>
<link rel="alternate" href="https://blog.dave.org.uk/2024/04/the-tourist.html" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p><span style="font-weight: 400;">Changing rooms are the same all over the galaxy and this one really played to the stereotype. The lights flickered that little bit more than you’d want them to, a sizeable proportion of the lockers wouldn’t lock and the whole room needed a good clean. It didn’t fit with the eye-watering amount of money we had all paid for the tour.</span></p>
<p><span style="font-weight: 400;">There were a dozen or so of us changing from our normal clothes into outfits that had been supplied by the tour company – outfits that were supposed to render us invisible when we reached our destination. Not invisible in the “bending light rays around you” way, they would just make us look enough like the local inhabitants that no-one would give us a second glance.</span></p>
<p><span style="font-weight: 400;">Appropriate changing room etiquette was followed. Everyone was either looking at the floor or into their locker to avoid eye contact with anyone else. People talked in lowered voices to people they had come with. People who, like me, had come alone were silent. I picked up on some of the quiet conversations – they were about the unusual flora and fauna of our location and the unique event we were here to see.</span></p>
<p><span style="font-weight: 400;">Soon, we had all changed and were ushered into a briefing room where our guide told us many things we already knew. She had slides explaining the physics behind the phenomenon and was at great pains to emphasise the uniqueness of the event. No other planet in the galaxy had been found that met all of the conditions for what we were going to see. She went through the history of tourism to this planet – decades of uncontrolled visits followed by the licensing of a small number of carefully vetted companies like the one we were travelling with.</span></p>
<p><span style="font-weight: 400;">She then turned to more practical matters. She reiterated that our outfits would allow us to pass for locals, but that we should do all we could to avoid any interactions with the natives. She also reminded us that we should only look at the event through the equipment that we would be issued with on our way down to the planet.</span></p>
<p><span style="font-weight: 400;">Through a window in the briefing room a planet, our destination, hung in space. Beyond the planet, its star could also be seen.</span></p>
<p><span style="font-weight: 400;">An hour or so later, we were on the surface of the planet. We were deposited at the top of a grassy hill on the edge of a large crowd of the planet’s inhabitants. Most of us were of the same basic body shape as the quadruped locals and, at first glance at least, passed for them. A few of us were less lucky and had to stay in the vehicles to avoid suspicion.</span></p>
<p><span style="font-weight: 400;">The timing of the event was well understood and the company had dropped us off early enough that we were able to find a good viewing spot but late enough that we didn’t have long to wait. We had been milling around for half an hour or so when a palpable moment of excitement passed through the crowd and everyone looked to the sky.</span></p>
<p><span style="font-weight: 400;">Holding the equipment I had been given to my eyes I could see what everyone else had noticed. A small bite seemed to have been taken from the bottom left of the planet’s sun. As we watched, the bite got larger and larger as the planet’s satellite moved in front of the star. The satellite appeared to be a perfect circle, but at the last minute – just before it covered the star completely – it became obvious that the edge wasn’t smooth as gaps between irregularities on the surface (mountains, I suppose) allowed just a few points of light through.</span></p>
<p><span style="font-weight: 400;">And then the satellite covered the sun and the atmosphere changed completely. The world turned dark and all conversations stopped. All of the local animals went silent. It was magical.</span></p>
<p><span style="font-weight: 400;">My mind went back to the slides explaining the phenomenon. Obviously, the planet’s satellite and star weren’t the same size, but their distance from the planet exactly balanced their difference in size so they appeared the same size in the sky. And the complex interplay of orbits meant that on rare occasions like this, the satellite would completely and exactly cover the star.</span></p>
<p><span style="font-weight: 400;">That was what we were there for. This was what was unique about this planet. No other planet in the galaxy had a star and a satellite that appeared exactly the same size in the sky. This is what made the planet the most popular tourist spot in the galaxy.</span></p>
<p><span style="font-weight: 400;">Ten minutes later, it was over. The satellite continued on its path and the star was gradually uncovered. Our guide bundled us into the transport and back up to our spaceship.</span></p>
<p><span style="font-weight: 400;">Before leaving the vicinity of the planet, our pilot found three locations in space where the satellite and the star lined up in the same way and created fake eclipses for those of us who had missed taking photos of the real one.</span></p>
<p>The post <a href="https://blog.dave.org.uk/2024/04/the-tourist.html">The Tourist</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>Changing rooms are the same all over the galaxy and this one really played to the stereotype. The lights flickered that little bit more than you’d want them to, a sizeable proportion of the lockers wouldn’t lock and the whole room needed a good clean. It didn’t fit with the eye-watering amount of money we… <a class="more-link" href="https://blog.dave.org.uk/2024/04/the-tourist.html">Continue reading <span class="screen-reader-text">The Tourist</span></a></p>
<p>The post <a href="https://blog.dave.org.uk/2024/04/the-tourist.html">The Tourist</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://blog.dave.org.uk/?p=3931</id>
<published>2024-04-07T09:46:27Z</published>
<updated>2024-04-07T09:46:27Z</updated>
<category term="writing"/>
<category term="astronomy"/>
<category term="fiction"/>
<category term="tourism"/>
</entry>
<entry>
<title>2023 in Gigs</title>
<link rel="alternate" href="https://blog.dave.org.uk/2023/12/2023-in-gigs.html" type="text/html"/>
<content type="html">
<p>I really thought that 2023 would be the year I got back into the swing of seeing gigs. But, somehow I ended up seeing even fewer than I did in 2022 &#8211; 12, when I saw 16 the previous year. Sometimes, I look at <a href="https://martinbelam.com/category/music/gig-reviews/">Martin&#8217;s monthly gig round-ups</a> and wonder what I&#8217;m doing with my life!</p>
<p>I normally list my ten favourite gigs of the year, but it would be rude to miss just two gigs from the list, so here are all twelve gigs I saw this year &#8211; in, as always, chronological order.</p>
<ul class="wp-block-list">
<li><a href="https://www.songkick.com/concerts/40810079-john-grant-at-st-jamess-church-piccadilly"><strong>John Grant (supported by The Faultress) at St. James&#8217;s Church</strong></a><br>John Grant has become one of those artists I try to see whenever they pass through London. And this was a particularly special night as he was playing an acoustic set in one of the most atmospheric venues in London. The evening was only slightly marred by the fact I arrived too late to get a decent seat and ended up not being able to see anything.</li>
<li><a href="https://www.songkick.com/concerts/40660413-hannah-peel-at-kings-place"><strong>Hannah Peel at Kings Place</strong></a><br>Hannah Peel was the artist in residence at Kings Place for a few months during the year and played three gigs during that time. This was the first of them &#8211; where she played her recent album, <em>Fir Wave</em>, in its entirety. A very laid-back and thoroughly enjoyable evening.</li>
<li><a href="https://www.songkick.com/concerts/40792448-orbital-at-eventim-apollo"><strong>Orbital at the Eventim Apollo</strong></a><br>I&#8217;ve been meaning to get around to seeing Orbital for many years. This show was originally planned to be at the Brixton Academy but as that venue is currently closed, it was relocated to Hammersmith. To be honest, this evening was slightly hampered by the fact I don&#8217;t know as much of their work as I thought I did and it was all a bit samey. I ended up leaving before the encore.</li>
<li><a href="https://www.songkick.com/concerts/40755436-duran-duran-at-o2"><strong>Duran Duran (supported by Jake Shears) at the O2 Arena</strong></a><br>Continuing my quest to see all of the bands I was listening to in the 80s (and, simultaneously, ticking off the one visit to the O2 that I allow myself each year). I really enjoyed the nostalgia of seeing Duran Duran but, to be honest, I think I enjoyed Jake Shears more &#8211; and it was the Scissor Sisters I was listening to on the way home.</li>
<li><a href="https://www.songkick.com/concerts/40662722-hannah-peel-at-kings-place"><strong>Hannah Peel and Beibei Wang at Kings Place</strong></a><br>Even in a year where I only see a few gigs, I still manage to see artists more than once. This was the second of Hannah Peel&#8217;s artist-in-residence shows. She appeared with Chinese percussionist Beibei Wang in a performance that was completely spontaneous and unrehearsed. Honestly, some parts were more successful than others, but it was certainly an interesting experience.</li>
<li><strong>Songs from Summerisle at the Barbican Hall</strong><br><em>The Wicker Man</em> is one of my favourite films, so I jumped at the chance to see the songs from the soundtrack performed live. But unfortunately, the evening was a massive disappointment. The band sounded like they had met just before the show and, while they all obviously knew the songs, they hadn&#8217;t rehearsed them together. Maybe they were going for a rustic feel &#8211; but, to me, it just sounded unprofessional.</li>
<li><a href="https://www.songkick.com/concerts/40752925-belle-and-sebastian-at-roundhouse"><strong>Belle and Sebastian at the Roundhouse</strong></a><br>Another act that I try to see as often as possible. I know some people see Belle and Sebastian as the most <em>Guardian</em>-reader band ever &#8211; but I love them. This show saw them on top form.</li>
<li><strong><a href="https://www.songkick.com/concerts/40880411-jon-anderson-at-o2-shepherds-bush-empire">Jon Anderson and the Paul Green Rock Academy at the Shepherds Bush Empire</a></strong><br>I&#8217;ve seen Yes play live a few times in the last ten years or so and, to be honest, it can sometimes be a bit over-serious and dull. In this show, Jon Anderson sang a load of old Yes songs with a group of teenagers from the Paul Green Rock Academy (the school that <em>School of Rock</em> was based on) and honestly, the teenagers brought such a feeling of fun to the occasion that it was probably the best Yes-related show that I&#8217;ve seen.</li>
<li><strong><a href="https://www.songkick.com/concerts/41093083-john-grant-at-barbican-centre">John Grant and Richard Hawley at the Barbican Hall</a></strong><br>Another repeated act &#8211; my second time seeing John Grant in a year. This was something different as he was playing a selection of Patsy Cline songs. I don&#8217;t listen to Patsy Cline much, but I knew a few more of the songs than I expected to. This was a bit lower-key than I was expecting.</li>
<li><strong><a href="https://www.songkick.com/concerts/40765146-peter-hook-and-the-light-at-eventim-apollo">Peter Hook and the Light at the Eventim Apollo</a></strong><br>I&#8217;ve been planning to see Peter Hook and the Light for a couple of years. There was a show I had tickets for in 2020, but it was postponed because of COVID and when it was rescheduled, I was unable to go, so I cancelled my ticket and got a refund. So I was pleased to get another chance. And this show had them playing both of the <em>Substance </em>albums (Joy Division and New Order). I know New Order still play some Joy Division songs in their sets, but this is probably the best chance I&#8217;ll have to see some deep Joy Division cuts played live. I really enjoyed this show.</li>
<li><strong><a href="https://www.songkick.com/concerts/41086395-heaven-17-at-o2-shepherds-bush-empire">Heaven 17 at the Shepherds Bush Empire</a></strong><br>It seems I see Heaven 17 live most years and they usually appear on my &#8220;best of&#8221; lists. This show was celebrating the fortieth anniversary of their album <em>The Luxury Gap</em> &#8211; so that got played in full, alongside many other Heaven 17 and Human League songs. A thoroughly enjoyable night.</li>
<li><strong><a href="https://www.songkick.com/concerts/41519083-afro-celt-sound-system-official-at-roundhouse">The Imagined Village and Afro-Celt Sound System at the Roundhouse</a></strong><br>I&#8217;ve seen both The Imagined Village and the Afro-Celts live once before. And they were two of the best gigs I&#8217;ve ever seen. I pretty much assumed that the death of Simon Emmerson (who was an integral part of both bands) earlier in 2023 would mean that both bands would stop performing. But this show was a tribute to Emmerson and the bands both reformed to celebrate his work. This was probably my favourite gig of the year. That&#8217;s The Imagined Village (featuring two Carthys, dour Coppers and Billy Bragg) in the photo at the top of this post.</li>
</ul>
<p>So, what&#8217;s going to happen in 2024. I wonder if I&#8217;ll get back into the habit of going to more shows. I only have a ticket for one gig next year &#8211; They Might Be Giants playing <em>Flood </em>in November (a show that was postponed from this year). I guess we&#8217;ll see. Tune in this time next year to see what happened.</p>
<p>The post <a href="https://blog.dave.org.uk/2023/12/2023-in-gigs.html">2023 in Gigs</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><p>I really thought that 2023 would be the year I got back into the swing of seeing gigs. But, somehow I ended up seeing even fewer than I did in 2022 – 12, when I saw 16 the previous year. Sometimes, I look at Martin’s monthly gig round-ups and wonder what I’m doing with my… <a class="more-link" href="https://blog.dave.org.uk/2023/12/2023-in-gigs.html">Continue reading <span class="screen-reader-text">2023 in Gigs</span></a></p>
<p>The post <a href="https://blog.dave.org.uk/2023/12/2023-in-gigs.html">2023 in Gigs</a> appeared first on <a href="https://blog.dave.org.uk">Davblog</a>.</p>
</div>
</summary>
<author>
<name>Dave Cross</name>
</author>
<id>https://blog.dave.org.uk/?p=3923</id>
<published>2023-12-31T13:47:25Z</published>
<updated>2023-12-31T13:47:25Z</updated>
<category term="music"/>
<category term="2023"/>
<category term="gigs"/>
<category term="review"/>
<category term="year in gigs"/>
</entry>
<entry>
<title>Ratio: The Simple Codes Behind the Craft of Everyday Cooking (1) (Ruhlman's Ratios)</title>
<link rel="alternate" href="https://www.goodreads.com/review/show/5328005075?utm_medium=api&utm_source=rss" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.goodreads.com/book/show/3931154-ratio?utm_medium=api&utm_source=rss"><img alt="Ratio: The Simple Codes Behind the Craft of Everyday Cooking (1) (Ruhlman's Ratios)" src="https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1348460187l/3931154._SY75_.jpg"/></a><br/>
author: Michael Ruhlman<br/>
name: David<br/>
average rating: 4.06<br/>
book published: 2009<br/>
rating: 0<br/>
read at: <br/>
date added: 2023/02/06<br/>
shelves: currently-reading<br/>
review: <br/><br/>
</div>
</content>
<id>https://www.goodreads.com/review/show/5328005075?utm_medium=api&utm_source=rss</id>
<published>2023-02-06T14:03:05-08:00</published>
<updated>2023-02-06T14:03:05-08:00</updated>
</entry>
<entry xmlns:flickr="urn:flickr:user" xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>Goodbye Vivienne</title>
<link rel="alternate" type="text/html" href="https://www.flickr.com/photos/davorg/52595592514/"/>
<id>tag:flickr.com,2005:/photo/52595592514</id>
<published>2022-12-30T09:15:29Z</published>
<updated>2022-12-30T09:15:29Z</updated>
<flickr:date_taken>2022-12-30T09:15:29-08:00</flickr:date_taken>
<dc:date.Taken>2022-12-30T09:15:29-08:00</dc:date.Taken>
<content type="html"> <p><a href="https://www.flickr.com/people/davorg/">Dave Cross</a> posted a photo:</p>
<p><a href="https://www.flickr.com/photos/davorg/52595592514/" title="Goodbye Vivienne"><img src="https://live.staticflickr.com/65535/52595592514_49586513b2_m.jpg" width="240" height="240" alt="Goodbye Vivienne" /></a></p>
<p>via Instagram <a href="https://instagr.am/p/CmyT_MSNR3-/" rel="noreferrer nofollow">instagr.am/p/CmyT_MSNR3-/</a></p>
</content>
<author>
<name>Dave Cross</name>
<uri>https://www.flickr.com/people/davorg/</uri>
<flickr:nsid>39021241@N00</flickr:nsid>
<flickr:buddyicon>https://farm5.staticflickr.com/4759/buddyicons/39021241@N00.jpg?1516110776#39021241@N00</flickr:buddyicon>
</author>
<link rel="license" type="text/html" href="https://creativecommons.org/licenses/by-nc-sa/2.0/deed.en"/>
<link rel="enclosure" type="image/jpeg" href="https://live.staticflickr.com/65535/52595592514_49586513b2_b.jpg"/>
<category term="ifttt" scheme="https://www.flickr.com/photos/tags/"/>
<category term="instagram" scheme="https://www.flickr.com/photos/tags/"/>
<displaycategories>
</displaycategories>
</entry>
<entry xmlns:flickr="urn:flickr:user" xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>Low sun on Clapham Common this morning</title>
<link rel="alternate" type="text/html" href="https://www.flickr.com/photos/davorg/52593755903/"/>
<id>tag:flickr.com,2005:/photo/52593755903</id>
<published>2022-12-29T10:40:20Z</published>
<updated>2022-12-29T10:40:20Z</updated>
<flickr:date_taken>2022-12-29T10:40:20-08:00</flickr:date_taken>
<dc:date.Taken>2022-12-29T10:40:20-08:00</dc:date.Taken>
<content type="html"> <p><a href="https://www.flickr.com/people/davorg/">Dave Cross</a> posted a photo:</p>
<p><a href="https://www.flickr.com/photos/davorg/52593755903/" title="Low sun on Clapham Common this morning"><img src="https://live.staticflickr.com/65535/52593755903_ec090ddc46_m.jpg" width="240" height="240" alt="Low sun on Clapham Common this morning" /></a></p>
<p>via Instagram <a href="https://instagr.am/p/Cmv4y1eNiPn/" rel="noreferrer nofollow">instagr.am/p/Cmv4y1eNiPn/</a></p>
</content>
<author>
<name>Dave Cross</name>
<uri>https://www.flickr.com/people/davorg/</uri>
<flickr:nsid>39021241@N00</flickr:nsid>
<flickr:buddyicon>https://farm5.staticflickr.com/4759/buddyicons/39021241@N00.jpg?1516110776#39021241@N00</flickr:buddyicon>
</author>
<link rel="license" type="text/html" href="https://creativecommons.org/licenses/by-nc-sa/2.0/deed.en"/>
<link rel="enclosure" type="image/jpeg" href="https://live.staticflickr.com/65535/52593755903_ec090ddc46_b.jpg"/>
<category term="ifttt" scheme="https://www.flickr.com/photos/tags/"/>
<category term="instagram" scheme="https://www.flickr.com/photos/tags/"/>
<displaycategories>
</displaycategories>
</entry>
<entry xmlns:flickr="urn:flickr:user" xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>There are about a dozen parakeets in this tree. I can hear them and (occasionally) see them</title>
<link rel="alternate" type="text/html" href="https://www.flickr.com/photos/davorg/52593496674/"/>
<id>tag:flickr.com,2005:/photo/52593496674</id>
<published>2022-12-29T10:40:17Z</published>
<updated>2022-12-29T10:40:17Z</updated>
<flickr:date_taken>2022-12-29T10:40:17-08:00</flickr:date_taken>
<dc:date.Taken>2022-12-29T10:40:17-08:00</dc:date.Taken>
<content type="html"> <p><a href="https://www.flickr.com/people/davorg/">Dave Cross</a> posted a photo:</p>
<p><a href="https://www.flickr.com/photos/davorg/52593496674/" title="There are about a dozen parakeets in this tree. I can hear them and (occasionally) see them"><img src="https://live.staticflickr.com/65535/52593496674_6b0a00304d_m.jpg" width="240" height="240" alt="There are about a dozen parakeets in this tree. I can hear them and (occasionally) see them" /></a></p>
<p>via Instagram <a href="https://instagr.am/p/Cmv4rUAta58/" rel="noreferrer nofollow">instagr.am/p/Cmv4rUAta58/</a></p>
</content>
<author>
<name>Dave Cross</name>
<uri>https://www.flickr.com/people/davorg/</uri>
<flickr:nsid>39021241@N00</flickr:nsid>
<flickr:buddyicon>https://farm5.staticflickr.com/4759/buddyicons/39021241@N00.jpg?1516110776#39021241@N00</flickr:buddyicon>
</author>
<link rel="license" type="text/html" href="https://creativecommons.org/licenses/by-nc-sa/2.0/deed.en"/>
<link rel="enclosure" type="image/jpeg" href="https://live.staticflickr.com/65535/52593496674_6b0a00304d_b.jpg"/>
<category term="ifttt" scheme="https://www.flickr.com/photos/tags/"/>
<category term="instagram" scheme="https://www.flickr.com/photos/tags/"/>
<displaycategories>
</displaycategories>
</entry>
<entry xmlns:flickr="urn:flickr:user" xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>Sunrise on Clapham Common</title>
<link rel="alternate" type="text/html" href="https://www.flickr.com/photos/davorg/52589267684/"/>
<id>tag:flickr.com,2005:/photo/52589267684</id>
<published>2022-12-27T12:12:03Z</published>
<updated>2022-12-27T12:12:03Z</updated>
<flickr:date_taken>2022-12-27T12:12:03-08:00</flickr:date_taken>
<dc:date.Taken>2022-12-27T12:12:03-08:00</dc:date.Taken>
<content type="html"> <p><a href="https://www.flickr.com/people/davorg/">Dave Cross</a> posted a photo:</p>
<p><a href="https://www.flickr.com/photos/davorg/52589267684/" title="Sunrise on Clapham Common"><img src="https://live.staticflickr.com/65535/52589267684_b2cf79a732_m.jpg" width="240" height="240" alt="Sunrise on Clapham Common" /></a></p>
<p>via Instagram <a href="https://instagr.am/p/Cmq759NtKtE/" rel="noreferrer nofollow">instagr.am/p/Cmq759NtKtE/</a></p>
</content>
<author>
<name>Dave Cross</name>
<uri>https://www.flickr.com/people/davorg/</uri>
<flickr:nsid>39021241@N00</flickr:nsid>
<flickr:buddyicon>https://farm5.staticflickr.com/4759/buddyicons/39021241@N00.jpg?1516110776#39021241@N00</flickr:buddyicon>
</author>
<link rel="license" type="text/html" href="https://creativecommons.org/licenses/by-nc-sa/2.0/deed.en"/>
<link rel="enclosure" type="image/jpeg" href="https://live.staticflickr.com/65535/52589267684_b2cf79a732_b.jpg"/>
<category term="ifttt" scheme="https://www.flickr.com/photos/tags/"/>
<category term="instagram" scheme="https://www.flickr.com/photos/tags/"/>
<displaycategories>
</displaycategories>
</entry>
<entry xmlns:flickr="urn:flickr:user" xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>Brixton Academy</title>
<link rel="alternate" type="text/html" href="https://www.flickr.com/photos/davorg/52566997229/"/>
<id>tag:flickr.com,2005:/photo/52566997229</id>
<published>2022-12-16T11:16:52Z</published>
<updated>2022-12-16T11:16:52Z</updated>
<flickr:date_taken>2022-12-16T11:16:52-08:00</flickr:date_taken>
<dc:date.Taken>2022-12-16T11:16:52-08:00</dc:date.Taken>
<content type="html"> <p><a href="https://www.flickr.com/people/davorg/">Dave Cross</a> posted a photo:</p>
<p><a href="https://www.flickr.com/photos/davorg/52566997229/" title="Brixton Academy"><img src="https://live.staticflickr.com/65535/52566997229_4108602407_m.jpg" width="240" height="240" alt="Brixton Academy" /></a></p>
<p>via Instagram <a href="https://instagr.am/p/CmOfgfLtwL_/" rel="noreferrer nofollow">instagr.am/p/CmOfgfLtwL_/</a></p>
</content>
<author>
<name>Dave Cross</name>
<uri>https://www.flickr.com/people/davorg/</uri>
<flickr:nsid>39021241@N00</flickr:nsid>
<flickr:buddyicon>https://farm5.staticflickr.com/4759/buddyicons/39021241@N00.jpg?1516110776#39021241@N00</flickr:buddyicon>
</author>
<link rel="license" type="text/html" href="https://creativecommons.org/licenses/by-nc-sa/2.0/deed.en"/>
<link rel="enclosure" type="image/jpeg" href="https://live.staticflickr.com/65535/52566997229_4108602407_b.jpg"/>
<category term="ifttt" scheme="https://www.flickr.com/photos/tags/"/>
<category term="instagram" scheme="https://www.flickr.com/photos/tags/"/>
<displaycategories>
</displaycategories>
</entry>
<entry>
<title>S.</title>
<link rel="alternate" href="https://www.goodreads.com/review/show/4481423010?utm_medium=api&utm_source=rss" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.goodreads.com/book/show/17860739-s?utm_medium=api&utm_source=rss"><img alt="S." src="https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1378767595l/17860739._SY75_.jpg"/></a><br/>
author: J.J. Abrams<br/>
name: David<br/>
average rating: 3.86<br/>
book published: 2013<br/>
rating: 0<br/>
read at: <br/>
date added: 2022/01/16<br/>
shelves: currently-reading<br/>
review: <br/><br/>
</div>
</content>
<id>https://www.goodreads.com/review/show/4481423010?utm_medium=api&utm_source=rss</id>
<published>2022-01-16T14:03:01-08:00</published>
<updated>2022-01-16T14:03:01-08:00</updated>
</entry>
<entry>
<title>The Introvert Entrepreneur</title>
<link rel="alternate" href="https://www.goodreads.com/review/show/3162730028?utm_medium=api&utm_source=rss" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.goodreads.com/book/show/24970944-the-introvert-entrepreneur?utm_medium=api&utm_source=rss"><img alt="The Introvert Entrepreneur" src="https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1533022525l/24970944._SY75_.jpg"/></a><br/>
author: Beth Buelow<br/>
name: David<br/>
average rating: 3.43<br/>
book published: 2015<br/>
rating: 0<br/>
read at: <br/>
date added: 2020/01/27<br/>
shelves: currently-reading<br/>
review: <br/><br/>
</div>
</content>
<id>https://www.goodreads.com/review/show/3162730028?utm_medium=api&utm_source=rss</id>
<published>2020-01-27T02:49:21-08:00</published>
<updated>2020-01-27T02:49:21-08:00</updated>
</entry>
<entry>
<title>Measuring the Quality of Your Perl Code</title>
<link rel="alternate" href="https://www.slideshare.net/slideshow/measuring-the-quality-of-your-perl-code-162990735/162990735" type="text/html"/>
<content type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/measuringthequalityofyourperlcode-190811142319-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> Some thoughts on ways to measure the quality of Perl code (and, hence, get a basis for improving it)
</content>
<summary type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/measuringthequalityofyourperlcode-190811142319-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> Some thoughts on ways to measure the quality of Perl code (and, hence, get a basis for improving it)
</summary>
<author>
<name>davorg@slideshare.net(davorg)</name>
</author>
<id>https://www.slideshare.net/slideshow/measuring-the-quality-of-your-perl-code-162990735/162990735</id>
<published>2019-08-11T14:23:19Z</published>
<updated>2019-08-11T14:23:19Z</updated>
</entry>
<entry>
<title>Apollo 11 at 50 - A Simple Twitter Bot</title>
<link rel="alternate" href="https://www.slideshare.net/slideshow/apollo-11-at-50-a-simple-twitter-bot/162989812" type="text/html"/>
<content type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/apollo-190811141300-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> How (and why) I spent 90 minutes writing a Twitterbot that tweeted the Apollo 11 mission timeline (shifted by 50 years)
</content>
<summary type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/apollo-190811141300-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> How (and why) I spent 90 minutes writing a Twitterbot that tweeted the Apollo 11 mission timeline (shifted by 50 years)
</summary>
<author>
<name>davorg@slideshare.net(davorg)</name>
</author>
<id>https://www.slideshare.net/slideshow/apollo-11-at-50-a-simple-twitter-bot/162989812</id>
<published>2019-08-11T14:13:00Z</published>
<updated>2019-08-11T14:13:00Z</updated>
</entry>
<entry>
<title>Monoliths, Balls of Mud and Silver Bullets</title>
<link rel="alternate" href="https://www.slideshare.net/slideshow/monoliths-balls-of-mud-and-silver-bullets-162989542/162989542" type="text/html"/>
<content type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/monoliths-190811141027-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> A talk from the European Perl Conference 2019 (but not about Perl)
</content>
<summary type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/monoliths-190811141027-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> A talk from the European Perl Conference 2019 (but not about Perl)
</summary>
<author>
<name>davorg@slideshare.net(davorg)</name>
</author>
<id>https://www.slideshare.net/slideshow/monoliths-balls-of-mud-and-silver-bullets-162989542/162989542</id>
<published>2019-08-11T14:10:27Z</published>
<updated>2019-08-11T14:10:27Z</updated>
</entry>
<entry>
<title>Prawn Cocktail Years</title>
<link rel="alternate" href="https://www.goodreads.com/review/show/2915458648?utm_medium=api&utm_source=rss" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.goodreads.com/book/show/2378986.Prawn_Cocktail_Years?utm_medium=api&utm_source=rss"><img alt="Prawn Cocktail Years" src="https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1488615133l/2378986._SX50_.jpg"/></a><br/>
author: Lindsey Bareham<br/>
name: David<br/>
average rating: 4.50<br/>
book published: 1999<br/>
rating: 0<br/>
read at: <br/>
date added: 2019/07/29<br/>
shelves: currently-reading<br/>
review: <br/><br/>
</div>
</content>
<id>https://www.goodreads.com/review/show/2915458648?utm_medium=api&utm_source=rss</id>
<published>2019-07-29T03:53:53-07:00</published>
<updated>2019-07-29T03:53:53-07:00</updated>
</entry>
<entry>
<title>Write. Publish. Repeat. (The No-Luck-Required Guide to Self-Publishing Success)</title>
<link rel="alternate" href="https://www.goodreads.com/review/show/2869758893?utm_medium=api&utm_source=rss" type="text/html"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<a href="https://www.goodreads.com/book/show/19173266-write-publish-repeat?utm_medium=api&utm_source=rss"><img alt="Write. Publish. Repeat. (The No-Luck-Required Guide to Self-Publishing Success)" src="https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1386152927l/19173266._SY75_.jpg"/></a><br/>
author: Sean Platt<br/>
name: David<br/>
average rating: 4.28<br/>
book published: 2013<br/>
rating: 0<br/>
read at: <br/>
date added: 2019/06/24<br/>
shelves: currently-reading<br/>
review: <br/><br/>
</div>
</content>
<id>https://www.goodreads.com/review/show/2869758893?utm_medium=api&utm_source=rss</id>
<published>2019-06-24T02:26:15-07:00</published>
<updated>2019-06-24T02:26:15-07:00</updated>
</entry>
<entry>
<title>The Professional Programmer</title>
<link rel="alternate" href="https://www.slideshare.net/slideshow/the-professional-programmer-115012386/115012386" type="text/html"/>
<content type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/tcvqmtxtxcoosqtktwxp-signature-54ef8a2e0bf04eca12a971b40d334e9524d5654cafb99fc7ca3028a7826fc3ab-poli-180917160117-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> The slides from a half-day workshop on career development for programmers that I ran at The Perl Conference in Glasgow
</content>
<summary type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/tcvqmtxtxcoosqtktwxp-signature-54ef8a2e0bf04eca12a971b40d334e9524d5654cafb99fc7ca3028a7826fc3ab-poli-180917160117-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> The slides from a half-day workshop on career development for programmers that I ran at The Perl Conference in Glasgow
</summary>
<author>
<name>davorg@slideshare.net(davorg)</name>
</author>
<id>https://www.slideshare.net/slideshow/the-professional-programmer-115012386/115012386</id>
<published>2018-09-17T16:01:17Z</published>
<updated>2018-09-17T16:01:17Z</updated>
</entry>
<entry>
<title>I'm A Republic (Honest!)</title>
<link rel="alternate" href="https://www.slideshare.net/slideshow/im-a-republic-honest/91652730" type="text/html"/>
<content type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/succession-180323080646-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> A (not entirely serious) talk that I gave at the London Perl Mongers technical meeting in March 2018.
It talks about how and why I build a web site listing the line of succession to the British throne back through history.
</content>
<summary type="html">
<img style="border:1px solid #C3E6D8;float:right;" alt="" src="https://cdn.slidesharecdn.com/ss_thumbnails/succession-180323080646-thumbnail.jpg?width=120&amp;height=120&amp;fit=bounds" /><br> A (not entirely serious) talk that I gave at the London Perl Mongers technical meeting in March 2018.
It talks about how and why I build a web site listing the line of succession to the British throne back through history.
</summary>
<author>
<name>davorg@slideshare.net(davorg)</name>
</author>
<id>https://www.slideshare.net/slideshow/im-a-republic-honest/91652730</id>
<published>2018-03-23T08:06:46Z</published>
<updated>2018-03-23T08:06:46Z</updated>
</entry>
</feed>