BaunCMS / Baun-Blog-Rss

A Baun plugin that adds a RSS feed for the blog
MIT License
0 stars 1 forks source link

Full Article #2

Closed ghost closed 7 years ago

ghost commented 7 years ago

Is there a way to get the full article in the feed?

marksouthard commented 7 years ago

You could edit the plugin so that this line is updated to use the content and not the description:

https://github.com/BaunCMS/Baun-Blog-Rss/blob/master/src/templates/feed.html#L14

ghost commented 7 years ago

OK but what variable must i use for it

Am 24. Juli 2017 16:45:45 MESZ schrieb Mark Southard notifications@github.com:

You could edit the plugin so that this line is updated to use the content and not the description:

https://github.com/BaunCMS/Baun-Blog-Rss/blob/master/src/templates/feed.html#L14

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/BaunCMS/Baun-Blog-Rss/issues/2#issuecomment-317445971

-- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

marksouthard commented 7 years ago

{{ post.content }}

ghost commented 7 years ago

I tried this but no output.

Am 24. Juli 2017 17:00:26 MESZ schrieb Mark Southard notifications@github.com:

{{ post.content }}}

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/BaunCMS/Baun-Blog-Rss/issues/2#issuecomment-317450878

-- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

marksouthard commented 7 years ago

Any chance you could dump out the post var; the best I can remember it should be content. I'm sorry, but I've not been into this project much recently.

ghost commented 7 years ago

I will try soon Then I am coming back

Am 24. Juli 2017 17:09:24 MESZ schrieb Mark Southard notifications@github.com:

Any chance you could dump out the post var; the best I can remember it should be content. I'm sorry, but I've not been into this project much recently.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/BaunCMS/Baun-Blog-Rss/issues/2#issuecomment-317454040

-- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

ghost commented 7 years ago

it looks like there is no way:

  [0]=>
  array(6) {
    ["route"]=>
    string(19) "blog/neues-cms-blog"
    ["path"]=>
    string(31) "blog/20170724-neues-cms-blog.md"
    ["title"]=>
    string(16) "Neues CMS & Blog"
    ["info"]=>
    array(2) {
      ["title"]=>
      string(16) "Neues CMS & Blog"
      ["description"]=>
      string(40) "Ich nutze ein neues CMS & ein neuen Blog"
    }
    ["excerpt"]=>
    string(174) "Eigentlich war ich ja ganz zufrieden mit Hugo, doch war es mir immer noch zu gewaltig.
Zusätzlich brauchte ich immer den Zugang zu meinem Server via SSH oder FTP um einen..."
    ["published"]=>
    string(14) "24th July 2017"
  }
ghost commented 7 years ago

Ok, I fixed it I will make a Pull Request to the Framework.

marksouthard commented 7 years ago

Awesome! Thanks.