git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16bdcc
)
nieuws/feed: include domain part in article link
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 25 Jun 2019 19:12:18 +0000
(21:12 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 25 Jun 2019 19:12:18 +0000
(21:12 +0200)
Not required by specs, but some readers do not support relative urls,
for example Tiwool's RSS Reader v1.0.
nieuws/feed/index.php
patch
|
blob
|
history
diff --git
a/nieuws/feed/index.php
b/nieuws/feed/index.php
index 9dc05ec64733e69f537f548c8f997f7df191be87..3bea1b728582a8c820f3bfb0319c2c52cb273b7a 100644
(file)
--- a/
nieuws/feed/index.php
+++ b/
nieuws/feed/index.php
@@
-27,7
+27,7
@@
foreach ($pages as $i => $page) {
<entry>
<id><?= $siteref . '/' . $article->link ?></id>
- <link href="
/<?=
$article->link ?>" />
+ <link href="
<?= $siteref . '/' .
$article->link ?>" />
<title><?= $article->title ?></title>
<published><?= $article->dateiso ?></published>
<updated><?= $article->dateiso ?></updated>