From e347c2145f566312d37e7370b803fde5933cf65a Mon Sep 17 00:00:00 2001 From: Set Sakrecoer Date: Tue, 27 Aug 2019 17:44:05 +0200 Subject: [PATCH 1/3] gem 'jekyll-last-modified-at' --- Gemfile | 1 + Gemfile.lock | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Gemfile b/Gemfile index 107da04..52827af 100644 --- a/Gemfile +++ b/Gemfile @@ -15,6 +15,7 @@ group :jekyll_plugins do gem "jekyll-paginate-v2", "~>1.7" gem "jekyll-sitemap", "1.2.0" gem "jekyll-seo-tag", "2.6.0" + gem 'jekyll-last-modified-at' end diff --git a/Gemfile.lock b/Gemfile.lock index e318bf1..9ea0bcc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,6 +27,9 @@ GEM pathutil (~> 0.9) rouge (>= 1.7, < 4) safe_yaml (~> 1.0) + jekyll-last-modified-at (1.1.0) + jekyll (>= 3.7, < 5.0) + posix-spawn (~> 0.3.9) jekyll-paginate-v2 (1.9.4) jekyll (~> 3.0) jekyll-sass-converter (1.5.2) @@ -46,6 +49,7 @@ GEM mercenary (0.3.6) pathutil (0.16.2) forwardable-extended (~> 2.6) + posix-spawn (0.3.13) public_suffix (3.1.1) rb-fsevent (0.10.3) rb-inotify (0.10.0) @@ -64,6 +68,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 3.8.5) + jekyll-last-modified-at jekyll-paginate-v2 (~> 1.7) jekyll-seo-tag (= 2.6.0) jekyll-sitemap (= 1.2.0) -- 2.39.5 From 2f2e753f49b83752070f843e127b29d3f5bff953 Mon Sep 17 00:00:00 2001 From: Set Sakrecoer Date: Tue, 27 Aug 2019 18:04:16 +0200 Subject: [PATCH 2/3] fixing lastmod date --- _includes/seo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/seo.html b/_includes/seo.html index 2a3cbc2..efd95c5 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -1,7 +1,7 @@ {% seo %} - + -- 2.39.5 From 2b936a59dcc83eadaf029f35642d303adf81e4e2 Mon Sep 17 00:00:00 2001 From: Set Sakrecoer Date: Tue, 27 Aug 2019 18:04:28 +0200 Subject: [PATCH 3/3] optimizing mega RSS --- rss.xml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/rss.xml b/rss.xml index 894a688..d9ec6d5 100644 --- a/rss.xml +++ b/rss.xml @@ -12,11 +12,20 @@ layout: null {{ site.title }} {{ site.description }} {{ site.url }} - en-us + {{ site.lang }} Creative Commons CC-BY-SA - {{ site.time | date_to_xmlschema }} - {{ site.time | date_to_xmlschema }} - http://blogs.law.harvard.edu/tech/rss + {{ site.time | date_to_rfc822 }} + {% for track in site.tracks limit: 1 %}{{ track.last_modified_at | date_to_rfc822 }}{% endfor %} + https://cyber.harvard.edu/rss/rss.html + Jekyll + + {{ site.url }}{{ site.logo }} + {{ site.title }} + {{ site.url }} + 480 + 480 + + {{ site.author.email }} {{ site.author.email }} {{ site.author.name }} @@ -45,7 +54,7 @@ layout: null <img src="{{ post.image }}" /> {{ post.content | xml_escape }} Podcasts -{{ post.date | date_to_xmlschema }} +{{ post.date | date_to_rfc822 }} Sakrecoer -- 2.39.5