Skip to content

Commit 203f776

Browse files
authored
Specify GUIDs for blog posts manually (#197)
1 parent ee87096 commit 203f776

18 files changed

+39
-1
lines changed

.github/workflows/autoreview.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
uses: reviewdog/action-misspell@v1
1111
with:
1212
pattern: "*.md"
13+
guids:
14+
runs-on: ubuntu-20.04
15+
steps:
16+
- uses: actions/checkout@v1
17+
- run: .github/workflows/guids.sh
1318
build:
1419
runs-on: ubuntu-20.04
1520
steps:

.github/workflows/guids.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
search_dir=/the/path/to/base/dir/
4+
for post in _blog/*; do
5+
if ! grep -q "guid:" "$post"; then
6+
echo "Blog post $post does not specify a GUID!" >&2
7+
exit 1
8+
fi
9+
done
10+
11+
duplicates=$(cat _blog/* | grep "guid:" | sort | uniq -D)
12+
numDuplicates=$(cat _blog/* | grep "guid:" | sort | uniq -D | wc -l)
13+
if [[ $numDuplicates != 0 ]]; then
14+
echo "Blog post GUIDs are not unique!" >&2
15+
echo "$duplicates"
16+
exit 1
17+
fi
18+

_blog/2020-05-29-Supporting old Android versions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: "2020-05-29 12:00:00"
55
image: "2020/old-phone.jpg"
66
author: bytehamster
77
layout: blog
8+
guid: https://antennapod.org/blog/2020/05/supporting-old-android-versions
89
---
910

1011
Supporting old Android versions is hard. Vendors only publish updates for a limited time and the devices' software decays while the actual hardware would still work great. To look for new episodes, AntennaPod needs to connect to the servers of podcast publishers. While the servers are upgraded to modern cryptography standards, the old devices lack behind. Especially devices with Android versions older than 5.1 are getting more and more trouble fetching new episodes.

_blog/2020-06-04-Getting to a new icon.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: "2020-06-04 12:00:00"
55
image: "2020/design.jpg"
66
author: keunes
77
layout: blog
8+
guid: https://antennapod.org/blog/2020/06/getting-to-a-new-icon
89
---
910

1011
After users [requested](https://github.com/AntennaPod/AntennaPod/issues/1281) a new icon for over 5 years, I persuaded main developer ByteHamster that the release of version 2.0.0 is a good time to rework the icon. We therefore developed and published a design brief with requirements for the new icon. You can find the design brief below.

_blog/2020-09-04-New icon.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: "2020-09-04 12:00:00"
55
image: "default.png"
66
author: bytehamster
77
layout: blog
8+
guid: https://antennapod.org/blog/2020/09/new-icon
89
---
910

1011
To all those who participated in the vote for our new brand: THANK YOU! With a total of **6420** votes we have seen a great interest from our community. We'll get to all their opinions in more detail later, but first things first:

_blog/2020-09-08-2.0.0 release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: "2020-09-08 12:00:00"
55
image: "2020/release-2.0.jpg"
66
author: bytehamster
77
layout: blog
8+
guid: https://antennapod.org/blog/2020/09/2-0-0-release
89
---
910

1011
Version 2.0.0 is a big step forward for AntennaPod. We rewrote big parts of the user interface, added tons of new features and fixed bugs.

_blog/2020-09-29-Version 2 changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ image: "pic.png"
66
author: keunes
77
layout: blog
88
unlisted: true
9+
guid: https://antennapod.org/blog/2020/09/version-2-changelog
910
---
1011

1112
AntennaPod version 2 released with a range of new features, bug fixes and improvements. Below you'll find an extensive list of highlights, with each time the Pull Request ID.

_blog/2020-12-06-New website.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: "2020-12-06 12:00:00"
55
image: "2020/new-website.jpg"
66
author: bytehamster
77
layout: blog
8+
guid: https://antennapod.org/blog/2020/12/new-website
89
---
910

1011
The old AntennaPod website was pretty basic. Its FAQ section was outdated and did not follow the design of the rest of the page. Additionally, the FAQ page was linked nowhere -- if you did not know where to look, you did not find it. Links to platforms for contribution ([GitHub](https://github.com/AntennaPod/AntennaPod/) for development, [Transifex](https://www.transifex.com/antennapod/antennapod/) for translations and the [forum](https://forum.antennapod.org/)) were hidden in a small footer menu. The website highlighted a few features but it did not describe how to use them. Additionally, the website was a plain html file, making it rather hard to update. You can find the old website on the [internet archive](https://web.archive.org/web/20200814004524/https://antennapod.org/).

_blog/2020-12-13-2.1.0 release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: "2020-12-13 11:00:00"
55
image: "2020/release-2.1.jpg"
66
author: bytehamster
77
layout: blog
8+
guid: https://antennapod.org/blog/2020/12/2-1-0-release
89
---
910

1011
We are happy to announce version 2.1.0 of AntennaPod.

_blog/2021-05-09-2.2.0 release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ date: "2021-05-09 11:00:00"
55
image: "2021/release-2.2.png"
66
author: bytehamster
77
layout: blog
8+
guid: https://antennapod.org/blog/2021/05/2-2-0-release
89
---
910

1011
We are happy to announce version 2.2.0 of AntennaPod.

0 commit comments

Comments
 (0)