Fix missing XML namespace in RSS feeds #1
8
justfile
8
justfile
|
@ -22,8 +22,8 @@ up: html rss
|
||||||
# make episodes rss
|
# make episodes rss
|
||||||
episoderss:
|
episoderss:
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
echo "<rss version=\"2.0\"><channel><title>cleric + thief</title>" > www/episodes.xml
|
echo '<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>cleric + thief</title>' > www/episodes.xml
|
||||||
echo "<link>http://tilde.town/~dozens/clericthief/index.html</link><description>adventures of iofi and maddox</description><atom:link rel=\"self\" type=\"application/rss+xml\" href=\"http://tilde.town/~dozens/clericthief/episodes.xml\"/>" >> www/episodes.xml
|
echo '<link>http://tilde.town/~dozens/clericthief/index.html</link><description>adventures of iofi and maddox</description><atom:link rel="self" type="application/rss+xml" href="http://tilde.town/~dozens/clericthief/episodes.xml"/>' >> www/episodes.xml
|
||||||
ed -s << HEREDOC src/index.md | recfmt -f templates/blogitem.rec.template | m4 >> www/episodes.xml
|
ed -s << HEREDOC src/index.md | recfmt -f templates/blogitem.rec.template | m4 >> www/episodes.xml
|
||||||
/BEGIN/ka
|
/BEGIN/ka
|
||||||
/END/kb
|
/END/kb
|
||||||
|
@ -44,8 +44,8 @@ episoderss:
|
||||||
# make journal rss
|
# make journal rss
|
||||||
journalrss:
|
journalrss:
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
echo "<rss version=\"2.0\"><channel><title>cleric + thief</title>" > www/journal.xml
|
echo '<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>cleric + thief</title>' > www/journal.xml
|
||||||
echo "<link>http://tilde.town/~dozens/clericthief/index.html</link><description>behind the scenes of cleric + thief</description><atom:link rel=\"self\" type=\"application/rss+xml\" href=\"http://tilde.town/~dozens/clericthief/journal.xml\"/>" >> www/journal.xml
|
echo '<link>http://tilde.town/~dozens/clericthief/index.html</link><description>behind the scenes of cleric + thief</description><atom:link rel="self" type="application/rss+xml" href="http://tilde.town/~dozens/clericthief/journal.xml"/>' >> www/journal.xml
|
||||||
ed -s !'markdown src/journal.md' << HEREDOC | recfmt -f templates/journalitem.rec.template | m4 >> www/journal.xml
|
ed -s !'markdown src/journal.md' << HEREDOC | recfmt -f templates/journalitem.rec.template | m4 >> www/journal.xml
|
||||||
/BEGIN/ka
|
/BEGIN/ka
|
||||||
/END/kb
|
/END/kb
|
||||||
|
|
Loading…
Reference in New Issue