From 07e926d70daa4122168bd287c4499cd3cbc431dc Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 11:35:17 +0100 Subject: [PATCH 01/14] a small edit to test the rss feed --- content/sounduncloud.en.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/sounduncloud.en.md b/content/sounduncloud.en.md index 0fad23bc7..37772f8e6 100644 --- a/content/sounduncloud.en.md +++ b/content/sounduncloud.en.md @@ -2,7 +2,6 @@ Title: Sounduncloud: A Rogue Archiving Workshop Category: curriculum Slug: sounduncloud lang: en -curriculum: True event_start: 2017-12-01 12:00 event_duration:6h status: draft From 46e5b96e5c5e7ac4cfd46cd2e5f6bc3008053028 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 11:42:07 +0100 Subject: [PATCH 02/14] changing the settings to make the rss feed word again --- pelicanconf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index 19956133d..9ac9dec13 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -4,6 +4,7 @@ from __future__ import unicode_literals AUTHOR = u'Varia' SITENAME = u'Varia' +SITEURL = '' PATH = 'content' @@ -14,7 +15,7 @@ DEFAULT_DATE = 'fs' USE_FOLDER_AS_CATEGORY = True # Feed generation is usually not desired when developing -FEED_DOMAIN = 'varia.zone/feeds/' +FEED_DOMAIN = SITEURL FEED_ALL_RSS = 'feeds/all.rss.xml' TRANSLATION_FEED_RSS = 'feeds/all-%s.rss.xml' RSS_FEED_SUMMARY_ONLY = False From d56c1205ce59201496175366debb55b58e474ce3 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 11:45:31 +0100 Subject: [PATCH 03/14] adding a SITEURL to make the rss feed work again --- pelicanconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index 9ac9dec13..724d8971e 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals AUTHOR = u'Varia' SITENAME = u'Varia' -SITEURL = '' +SITEURL = 'https://varia.zone/' PATH = 'content' From 094f11f8970be62ec0dbb9c00b0c293a152638b2 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 11:57:12 +0100 Subject: [PATCH 04/14] added a RSS validator banner to the about page --- content/pages/about.en.md | 5 +++++ content/pages/about.nl.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/content/pages/about.en.md b/content/pages/about.en.md index 804bb91a4..5f77044da 100644 --- a/content/pages/about.en.md +++ b/content/pages/about.en.md @@ -26,3 +26,8 @@ In addition to the above web services *varia* hosts a server for the federated c IM observatory score + +## RSS +Subscribe to our RSS feeds, available in [Dutch](http://varia.zone/feeds/all-nl.rss.xml) and [English](http://varia.zone/feeds/all-en.rss.xml). + +[Valid RSS] diff --git a/content/pages/about.nl.md b/content/pages/about.nl.md index 507faeb5a..6c181c509 100644 --- a/content/pages/about.nl.md +++ b/content/pages/about.nl.md @@ -26,3 +26,8 @@ Naast de bovenstaande webdiensten host *varia* ook een server voor het gefederee IM observatory score + +## RSS +Volg de updates op deze site door je te abonneren op onze RSS feeds. Er zijn twee feeds beschikbaar: [Nederlands](http://varia.zone/feeds/all-nl.rss.xml) en [Engels](http://varia.zone/feeds/all-en.rss.xml). + +[Valid RSS] From b4d6995b8dc68ede038c6bb149fabf97f524d199 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 11:58:33 +0100 Subject: [PATCH 05/14] added a RSS validator banner to the about page --- content/images/valid-rss-rogers.png | Bin 0 -> 3712 bytes content/pages/about.en.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 content/images/valid-rss-rogers.png diff --git a/content/images/valid-rss-rogers.png b/content/images/valid-rss-rogers.png new file mode 100644 index 0000000000000000000000000000000000000000..8ce6d122ee5410b5a8b94f6f3328e7cffbef4daf GIT binary patch literal 3712 zcm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m}qWcnC1uX#JP)x_!u!S2ZnV;CZ0b)Q zE`T%E$(-eL=s%%<*U0@ohPy4&MpEWbDz+UWHX#O^O`((rr6jUL=oJct@?RRI5XwIV zBmfPC6o95cf+iIputqqrx*W8&H4--_gYaJATq?~LVPocVGdYrTgdsN$L9<-k*bxAH zdJ4)K8%Cd5W2h~tz*EzLW=MihG70~p<6kb&ICpDyq{~6lq;#xKozPS>G-(r^UVl0d zH&_@ne>f&!o-tMDGr^E&zaK41L8Dt^%TW!b%uWSIA4vRxZ{tFMGv~TQr)SYlugOa$ z!VOb#@OUc?Ee0`WH;+!$G%22V{S;=%rI8(f{m1{K3cXXrO8kP}a>)ReQc+jeLV0Bk eZeLdq`u_mwbPF{$%i)v&0000[Valid RSS] +[Valid RSS] From eb7054092a9755a16130cf8abb6da92e91245ca1 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 11:59:05 +0100 Subject: [PATCH 06/14] added a RSS validator banner to the about page --- content/pages/about.nl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/pages/about.nl.md b/content/pages/about.nl.md index 6c181c509..20f701f6b 100644 --- a/content/pages/about.nl.md +++ b/content/pages/about.nl.md @@ -30,4 +30,4 @@ Naast de bovenstaande webdiensten host *varia* ook een server voor het gefederee ## RSS Volg de updates op deze site door je te abonneren op onze RSS feeds. Er zijn twee feeds beschikbaar: [Nederlands](http://varia.zone/feeds/all-nl.rss.xml) en [Engels](http://varia.zone/feeds/all-en.rss.xml). -[Valid RSS] +[Valid RSS] From bbd8cda21655bb51804a0f3d2fbfb8d5410cd248 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 12:00:31 +0100 Subject: [PATCH 07/14] added a RSS validator banner to the about page --- content/pages/about.en.md | 2 +- content/pages/about.nl.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/pages/about.en.md b/content/pages/about.en.md index 94fa6ba51..418103d0a 100644 --- a/content/pages/about.en.md +++ b/content/pages/about.en.md @@ -28,6 +28,6 @@ In addition to the above web services *varia* hosts a server for the federated c ## RSS -Subscribe to our RSS feeds, available in [Dutch](http://varia.zone/feeds/all-nl.rss.xml) and [English](http://varia.zone/feeds/all-en.rss.xml). +Subscribe to our RSS feeds, available in [Dutch](http://varia.zone/feeds/all-nl.rss.xml) and [English](http://varia.zone/en/feeds/all-en.rss.xml). [Valid RSS] diff --git a/content/pages/about.nl.md b/content/pages/about.nl.md index 20f701f6b..c81fcbecf 100644 --- a/content/pages/about.nl.md +++ b/content/pages/about.nl.md @@ -28,6 +28,6 @@ Naast de bovenstaande webdiensten host *varia* ook een server voor het gefederee ## RSS -Volg de updates op deze site door je te abonneren op onze RSS feeds. Er zijn twee feeds beschikbaar: [Nederlands](http://varia.zone/feeds/all-nl.rss.xml) en [Engels](http://varia.zone/feeds/all-en.rss.xml). +Volg de updates op deze site door je te abonneren op onze RSS feeds. Er zijn twee feeds beschikbaar: [Nederlands](http://varia.zone/feeds/all-nl.rss.xml) en [Engels](http://varia.zone/en/feeds/all-en.rss.xml). [Valid RSS] From 2ca06da3af8cf2d78e544442627bd549c2e95a39 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 12:32:50 +0100 Subject: [PATCH 08/14] adding the event-ics custom plugin as a submodule --- .gitmodules | 3 +++ custom-plugins/events-ics | 1 + 2 files changed, 4 insertions(+) create mode 160000 custom-plugins/events-ics diff --git a/.gitmodules b/.gitmodules index fc0f27c32..077317f38 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "plugins"] path = plugins url = https://github.com/getpelican/pelican-plugins.git +[submodule "custom-plugins/events-ics"] + path = custom-plugins/events-ics + url = https://git.vvvvvvaria.org/rra/events-ics.git diff --git a/custom-plugins/events-ics b/custom-plugins/events-ics new file mode 160000 index 000000000..829142893 --- /dev/null +++ b/custom-plugins/events-ics @@ -0,0 +1 @@ +Subproject commit 829142893c6f73ed25ec294baa00b493f55fe31b From 95d0a8fd08832c2535a5d60b4994c8db14e731ad Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 12:35:47 +0100 Subject: [PATCH 09/14] adding the event-ics custom plugin as a submodule --- pelicanconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 724d8971e..4f324e275 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -29,8 +29,8 @@ AUTHOR_FEED_RSS = None DEFAULT_PAGINATION = 25 # Uncomment following line if you want document-relative URLs when developing -PLUGIN_PATHS = ['./plugins'] -PLUGINS = ['extract_toc', 'i18n_subsites', 'summary'] # 'events' disabled for now +PLUGIN_PATHS = ['./plugins','./plugins-custom'] +PLUGINS = ['extract_toc', 'i18n_subsites', 'summary', 'events-ics'] MD_EXTENSIONS = ['codehilite','extra','toc'] STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs'] From 7276d5b7eb4150832f4eb7cfc4ca95e331e3e522 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 12:54:51 +0100 Subject: [PATCH 10/14] re-connected the events-ics plugin as a submodule --- .gitmodules | 4 ++-- custom-plugins/events-ics | 1 - pelicanconf.py | 2 +- plugins-custom/events-ics | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) delete mode 160000 custom-plugins/events-ics create mode 160000 plugins-custom/events-ics diff --git a/.gitmodules b/.gitmodules index 077317f38..35b3c057a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "plugins"] path = plugins url = https://github.com/getpelican/pelican-plugins.git -[submodule "custom-plugins/events-ics"] - path = custom-plugins/events-ics +[submodule "plugins-custom/events-ics"] + path = plugins-custom/events-ics url = https://git.vvvvvvaria.org/rra/events-ics.git diff --git a/custom-plugins/events-ics b/custom-plugins/events-ics deleted file mode 160000 index 829142893..000000000 --- a/custom-plugins/events-ics +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 829142893c6f73ed25ec294baa00b493f55fe31b diff --git a/pelicanconf.py b/pelicanconf.py index 4f324e275..819ac0919 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -29,7 +29,7 @@ AUTHOR_FEED_RSS = None DEFAULT_PAGINATION = 25 # Uncomment following line if you want document-relative URLs when developing -PLUGIN_PATHS = ['./plugins','./plugins-custom'] +PLUGIN_PATHS = ['./plugins', './plugins-custom'] PLUGINS = ['extract_toc', 'i18n_subsites', 'summary', 'events-ics'] MD_EXTENSIONS = ['codehilite','extra','toc'] diff --git a/plugins-custom/events-ics b/plugins-custom/events-ics new file mode 160000 index 000000000..539841521 --- /dev/null +++ b/plugins-custom/events-ics @@ -0,0 +1 @@ +Subproject commit 539841521a88d012cc49dc165aa3f5b5efbf8b65 From 39c0fa84ae05190bc81bba755dbc00da7a9c6250 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 13:04:22 +0100 Subject: [PATCH 11/14] updated the readme with submodule update instructions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 7a8110db2..d6d8f9466 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,21 @@ The folder 'plugins' is linked to the Pelican project '[pelican-plugins](https:/ `git clone https://git.vvvvvvaria.org/varia/varia.manual.git --recurse-submodules` +## Update submodules + +We are currently using two submodules: + +* plugins ([https://github.com/getpelican/pelican-plugins](https://github.com/getpelican/pelican-plugins)) +* plugins-custom/events-ics ([https://git.vvvvvvaria.org/rra/events-ics](https://git.vvvvvvaria.org/rra/events-ics)) + +To update these submodules within your (already) cloned repository, first init the submodule, and then update it: + + cd /path/to/submodule + + git submodule init + + git submodule update + ## Posting Content We're using a platform called pelican to generate static websites. The main way to add content to the website is by making 'posts' in the folder `content` From 86d7faf050b1d6edac73c0d42b4c8647f1d59d95 Mon Sep 17 00:00:00 2001 From: Gitea Date: Thu, 1 Feb 2018 13:06:58 +0100 Subject: [PATCH 12/14] minor config edit --- pelicanconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index 819ac0919..237fea450 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -60,4 +60,4 @@ PLUGIN_EVENTS = { 'ics_calendars': ['event.ics', 'curriculum.ics'], 'default_location' : '', 'calendar_per_category': True -} \ No newline at end of file +} From c7ccff5f13a7e28a8a54c4c373adcade11225b67 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 13:16:47 +0100 Subject: [PATCH 13/14] changing the submodule name to events_ics --- .gitmodules | 3 +++ pelicanconf.py | 2 +- plugins-custom/{events-ics => events_ics} | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename plugins-custom/{events-ics => events_ics} (100%) diff --git a/.gitmodules b/.gitmodules index 35b3c057a..359068f30 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "plugins-custom/events-ics"] path = plugins-custom/events-ics url = https://git.vvvvvvaria.org/rra/events-ics.git +[submodule "plugins-custom/events_ics"] + path = plugins-custom/events_ics + url = https://git.vvvvvvaria.org/rra/events_ics.git diff --git a/pelicanconf.py b/pelicanconf.py index 237fea450..f18e53668 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -30,7 +30,7 @@ DEFAULT_PAGINATION = 25 # Uncomment following line if you want document-relative URLs when developing PLUGIN_PATHS = ['./plugins', './plugins-custom'] -PLUGINS = ['extract_toc', 'i18n_subsites', 'summary', 'events-ics'] +PLUGINS = ['extract_toc', 'i18n_subsites', 'summary', 'events_ics'] MD_EXTENSIONS = ['codehilite','extra','toc'] STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs'] diff --git a/plugins-custom/events-ics b/plugins-custom/events_ics similarity index 100% rename from plugins-custom/events-ics rename to plugins-custom/events_ics From 2b7680ce4d78a491f8902c6776354bd2bb005dc8 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 1 Feb 2018 13:18:46 +0100 Subject: [PATCH 14/14] testing the calender plugin --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d6d8f9466..ffa91c33f 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ To update these submodules within your (already) cloned repository, first init t git submodule update + ## Posting Content We're using a platform called pelican to generate static websites. The main way to add content to the website is by making 'posts' in the folder `content`