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).
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…
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…
</content>
Zola 12 output…
<span id="continue-reading"></span>
<p>Click on the <cod</content>
Zola 11 output…
</content>
Zola 12 output…
<span id="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…
<h3>Discover Adept English the modern way to learn to speak English.</h3>
Zola 12 output…
<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…
<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…
<pre><code> <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>
</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…
<h3>Discover Adept English the modern way to learn to speak English.</h3>
Zola 12 output…
<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.
Thanks for reading this far