# Ikiwiki RSS/atom feeds not valid

**URL:** https://discuss.freedombox.org/t/ikiwiki-rss-atom-feeds-not-valid/1298
**Category:** Feedback
**Created:** [January 4, 2021, 6:38pm UTC](https://discuss.freedombox.org/t/ikiwiki-rss-atom-feeds-not-valid/1298 "2021-01-04T18:38:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![baltakatei](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/b/71e660/32.png) [@baltakatei](https://discuss.freedombox.org/u/baltakatei)
#### Post date: [January 4, 2021, 6:38pm UTC](https://discuss.freedombox.org/t/ikiwiki-rss-atom-feeds-not-valid/1298/1 "2021-01-04T18:38:27Z")

</div>

# Feedback on a Problem or for Improvement

**Summary**  
ikiwiki RSS and atom feeds are not valid due to lack of domain name in URLs.

**Description**  
After recently creating an ikiwiki blog (currently on FreedomBox version 20.21), the RSS and atom feeds generated and linked on the blog main page uses relative links that do not contain a publicly-resolvable domain name. Therefore, feed does not validate when fed to the [W3C Feed Validation Service](https://validator.w3.org/feed/). See the screenshots below to see how the [RSS](https://reboil.com/ikiwiki/blog/index.rss) and [atom](https://reboil.com/ikiwiki/blog/index.atom) feeds on my Freedombox ikiwiki blog fail to validate.

- Freedombox version 20.21
- Ikiwiki version 3.20190228-1

**Proposed Solution**  
Update default ikiwiki configuration files to use the Freedombox’s domain name when automatically generating RSS and atom feeds.

For example, within my RSS feed on my Freedombox at domain name `reboil.com`,

```
<link>/ikiwiki/blog/</link>

```

should probably be something like:

```
<link>https://reboil.com/ikiwiki/blog/</link>

```

.

**Comment**

I found a solution for my specific blog (named `blog`) and FreedomBox domain name (`reboil.com`) by modifying the `/var/lib/ikiwiki/blog.setup` file line using `$ sudo nano /var/lib/ikiwiki/blog.setup`. I changed:

```
# base url to the wiki
url: /ikiwiki/blog

```

to instead be:

```
# base url to the wiki
url: https://reboil.com/ikiwiki/blog

```

The feed now validates (see screenshot below). I imagine a better solution would be to have a script that performs this change when a blog is first created or whenever the FreedomBox domain name is updated.

**Screenshots**

Invalid RSS feed:

 ![Screenshot from 2021-01-04 18-21-44](https://discuss.freedombox.org/uploads/default/original/1X/ac8b7286427e5c3eaad160f6b2382e0ff3825b76.png)

Invalid atom feed:

 ![Screenshot from 2021-01-04 18-36-36](https://discuss.freedombox.org/uploads/default/original/1X/69929de734dd32ecc4235073cd480ab88c2e75c0.png)

Valid RSS feed after manually modifying `/var/lib/ikiwiki/blog.setup` as described above:

 ![Screenshot from 2021-01-04 20-11-30](https://discuss.freedombox.org/uploads/default/original/1X/f9321605c720d45d307971cdc61e893cf51aa859.png)

**Edits**  
edit(2021-01-04T18:43Z):Noted Freedombox version number.  
edit(2021-01-04T18:47Z):Noted Ikiwiki version number.  
edit(2021-01-04T20:16Z):Noted specific solution for my particular blog and `.setup` file.

---

<div class="post-metadata">

### Author: ![zippy99](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/z/278dde/32.png) [@zippy99](https://discuss.freedombox.org/u/zippy99)
#### Post date: [January 5, 2021, 1:46am UTC](https://discuss.freedombox.org/t/ikiwiki-rss-atom-feeds-not-valid/1298/2 "2021-01-05T01:46:23Z")

</div>

Thanks, but not working for me.

---

<div class="post-metadata">

### Author: ![njoseph](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/njoseph/32/17_2.png) [@njoseph](https://discuss.freedombox.org/u/njoseph)
#### Post date: [January 8, 2021, 7:58am UTC](https://discuss.freedombox.org/t/ikiwiki-rss-atom-feeds-not-valid/1298/3 "2021-01-08T07:58:08Z")

</div>

Thanks for reporting this.

I created a bug in the issue tracker.

> **[ikiwiki: FreedomBox URL is missing from RSS/Atom feeds (#2007) · Issues ·...](https://salsa.debian.org/freedombox-team/freedombox/-/issues/2007)**
>
> Problem: The URLs in the RSS/Atom feeds generated by Ikiwiki only have relative paths to the blog/wiki. Expectation: The feeds should have...
