Re-add the Drupal Planet XML feed

This commit is contained in:
Oliver Davies 2024-09-11 20:30:50 +01:00
parent d70a9ab229
commit 5140b9a756
16 changed files with 43 additions and 0 deletions

View file

@ -5,6 +5,7 @@ permalink: {{ permalink }}
tags:
- software-development
# - drupal
# - drupal-planet
# - php
# - podcast
cta: ~

View file

@ -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.

View file

@ -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.

View file

@ -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: ~

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -8,6 +8,7 @@ tags:
- git
- automated-testing
- test-driven-development
- drupal-planet
cta: d7eol
snippet: |
No-one sees your clean-up commits.

View file

@ -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?

View file

@ -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.

View file

@ -6,6 +6,7 @@ tags:
- software-development
- static-analysis
- podcast
- drupal-planet
cta: ~
snippet: |
find vs. get

View file

@ -5,6 +5,7 @@ permalink: daily/2024/09/06/bootcamps-hackathons-meetups-and-drupal
tags:
- software-development
- drupal
- drupal-planet
- php
- podcast
cta: ~

View file

@ -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.

View file

@ -6,6 +6,8 @@ tags:
- software-development
- php
- clean-code
- drupal
- drupal-planet
cta: ~
snippet: |
Avoiding primitive obsession with value objects.

View file

@ -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]
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>{{ page.title }}</title>
<description>{{ page.description }}</description>
<link>{{ site.url }}/daily</link>
{% for email in data.daily_emails if 'drupal-planet' in email.tags %}
<item>
<title>{{ email.title }}</title>
<link>{{ site.url }}{{ email.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ email.url }}</guid>
<description>
{{- email.blocks.content -}}
</description>
<pubDate>{{ email.date|date('D, d M Y H:i:s') }} GMT</pubDate>
</item>
{% endfor %}
</channel>
</rss>