# Rss description from page body in Franklin

**URL:** <https://discourse.julialang.org/t/rss-description-from-page-body-in-franklin/75936>\
**Category:** Web Stack\
**Tags:** question, franklin\
**Created:** [February 7, 2022, 8:18am UTC](https://discourse.julialang.org/t/rss-description-from-page-body-in-franklin/75936 "2022-02-07T08:18:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [February 7, 2022, 8:18am UTC](https://discourse.julialang.org/t/rss-description-from-page-body-in-franklin/75936/1 "2022-02-07T08:18:17Z")

</div>

I understand that Franklin.jl only adds a page to the RSS feed if the relevant page variable is set (`rss` for short), which then provides the description.

Would it be possible to auto-generate this from the first `N` words or paragraphs of the page, eg invoked as `rss = :beginning`?

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [March 11, 2022, 8:33am UTC](https://discourse.julialang.org/t/rss-description-from-page-body-in-franklin/75936/2 "2022-03-11T08:33:29Z")

</div>

Sorry I hadn’t seen this (I should subscribe to the Franklin tag…)

You could do what you suggest with

```julia
+++
... other variables here ...
rss = first(read(locvar(:fd_rpath), String), 500)
...
+++

Rest of your Markdown

```

the issue of course is that it will read the source file and so you’ll have page variables etc in there which is not ideal.

I think a more reasonable approach is to set `rss` to `"."` (or any non empty string) and set in `config.md` `rss_full_content = true` which will put the entire HTML of the page in the RSS item.  
For JuliaGPU ([Blog ⋅ JuliaGPU](https://juliagpu.org/post/)), both the description and full content are placed but this should not be necessary if you assume that the RSS is read by a reasonably standard RSS reader (unfortunately “reasonably standard” is not something that rhymes with RSS).

But in Vienna for instance you can see the full HTML of the page

 ![Screenshot 2022-03-11 at 09.34.52](https://global.discourse-cdn.com/julialang/original/3X/a/a/aac78238c662969f6383ba52e35a792d9ba3308a.png)
