distill icon indicating copy to clipboard operation
distill copied to clipboard

RSS category-based feeds

Open karbartolome opened this issue 1 year ago • 1 comments

Hi! I'm having a problem with distill and RSS feed for certain categories. Based on this documentation: https://rstudio.github.io/distill/blog.html#rss-feed, I've included a categories option to the _site.yml:

rss:
  full_content: true
  categories:
    - category_1
    - category_2

However, no categories folder is created when I render the site (rmarkdown::render_site()). Any ideas on what I may be doing wrong?

A full example here: https://github.com/karbartolome/distill_test

SessionInfo():

R version 4.2.0 (2022-04-22 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] rstudioapi_0.14   xml2_1.3.3        magrittr_2.0.3    knitr_1.42        whisker_0.4      
 [6] downlit_0.4.2     timechange_0.2.0  R6_2.5.1          rlang_1.1.0       fastmap_1.1.0    
[11] fansi_1.0.3       stringr_1.5.0     tools_4.2.0       xfun_0.37         cli_3.6.1        
[16] jquerylib_0.1.4   withr_2.5.0       htmltools_0.5.5   yaml_2.3.5        digest_0.6.29    
[21] rprojroot_2.0.3   lifecycle_1.0.3   fontawesome_0.5.0 bookdown_0.26     sass_0.4.5       
[26] vctrs_0.6.1       rsconnect_0.8.26  distill_1.5.2     glue_1.6.2        memoise_2.0.1    
[31] cachem_1.0.6      evaluate_0.20     rmarkdown_2.21    stringi_1.7.6     compiler_4.2.0   
[36] bslib_0.4.2       generics_0.1.3    jsonlite_1.8.4    lubridate_1.9.2  

Thanks!

karbartolome avatar Apr 07 '23 18:04 karbartolome

Apparently, the "categories" folder is created when I render a new post. However, when I build the website (rmarkdown::render_site), this folder is being removed for some reason.

karbartolome avatar Apr 08 '23 20:04 karbartolome