chore: data cleanup

This commit is contained in:
Cory Dransfeldt 2023-08-29 04:34:52 -07:00
parent 82192cc720
commit 3429fb62f0
No known key found for this signature in database
4 changed files with 605 additions and 1817 deletions

View file

@ -13,19 +13,19 @@ This is the code for my personal website and portfolio. Built using [11ty](https
## My latest posts
<!-- BLOGPOSTS:START -->
- [Displaying now playing data with matching emoji using Netlify edge functions and Eleventy](
https://coryd.dev/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji/?utm_source=all_posts_feed&utm_medium=rss&utm_campaign=syndication
https://coryd.dev/posts/2023/now-playing-eleventy-netlify-edge-functions-emoji/
)
- [Road to madness: charting Apple Music listening data](
https://coryd.dev/posts/2023/road-to-madness-apple-music-charts/?utm_source=all_posts_feed&utm_medium=rss&utm_campaign=syndication
https://coryd.dev/posts/2023/road-to-madness-apple-music-charts/
)
- [Building a popular posts widget in Eleventy using Plausible analytics](
https://coryd.dev/posts/2023/popular-posts-widget-using-eleventy-plausible/?utm_source=all_posts_feed&utm_medium=rss&utm_campaign=syndication
https://coryd.dev/posts/2023/popular-posts-widget-using-eleventy-plausible/
)
- [Embrace, extend, enshittify](
https://coryd.dev/posts/2023/embrace-extend-enshittify/?utm_source=all_posts_feed&utm_medium=rss&utm_campaign=syndication
https://coryd.dev/posts/2023/embrace-extend-enshittify/
)
- [Displaying listening data from Apple Music using MusicKit.js](
https://coryd.dev/posts/2023/displaying-listening-data-from-apple-music-using-musickit/?utm_source=all_posts_feed&utm_medium=rss&utm_campaign=syndication
https://coryd.dev/posts/2023/displaying-listening-data-from-apple-music-using-musickit/
)
<!-- BLOGPOSTS:END -->

File diff suppressed because it is too large Load diff

View file

@ -12,9 +12,7 @@ module.exports = async function () {
activity.posts.push({
id: entry.url,
title: entry.title,
url: entry.url.includes('coryd.dev')
? `${entry.url}?utm_source=follow_feed&utm_medium=social&utm_campaign=syndication`
: entry.url,
url: entry.url,
content_html: entry.content || '',
date_published: entry.published,
})

View file

@ -10,12 +10,9 @@ permalink: /feed.xml
{% block entries %}
{% assign posts = collections.posts | reverse %}
{% for post in posts limit: 15 %}
{% capture entry_link %}
{{ site.url }}{{ post.url }}?utm_source=all_posts_feed&utm_medium=rss&utm_campaign=syndication
{% endcapture %}
<entry>
<title>{{ post.data.title }}</title>
<link href="{{ entry_link | encodeAmp }}" />
<link href="{{ site.url }}{{ post.url }}" />
<updated>{{ post.date | date: "%m.%d.%Y" }}</updated>
<id>{{ site.url }}{{ post.url }}</id>
<content type="html">