danpros / htmly

Simple and fast databaseless PHP blogging platform, and Flat-File CMS
https://www.htmly.com
GNU General Public License v2.0
1.1k stars 266 forks source link

Replace RSS description value with Meta Description instead of Body #802

Closed KuJoe closed 2 months ago

KuJoe commented 2 months ago

The Meta Description of a post makes more sense for the RSS feed since it's either a user generated description of the post or automatically pulled from the post body. A user can leave the Meta Description blank to use the post body for the RSS feed (which is basically the current RSS method).

danpros commented 2 months ago

Hello,

We should keep to use the post body because the meta descriptions mostly auto generated (default option 150 char) and we can't set the RSS feed char length eg. become 300 char after the description is set. In RSS char options if we set to 0 it will display the full article (useful when we want to display the blog post in another page outside htmly).

danpros commented 2 months ago

Or we can add an additional options, to use the descriptions or the post body