# Zola 12 RSS Issues

**URL:** <https://zola.discourse.group/t/zola-12-rss-issues/588>\
**Category:** Support\
**Created:** [September 16, 2020, 9:21am UTC](https://zola.discourse.group/t/zola-12-rss-issues/588 "2020-09-16T09:21:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SgtIria](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/sgtiria/32/85_2.png) [@SgtIria](https://zola.discourse.group/u/SgtIria)\
**Post date:** [September 16, 2020, 9:21am UTC](https://zola.discourse.group/t/zola-12-rss-issues/588/1 "2020-09-16T09:21:52Z")

</div>

# RSS Issues In Zola 12

I’ve just got round to doing some testing on the **new Zola 12**. My first action is always to generate a site with the last version of Zola (11) and then I generate one with the new version (12).

```auto
zola build -u https://adeptenglish.com -o ..\deployment\ZOLA11
Building site...
-> Creating 178 pages (0 orphan), 6 sections, and processing 0 images
Done in 28.4s.

```

Then using the new zola…

```auto
zola build -u https://adeptenglish.com -o ..\deployment\ZOLA12
Building site...
-> Creating 178 pages (0 orphan), 6 sections, and processing 0 images
Done in 35.6s.

```

> Note: It’s **slower to generate the site**. I will take some time to run more tests later.

I then run a diff against the outputs. And focusing on the RSS output for now. (Our podcast RSS feed is very important so we always check this in detail.)

## Main Site RSS Feed (Root)

### Zola 11 output…

```auto
</content>

```

### Zola 12 output…

```auto
&lt;span id=&quot;continue-reading&quot;&gt;&lt;&#x2F;span&gt;
&lt;p&gt;Click on the &lt;cod</content>

```

### Zola 11 output…

```auto
</content>

```

### Zola 12 output…

```auto
&lt;span id=&quot;continue-readi</content>

```

> This new code has been inserted and it seems to be truncated, the HTML tags are not terminated correctly. The HTML is escaped (it shouldnt be)

## Custom Taxonomy RSS

### Zola 11 output…

```auto
<h3>Discover Adept English the modern way to learn to speak English.</h3> 

```

### Zola 12 output…

```auto
<span id="continue-readi<h3>Discover Adept English the modern way to learn to speak English.</h3> 

```

> Invalid HTML inserted. The tag is not closed. Looks truncated.

### Zola 11 output…

```auto
          <img style="padding: 3px;" class="image is-pulled-left is-64x64" src="/img/icons/flower.svg"
      title="Adept English flower icon"
      alt="One of our back to school pencil style doodle icons called flower.">
	</span>

```

### Zola 12 output…

```auto
	<pre><code> &lt;img style=&quot;padding: 3px;&quot; class=&quot;image is-pulled-left is-64x64&quot; src=&quot;/img/icons/flower.svg&quot;
  title=&quot;Adept English flower icon&quot;
  alt=&quot;One of our back to school pencil style doodle icons called flower.&quot;&gt;
&lt;/span&gt;
</code></pre>

```

> `<span>` changed to `<pre><code>` which I guess someone thought was important but -Note that the content has been changed to escaped without any request for this.

### Zola 11 output…

```auto
<h3>Discover Adept English the modern way to learn to speak English.</h3> 

```

### Zola 12 output…

```auto
<span id="continue-reading"></span>
<p>If you want to le<h3>Discover Adept English the modern way to learn to speak English.</h3> 

```

> Notice that the paragraph tag is truncated and does not terminate correctly.

## Summary Observations

Note: I pulled all output directly from the diff output, its a cut and paste of each line.

- I think there is inconsistent escaping of inserted HTML.
- I think there is new HTML being inserted that get truncated.
- The continue reading link is not relevant to most RSS output, yet now it’s automatically inserted.
- The truncated HTML is generating unclosed HTML tags.

The main issue is that these RSS feeds no longer parse successfully.

[Feed checker](https://validator.w3.org/feed/check.cgi#l609)

Thanks for reading this far 🙂

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [September 16, 2020, 10:48am UTC](https://zola.discourse.group/t/zola-12-rss-issues/588/2 "2020-09-16T10:48:42Z")

</div>

Whoa looks like this continue reading is messing up a lot. I’ll dig into that asap

The slowness is very worrying, is that using a `release` version of zola? That seems way way way too slow. The Zola docs have 63 + some image processing and it is done in around 350ms on my machine.

---

<div class="post-metadata">

**Author:** ![SgtIria](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/sgtiria/32/85_2.png) [@SgtIria](https://zola.discourse.group/u/SgtIria)\
**Post date:** [September 16, 2020, 10:55am UTC](https://zola.discourse.group/t/zola-12-rss-issues/588/3 "2020-09-16T10:55:56Z")

</div>

Thanks for looking into the continue-reading.

Yes our site has always been 20+ seconds to build. We only use [release versions](https://github.com/getzola/zola/releases) from here, or more normally we use chocolatey on Windows. Which is currently still at V11.

```auto
λ choco list zola -a
Chocolatey v0.10.15
zola 0.9.0 [Approved] Downloads cached for licensed users
zola 0.5.0 [Approved] Downloads cached for licensed users
zola 0.10.0 [Approved] Downloads cached for licensed users
zola 0.10.1 [Approved] Downloads cached for licensed users
zola 0.6.0 [Approved] Downloads cached for licensed users
zola 0.11.0 [Approved] Downloads cached for licensed users
zola 0.7.0 [Approved] Downloads cached for licensed users
zola 0.8.0 [Approved] Downloads cached for licensed users
8 packages found.

```

We always assumed it was the number of taxonomies and tags we are using:

[Tags list…](https://adeptenglish.com/tags/)

And the fact our average article length is 2000+ words \* 178 pages = Very slow to generate the `search_index.en.js` (8mb file)

We’ve not got to implementing the new search features yet, with we were hoping to dramatically reduce the index size and speed up site build time.

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [September 16, 2020, 10:57am UTC](https://zola.discourse.group/t/zola-12-rss-issues/588/4 "2020-09-16T10:57:25Z")

</div>

Can you disable the search index just to see the time it takes without?

---

<div class="post-metadata">

**Author:** ![SgtIria](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/sgtiria/32/85_2.png) [@SgtIria](https://zola.discourse.group/u/SgtIria)\
**Post date:** [September 16, 2020, 11:04am UTC](https://zola.discourse.group/t/zola-12-rss-issues/588/5 "2020-09-16T11:04:40Z")

</div>

# config.toml

```auto
build_search_index = true

```

## Console output Zola 12 Search on

```auto
C:\Users\Iria\Zola\production (master -> origin)
λ zola serve -i 192.168.1.101 -p 2015 -u 192.168.1.101
Building site...
-> Creating 178 pages (0 orphan), 6 sections, and processing 0 images
Done in 31.0s.

Listening for changes in C:\Users\Iria\Zola\production{config.toml, content, static, templates}
Press Ctrl+C to stop

Web server is available at http://192.168.1.101:2015

```

## Console output Zola 12 Search OFF

```auto
build_search_index = false

```

```auto
C:\Users\Iria\Zola\production (master -> origin)
λ zola serve -i 192.168.1.101 -p 2015 -u 192.168.1.101
Building site...
-> Creating 178 pages (0 orphan), 6 sections, and processing 0 images
Done in 24.3s.

Listening for changes in C:\Users\Iria\Zola\production{config.toml, content, static, templates}
Press Ctrl+C to stop

Web server is available at http://192.168.1.101:2015

```

> It’s about **7 seconds** difference.

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [September 16, 2020, 11:06am UTC](https://zola.discourse.group/t/zola-12-rss-issues/588/6 "2020-09-16T11:06:48Z")

</div>

Hmm even without search index it’s about 24-30x slower than what I would expect. I’ll dig into that after fixing the continue reading issue

---

<div class="post-metadata">

**Author:** ![SgtIria](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/sgtiria/32/85_2.png) [@SgtIria](https://zola.discourse.group/u/SgtIria)\
**Post date:** [September 22, 2020, 3:44pm UTC](https://zola.discourse.group/t/zola-12-rss-issues/588/7 "2020-09-22T15:44:53Z")

</div>

I messaged you about providing a site, for performance testing.
