From 5140b9a7562a37d05d387e71f52302121dc5b1cf Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 11 Sep 2024 20:30:50 +0100 Subject: [PATCH] Re-add the Drupal Planet XML feed --- resources/daily-email-stub.md | 1 + source/_daily_emails/2024-08-25.md | 1 + source/_daily_emails/2024-08-26.md | 1 + source/_daily_emails/2024-08-28.md | 1 + source/_daily_emails/2024-08-30.md | 1 + source/_daily_emails/2024-08-31.md | 1 + source/_daily_emails/2024-09-01.md | 1 + source/_daily_emails/2024-09-02.md | 1 + source/_daily_emails/2024-09-03.md | 1 + source/_daily_emails/2024-09-04.md | 1 + source/_daily_emails/2024-09-05.md | 1 + source/_daily_emails/2024-09-06.md | 1 + source/_daily_emails/2024-09-07.md | 1 + source/_daily_emails/2024-09-09.md | 2 ++ source/{_pages => }/rss/daily.xml.twig | 0 source/rss/drupal-planet.xml.twig | 28 ++++++++++++++++++++++++++ 16 files changed, 43 insertions(+) rename source/{_pages => }/rss/daily.xml.twig (100%) create mode 100644 source/rss/drupal-planet.xml.twig diff --git a/resources/daily-email-stub.md b/resources/daily-email-stub.md index 534bf26ed..2cc5a6d50 100644 --- a/resources/daily-email-stub.md +++ b/resources/daily-email-stub.md @@ -5,6 +5,7 @@ permalink: {{ permalink }} tags: - software-development # - drupal + # - drupal-planet # - php # - podcast cta: ~ diff --git a/source/_daily_emails/2024-08-25.md b/source/_daily_emails/2024-08-25.md index ab086e964..84f0149f2 100644 --- a/source/_daily_emails/2024-08-25.md +++ b/source/_daily_emails/2024-08-25.md @@ -8,6 +8,7 @@ tags: - php - feature-flags - css + - drupal-planet cta: ~ snippet: | How I combined a feature flag and a data attribute to release some new CSS styles to a project. diff --git a/source/_daily_emails/2024-08-26.md b/source/_daily_emails/2024-08-26.md index 6c42f2bc2..5312a60fc 100644 --- a/source/_daily_emails/2024-08-26.md +++ b/source/_daily_emails/2024-08-26.md @@ -7,6 +7,7 @@ tags: - drupal - php - automated-testing + - drupal-planet cta: ~ snippet: | As well as types, PHP's named arguments also add context - particularly within tests. diff --git a/source/_daily_emails/2024-08-28.md b/source/_daily_emails/2024-08-28.md index 5b7c38e70..c52e8180a 100644 --- a/source/_daily_emails/2024-08-28.md +++ b/source/_daily_emails/2024-08-28.md @@ -5,6 +5,7 @@ permalink: daily/2024/08/28/single-file-components-in-drupal-with-sam-mortenson tags: - software-development - drupal + - drupal-planet - php - podcast cta: ~ diff --git a/source/_daily_emails/2024-08-30.md b/source/_daily_emails/2024-08-30.md index 16b911a1e..315da3746 100644 --- a/source/_daily_emails/2024-08-30.md +++ b/source/_daily_emails/2024-08-30.md @@ -9,6 +9,7 @@ tags: - open-source - php - design-patterns + - drupal-planet cta: ~ snippet: | Whilst working on my secret side project, today I decided to revisit the Null User Drupal module. diff --git a/source/_daily_emails/2024-08-31.md b/source/_daily_emails/2024-08-31.md index 80287b93c..8dba66662 100644 --- a/source/_daily_emails/2024-08-31.md +++ b/source/_daily_emails/2024-08-31.md @@ -7,6 +7,7 @@ tags: - automated-testing - test-driven-development - clean-code + - drupal-planet cta: d7eol snippet: | The main objective when writing software is to make it work. diff --git a/source/_daily_emails/2024-09-01.md b/source/_daily_emails/2024-09-01.md index 55c7245db..8cc6020c8 100644 --- a/source/_daily_emails/2024-09-01.md +++ b/source/_daily_emails/2024-09-01.md @@ -7,6 +7,7 @@ tags: - refactoring - automated-testing - test-driven-development + - drupal-planet cta: call snippet: | When refactoring, you should have automated tests to ensure it's done safely. diff --git a/source/_daily_emails/2024-09-02.md b/source/_daily_emails/2024-09-02.md index 07bf6d994..4582204dd 100644 --- a/source/_daily_emails/2024-09-02.md +++ b/source/_daily_emails/2024-09-02.md @@ -8,6 +8,7 @@ tags: - git - automated-testing - test-driven-development + - drupal-planet cta: d7eol snippet: | No-one sees your clean-up commits. diff --git a/source/_daily_emails/2024-09-03.md b/source/_daily_emails/2024-09-03.md index f9416c3b6..64131e793 100644 --- a/source/_daily_emails/2024-09-03.md +++ b/source/_daily_emails/2024-09-03.md @@ -5,6 +5,7 @@ permalink: daily/2024/09/03/do-your-commit-messages-still-make-sense tags: - software-development - git + - drupal-planet cta: d7eol snippet: | Do your commit messages still make sense? diff --git a/source/_daily_emails/2024-09-04.md b/source/_daily_emails/2024-09-04.md index 7c05bd9c4..a0ec2e937 100644 --- a/source/_daily_emails/2024-09-04.md +++ b/source/_daily_emails/2024-09-04.md @@ -4,6 +4,7 @@ date: 2024-09-04 permalink: daily/2024/09/04/diagram-driven-development tags: - software-development + - drupal-planet cta: ~ snippet: | You've heard of README-driven development, but I've been trying diagram-driven development. diff --git a/source/_daily_emails/2024-09-05.md b/source/_daily_emails/2024-09-05.md index 72ba4a981..490eca9de 100644 --- a/source/_daily_emails/2024-09-05.md +++ b/source/_daily_emails/2024-09-05.md @@ -6,6 +6,7 @@ tags: - software-development - static-analysis - podcast + - drupal-planet cta: ~ snippet: | find vs. get diff --git a/source/_daily_emails/2024-09-06.md b/source/_daily_emails/2024-09-06.md index e1cdb48fa..1502f66e3 100644 --- a/source/_daily_emails/2024-09-06.md +++ b/source/_daily_emails/2024-09-06.md @@ -5,6 +5,7 @@ permalink: daily/2024/09/06/bootcamps-hackathons-meetups-and-drupal tags: - software-development - drupal + - drupal-planet - php - podcast cta: ~ diff --git a/source/_daily_emails/2024-09-07.md b/source/_daily_emails/2024-09-07.md index e6873a687..c8f426858 100644 --- a/source/_daily_emails/2024-09-07.md +++ b/source/_daily_emails/2024-09-07.md @@ -4,6 +4,7 @@ date: 2024-09-07 permalink: daily/2024/09/07/find-bugs-sooner tags: - software-development + - drupal-planet cta: ~ snippet: | Bugs are cheaper to fix the sooner you find them. diff --git a/source/_daily_emails/2024-09-09.md b/source/_daily_emails/2024-09-09.md index 669eaaed5..af77ec86d 100644 --- a/source/_daily_emails/2024-09-09.md +++ b/source/_daily_emails/2024-09-09.md @@ -6,6 +6,8 @@ tags: - software-development - php - clean-code + - drupal + - drupal-planet cta: ~ snippet: | Avoiding primitive obsession with value objects. diff --git a/source/_pages/rss/daily.xml.twig b/source/rss/daily.xml.twig similarity index 100% rename from source/_pages/rss/daily.xml.twig rename to source/rss/daily.xml.twig diff --git a/source/rss/drupal-planet.xml.twig b/source/rss/drupal-planet.xml.twig new file mode 100644 index 000000000..26ceabc33 --- /dev/null +++ b/source/rss/drupal-planet.xml.twig @@ -0,0 +1,28 @@ +--- +layout: feed +title: The Daily Drupaler +description: |- + A daily email newsletter about Drupal, software development, DevOps, community, and open-source. +permalink: /rss/drupal-planet.xml +use: [daily_emails] +--- + + + + + {{ page.title }} + {{ page.description }} + {{ site.url }}/daily + {% for email in data.daily_emails if 'drupal-planet' in email.tags %} + + {{ email.title }} + {{ site.url }}{{ email.url }} + {{ site.url }}{{ email.url }} + + {{- email.blocks.content -}} + + {{ email.date|date('D, d M Y H:i:s') }} GMT + + {% endfor %} + +