tweak order of <link>s in atom feeds
authorAmin Bandali <bandali@gnu.org>
Mon, 26 Jul 2021 18:25:08 +0000 (14:25 -0400)
committerAmin Bandali <bandali@gnu.org>
Mon, 26 Jul 2021 18:25:08 +0000 (14:25 -0400)
some implementations/parsers like planet venus don't seem to know
about hreflang, so let's try switching the order of links and see if
it helps them pick up the right one for the site address.

fa/notes.atom
notes.atom

index e76c515..4224fa2 100644 (file)
@@ -3,14 +3,14 @@
 <title>سایت شخصی بندعلی</title>
 <subtitle>نوشته‌ها و بلاگ پست‌های بندعلی</subtitle>
 <id>tag:bndl.org,2020:fa/notes.atom</id>
-<link href="https://bndl.org/fa/notes.atom" rel="self" type="application/atom+xml" />
-<link href="https://bndl.org/fa/notes.rss" rel="alternate" type="application/rss+xml" />
-<link href="https://bndl.org/fa/" rel="alternate" type="text/html" />
-<link href="https://bndl.org/fa/bandali.fa.txt" rel="alternate" type="text/plain" />
 <link hreflang="en" href="https://bndl.org/notes.atom" rel="alternate" type="application/atom+xml" />
 <link hreflang="en" href="https://bndl.org/notes.rss" rel="alternate" type="application/rss+xml" />
 <link hreflang="en" href="https://bndl.org" rel="alternate" type="text/html" />
 <link hreflang="en" href="https://bndl.org/bandali.fa.txt" rel="alternate" type="text/plain" />
+<link href="https://bndl.org/fa/notes.atom" rel="self" type="application/atom+xml" />
+<link href="https://bndl.org/fa/notes.rss" rel="alternate" type="application/rss+xml" />
+<link href="https://bndl.org/fa/" rel="alternate" type="text/html" />
+<link href="https://bndl.org/fa/bandali.fa.txt" rel="alternate" type="text/plain" />
 <updated>2021-03-22T13:14:02+00:00</updated>
 
 <entry xml:base="https://bndl.org/fa/">
index 8371d4e..283e4b0 100644 (file)
@@ -3,14 +3,14 @@
 <title>bandali's personal site</title>
 <subtitle>notes and blog posts by bandali</subtitle>
 <id>tag:bndl.org,2020:notes.atom</id>
+<link hreflang="fa" href="https://bndl.org/fa/notes.atom" rel="alternate" type="application/atom+xml" />
+<link hreflang="fa" href="https://bndl.org/fa/notes.rss" rel="alternate" type="application/rss+xml" />
+<link hreflang="fa" href="https://bndl.org/fa/" rel="alternate" type="text/html" />
+<link hreflang="fa" href="https://bndl.org/fa/bandali.fa.txt" rel="alternate" type="text/plain" />
 <link href="https://bndl.org/notes.atom" rel="self" type="application/atom+xml" />
 <link href="https://bndl.org/notes.rss" rel="alternate" type="application/rss+xml" />
 <link href="https://bndl.org" rel="alternate" type="text/html" />
 <link href="https://bndl.org/bandali.txt" rel="alternate" type="text/plain" />
-<link hreflang="fa" href="https://bndl.org/fa/notes.atom" rel="self" type="application/atom+xml" />
-<link hreflang="fa" href="https://bndl.org/fa/notes.rss" rel="alternate" type="application/rss+xml" />
-<link hreflang="fa" href="https://bndl.org/fa/" rel="alternate" type="text/html" />
-<link hreflang="fa" href="https://bndl.org/fa/bandali.fa.txt" rel="alternate" type="text/plain" />
 <updated>2021-03-22T13:14:02+00:00</updated>
 
 <entry xml:base="https://bndl.org">