rstudio / distill

Distill for R Markdown
https://rstudio.github.io/distill/
Apache License 2.0
422 stars 57 forks source link

RSS feed questions #99

Closed mattansb closed 3 years ago

mattansb commented 5 years ago
  1. Is it possible to create an RSS feed that is limited to some categories / labels / tags only?
  2. Is it possible to have the RSS feed have the full content of the posts?

(Both these are required for R-Bloggers cross-posting...)

Bisaloo commented 5 years ago

Related: #33

maelle commented 4 years ago

I think it's possible these days.

See this config

rss:
  full_content: TRUE
  categories:
    - Packages/Releases
    - TensorFlow/Keras
    - R
maelle commented 4 years ago

https://blogs.rstudio.com/ai/ is available at R-bloggers.

maelle commented 4 years ago

that said I don't get a full content RSS feed with the same config :thinking:

https://github.com/maelle/maelle-distill

maelle commented 4 years ago

https://blogs.rstudio.com/ai/index.xml isn't full content actually?!

maelle commented 4 years ago

For the full content generation to work, the listing posts.json needs to feature input_file fields https://github.com/rstudio/pins/blob/fa79b80b69dea807a0fe895500472e856eaa6b73/docs/blog/posts/posts.json#L21

Now I need to investigate a bit more to see how I need to generate them.

maelle commented 4 years ago

I have tried hard comparing my local setup with the blog above by @javierluraschi and I can't understand how to have posts.json include the "input_file" information.

cderv commented 3 years ago

I think this does not work because of an issue currently. See #376

Apart from this, this should work.

So #380 should fix this.