Comments (1)
Thanks a lot for opening the issue. I think we were mysteriously missing a edge case. Thanks a lot for the github repo as example, it was quite useful to fix !
First, let me explain what happened with your repo.
The error you encounter is a XML creation issue. We had a similar one in #448 and this oriented my search to usage of description
field inside files.
For the context, a RSS feed is created with XML for listings (https://rstudio.github.io/distill/blog.html#rss-feed) and the condition to trigger this is description
and site_url
inside_site.yml
. This why you "solved" your issue by removing description
field in your config file - it opt-out RSS feed for listings by doing that. But the real issue is not there.
Knowing it would be something related to listing and description, I targeted this in my debug. By trying to render your website in debug mode with distill, I found that the file creating the issue is OMbook_glossary.Rmd. As you can see this file as no description
field. And this is the real issue. If you add a description
to this post, then it will work.
Though, distill should have handle that as when no description
is provided, the title
should be used. But for an unknown reason, it seems this has never worked because there was a R to -> JSON -> R conversion happening, and NULL
was transformed to list()
and we tried to write this empty list to XML. Anyhow, I have a fix that I will push.
Regarding why this happen recently, maybe this is because, from commit history, you tinkered with collection
and categories
. This triggered the listing feature that was not present before.
Anyhow, no description
field should not have been an issue for distill, and thanks to you it means there was more to #448 report.
thank you !
from distill.
Related Issues (20)
- Upkeep for distill
- Check and add alt-text to pictures, plots, ... in website
- invalid byte sequence when deploying to github HOT 3
- RSS category-based feeds HOT 1
- Creative Commons Markdown Table Not Rendering Properly
- Warning due to deprecation of 'format' argument to 'as.character.POSIXlt()' HOT 2
- How to add email and multiple affiliations to a single author? HOT 2
- Article description does not show up when adding posts HOT 1
- Improve alt-text for ORCiD icon HOT 3
- Add <hr> for screen reader accessibility HOT 1
- Space between lines in bulleted lists HOT 1
- Various minor accessibility issues
- Release distill 1.6
- Gallery outdated, remove Quarto pages HOT 1
- Javascript & D3 page error HOT 1
- Journal (site) title is incorrectly prepended to the article title in cititations.
- Has anyone used any alternative to Google analytics? HOT 2
- italicized species names in a Rmarkdown distill package
- Using a `distill` vignette on CRAN HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distill.