From cf95aa88595184f51da4eeb06301e436a6a5f589 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 20 Apr 2019 02:48:57 +0200 Subject: make: use permalinks as atom ids I have just realized that was implementing atom feeds wrong for long time. atom ids are supposed to be valid uris. this is a small but breaking change. it is supposed to make some clients think that all of the old posts were republished. This can be avoided by running something like this, before upgrading: $ blogc-make atom_dump > templates/atom.tmpl however, keep in mind that your atom ids are invalid :/ --- src/blogc-make/atom.c | 4 +- tests/blogc-make/check_atom.c | 40 ++++++------ tests/blogc-make/check_blogc_make.sh.in | 112 ++++++++++++++++---------------- 3 files changed, 78 insertions(+), 78 deletions(-) diff --git a/src/blogc-make/atom.c b/src/blogc-make/atom.c index 3018820..58113fc 100644 --- a/src/blogc-make/atom.c +++ b/src/blogc-make/atom.c @@ -21,7 +21,7 @@ static const char atom_template[] = "\n" " {{ SITE_TITLE }}{%% ifdef FILTER_TAG %%} - " "{{ FILTER_TAG }}{%% endif %%}\n" - " {{ BASE_URL }}%s\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}%s\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" " \n" @@ -33,7 +33,7 @@ static const char atom_template[] = " {%% block listing %%}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}%s\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}%s\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" diff --git a/tests/blogc-make/check_atom.c b/tests/blogc-make/check_atom.c index 551201d..a8fe4af 100644 --- a/tests/blogc-make/check_atom.c +++ b/tests/blogc-make/check_atom.c @@ -40,7 +40,7 @@ test_atom_generate_empty_file(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% else %}/index{% endif %}.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -54,7 +54,7 @@ test_atom_generate_empty_file(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/{{ FILENAME }}.html\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}.html\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -92,7 +92,7 @@ test_atom_generate_empty_dir(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% endif %}/index.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -106,7 +106,7 @@ test_atom_generate_empty_dir(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/{{ FILENAME }}/index.html\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}/index.html\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -144,7 +144,7 @@ test_atom_generate_file(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% endif %}.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -158,7 +158,7 @@ test_atom_generate_file(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/post/{{ FILENAME }}.html\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}.html\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -196,7 +196,7 @@ test_atom_generate_dir(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% endif %}/index.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -210,7 +210,7 @@ test_atom_generate_dir(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/post/{{ FILENAME }}/index.html\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}/index.html\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -256,7 +256,7 @@ test_atom_empty_file(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% else %}/index{% endif %}.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -270,7 +270,7 @@ test_atom_empty_file(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/{{ FILENAME }}.html\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}.html\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -318,7 +318,7 @@ test_atom_empty_dir(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% endif %}/index.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -332,7 +332,7 @@ test_atom_empty_dir(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/{{ FILENAME }}/index.html\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}/index.html\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -380,7 +380,7 @@ test_atom_file(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% endif %}.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -394,7 +394,7 @@ test_atom_file(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/post/{{ FILENAME }}.html\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}.html\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -442,7 +442,7 @@ test_atom_dir(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% endif %}/index.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -456,7 +456,7 @@ test_atom_dir(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/post/{{ FILENAME }}/index.html\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}/index.html\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -505,7 +505,7 @@ test_atom_legacy_entry_id_empty(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% else %}/index{% endif %}.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -519,7 +519,7 @@ test_atom_legacy_entry_id_empty(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/{{ FILENAME }}/\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/{{ FILENAME }}/\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" @@ -568,7 +568,7 @@ test_atom_legacy_entry_id(void **state) "\n" " {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - " "{{ FILTER_TAG }}{% endif %}\n" - " {{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/atom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}" "{% endif %}.xml\n" " {{ DATE_FIRST_FORMATTED }}\n" " \n" @@ -582,7 +582,7 @@ test_atom_legacy_entry_id(void **state) " {% block listing %}\n" " \n" " {{ TITLE }}\n" - " {{ BASE_URL }}/post/{{ FILENAME }}/\n" + " {{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}/\n" " {{ DATE_FORMATTED }}\n" " {{ DATE_FORMATTED }}\n" " \n" diff --git a/tests/blogc-make/check_blogc_make.sh.in b/tests/blogc-make/check_blogc_make.sh.in index eea0cc7..14223d0 100755 --- a/tests/blogc-make/check_blogc_make.sh.in +++ b/tests/blogc-make/check_blogc_make.sh.in @@ -99,7 +99,7 @@ cat > "${TEMP}/expected-atom.xml" < Lol's Website - /atom.xml + http://example.org/atom.xml 2016-09-01T00:00:00Z @@ -111,7 +111,7 @@ cat > "${TEMP}/expected-atom.xml" < Bar - /post/bar/index.html + http://example.org/post/bar/index.html 2016-09-01T00:00:00Z 2016-09-01T00:00:00Z @@ -125,7 +125,7 @@ cat > "${TEMP}/expected-atom.xml" < Foo - /post/foo/index.html + http://example.org/post/foo/index.html 2016-10-01T00:00:00Z 2016-10-01T00:00:00Z @@ -243,7 +243,7 @@ cat > "${TEMP}/expected-atom.xml" < Lol's Website - /atom.xml + http://example.org/atom.xml 2016-09-11T00:00:00Z @@ -255,7 +255,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 11 - /post/post11/index.html + http://example.org/post/post11/index.html 2016-09-11T00:00:00Z 2016-09-11T00:00:00Z @@ -269,7 +269,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 10 - /post/post10/index.html + http://example.org/post/post10/index.html 2016-09-10T00:00:00Z 2016-09-10T00:00:00Z @@ -283,7 +283,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 09 - /post/post09/index.html + http://example.org/post/post09/index.html 2016-09-09T00:00:00Z 2016-09-09T00:00:00Z @@ -297,7 +297,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 08 - /post/post08/index.html + http://example.org/post/post08/index.html 2016-09-08T00:00:00Z 2016-09-08T00:00:00Z @@ -311,7 +311,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 07 - /post/post07/index.html + http://example.org/post/post07/index.html 2016-09-07T00:00:00Z 2016-09-07T00:00:00Z @@ -325,7 +325,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 06 - /post/post06/index.html + http://example.org/post/post06/index.html 2016-09-06T00:00:00Z 2016-09-06T00:00:00Z @@ -339,7 +339,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 05 - /post/post05/index.html + http://example.org/post/post05/index.html 2016-09-05T00:00:00Z 2016-09-05T00:00:00Z @@ -353,7 +353,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 04 - /post/post04/index.html + http://example.org/post/post04/index.html 2016-09-04T00:00:00Z 2016-09-04T00:00:00Z @@ -367,7 +367,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 03 - /post/post03/index.html + http://example.org/post/post03/index.html 2016-09-03T00:00:00Z 2016-09-03T00:00:00Z @@ -381,7 +381,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 02 - /post/post02/index.html + http://example.org/post/post02/index.html 2016-09-02T00:00:00Z 2016-09-02T00:00:00Z @@ -395,7 +395,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 01 - /post/post01/index.html + http://example.org/post/post01/index.html 2016-09-01T00:00:00Z 2016-09-01T00:00:00Z @@ -469,7 +469,7 @@ cat > "${TEMP}/proj/templates/atom.tmpl" < {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - {{ FILTER_TAG }}{% endif %} - {{ BASE_URL }}/atom/{% ifdef FILTER_TAG %}{{ FILTER_TAG }}/{% endif %} + {{ BASE_DOMAIN }}{{ BASE_URL }}/atom/{% ifdef FILTER_TAG %}{{ FILTER_TAG }}/{% endif %} {{ DATE_FIRST_FORMATTED }} @@ -481,7 +481,7 @@ cat > "${TEMP}/proj/templates/atom.tmpl" < {{ TITLE }} - {{ BASE_URL }}/post/{{ FILENAME }}/ + {{ BASE_DOMAIN }}{{ BASE_URL }}/post/{{ FILENAME }}/ {{ DATE_FORMATTED }} {{ DATE_FORMATTED }} @@ -516,7 +516,7 @@ cat > "${TEMP}/expected-atom.xml" < Lol's Website - /atom/ + http://example.org/atom/ 2016-09-11T00:00:00Z @@ -528,7 +528,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 11 - /post/post11/ + http://example.org/post/post11/ 2016-09-11T00:00:00Z 2016-09-11T00:00:00Z @@ -542,7 +542,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 10 - /post/post10/ + http://example.org/post/post10/ 2016-09-10T00:00:00Z 2016-09-10T00:00:00Z @@ -556,7 +556,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 09 - /post/post09/ + http://example.org/post/post09/ 2016-09-09T00:00:00Z 2016-09-09T00:00:00Z @@ -570,7 +570,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 08 - /post/post08/ + http://example.org/post/post08/ 2016-09-08T00:00:00Z 2016-09-08T00:00:00Z @@ -584,7 +584,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 07 - /post/post07/ + http://example.org/post/post07/ 2016-09-07T00:00:00Z 2016-09-07T00:00:00Z @@ -598,7 +598,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 06 - /post/post06/ + http://example.org/post/post06/ 2016-09-06T00:00:00Z 2016-09-06T00:00:00Z @@ -612,7 +612,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 05 - /post/post05/ + http://example.org/post/post05/ 2016-09-05T00:00:00Z 2016-09-05T00:00:00Z @@ -626,7 +626,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 04 - /post/post04/ + http://example.org/post/post04/ 2016-09-04T00:00:00Z 2016-09-04T00:00:00Z @@ -640,7 +640,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 03 - /post/post03/ + http://example.org/post/post03/ 2016-09-03T00:00:00Z 2016-09-03T00:00:00Z @@ -654,7 +654,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 02 - /post/post02/ + http://example.org/post/post02/ 2016-09-02T00:00:00Z 2016-09-02T00:00:00Z @@ -668,7 +668,7 @@ cat > "${TEMP}/expected-atom.xml" < Post 01 - /post/post01/ + http://example.org/post/post01/ 2016-09-01T00:00:00Z 2016-09-01T00:00:00Z @@ -806,7 +806,7 @@ cat > "${TEMP}/expected-atom.xml" < Lol's Website - /atom.xml + http://example.org/atom.xml 2016-10-01T00:00:00Z @@ -818,7 +818,7 @@ cat > "${TEMP}/expected-atom.xml" < Foo - /post/foo/index.html + http://example.org/post/foo/index.html 2016-10-01T00:00:00Z 2016-10-01T00:00:00Z @@ -832,7 +832,7 @@ cat > "${TEMP}/expected-atom.xml" < Bar - /post/bar/index.html + http://example.org/post/bar/index.html 2016-09-01T00:00:00Z 2016-09-01T00:00:00Z @@ -922,7 +922,7 @@ cat > "${TEMP}/expected-atom.xml" < Lol's Website - /atom.xml + http://example.org/atom.xml 2016-10-01T00:00:00Z @@ -934,7 +934,7 @@ cat > "${TEMP}/expected-atom.xml" < Foo - /post/foo/index.html + http://example.org/post/foo/index.html 2016-10-01T00:00:00Z 2016-10-01T00:00:00Z @@ -948,7 +948,7 @@ cat > "${TEMP}/expected-atom.xml" < Bar - /post/bar/index.html + http://example.org/post/bar/index.html 2016-09-01T00:00:00Z 2016-09-01T00:00:00Z @@ -962,7 +962,7 @@ cat > "${TEMP}/expected-atom.xml" < Baz - /post/baz/index.html + http://example.org/post/baz/index.html 2016-08-01T00:00:00Z 2016-08-01T00:00:00Z @@ -982,7 +982,7 @@ cat > "${TEMP}/expected-atom-tag1.xml" < Lol's Website - tag1 - /atom/tag1.xml + http://example.org/atom/tag1.xml 2016-08-01T00:00:00Z @@ -994,7 +994,7 @@ cat > "${TEMP}/expected-atom-tag1.xml" < Baz - /post/baz/index.html + http://example.org/post/baz/index.html 2016-08-01T00:00:00Z 2016-08-01T00:00:00Z @@ -1014,7 +1014,7 @@ cat > "${TEMP}/expected-atom-tag2.xml" < Lol's Website - tag2 - /atom/tag2.xml + http://example.org/atom/tag2.xml 2016-08-01T00:00:00Z @@ -1026,7 +1026,7 @@ cat > "${TEMP}/expected-atom-tag2.xml" < Baz - /post/baz/index.html + http://example.org/post/baz/index.html 2016-08-01T00:00:00Z 2016-08-01T00:00:00Z @@ -1243,7 +1243,7 @@ cat > "${TEMP}/expected-atom.xml" < Lol's Website - /atoom/index.xml + http://example.org/atoom/index.xml 2016-10-01T00:00:00Z @@ -1255,7 +1255,7 @@ cat > "${TEMP}/expected-atom.xml" < Foo - /poost/foo.html + http://example.org/poost/foo.html 2016-10-01T00:00:00Z 2016-10-01T00:00:00Z @@ -1347,7 +1347,7 @@ cat > "${TEMP}/expected-atom-tag1.xml" < Lol's Website - tag1 - /atoom/tag1/index.xml + http://example.org/atoom/tag1/index.xml 2016-08-01T00:00:00Z @@ -1359,7 +1359,7 @@ cat > "${TEMP}/expected-atom-tag1.xml" < Baz - /poost/baz.html + http://example.org/poost/baz.html 2016-08-01T00:00:00Z 2016-08-01T00:00:00Z @@ -1379,7 +1379,7 @@ cat > "${TEMP}/expected-atom-tag2.xml" < Lol's Website - tag2 - /atoom/tag2/index.xml + http://example.org/atoom/tag2/index.xml 2016-08-01T00:00:00Z @@ -1391,7 +1391,7 @@ cat > "${TEMP}/expected-atom-tag2.xml" < Baz - /poost/baz.html + http://example.org/poost/baz.html 2016-08-01T00:00:00Z 2016-08-01T00:00:00Z @@ -1659,7 +1659,7 @@ cat > "${TEMP}/expected-atom-dump.xml" < {{ SITE_TITLE }}{% ifdef FILTER_TAG %} - {{ FILTER_TAG }}{% endif %} - {{ BASE_URL }}/atoom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}{% endif %}/index.xml + {{ BASE_DOMAIN }}{{ BASE_URL }}/atoom{% ifdef FILTER_TAG %}/{{ FILTER_TAG }}{% endif %}/index.xml {{ DATE_FIRST_FORMATTED }} @@ -1671,7 +1671,7 @@ cat > "${TEMP}/expected-atom-dump.xml" < {{ TITLE }} - {{ BASE_URL }}/poost/{{ FILENAME }}.html + {{ BASE_DOMAIN }}{{ BASE_URL }}/poost/{{ FILENAME }}.html {{ DATE_FORMATTED }} {{ DATE_FORMATTED }} @@ -1784,7 +1784,7 @@ cat > "${TEMP}/expected-atom.xml" < Lol's Website - /index.xml + http://example.org/index.xml 2016-10-01T00:00:00Z @@ -1796,7 +1796,7 @@ cat > "${TEMP}/expected-atom.xml" < Foo - /foo/index.html + http://example.org/foo/index.html 2016-10-01T00:00:00Z 2016-10-01T00:00:00Z @@ -1916,7 +1916,7 @@ cat > "${TEMP}/expected-atom.xml" < Lol's Website - /index.xml + http://example.org/index.xml 2016-10-01T00:00:00Z @@ -1928,7 +1928,7 @@ cat > "${TEMP}/expected-atom.xml" < Foo - /foo.html + http://example.org/foo.html 2016-10-01T00:00:00Z 2016-10-01T00:00:00Z @@ -1948,7 +1948,7 @@ cat > "${TEMP}/expected-atom-tag1.xml" < Lol's Website - tag1 - /tag1/index.xml + http://example.org/tag1/index.xml 2016-08-01T00:00:00Z @@ -1960,7 +1960,7 @@ cat > "${TEMP}/expected-atom-tag1.xml" < Baz - /baz.html + http://example.org/baz.html 2016-08-01T00:00:00Z 2016-08-01T00:00:00Z @@ -1980,7 +1980,7 @@ cat > "${TEMP}/expected-atom-tag2.xml" < Lol's Website - tag2 - /tag2/index.xml + http://example.org/tag2/index.xml 2016-08-01T00:00:00Z @@ -1992,7 +1992,7 @@ cat > "${TEMP}/expected-atom-tag2.xml" < Baz - /baz.html + http://example.org/baz.html 2016-08-01T00:00:00Z 2016-08-01T00:00:00Z -- cgit v1.2.3-18-g5258