Skip to content

Implement image tag in RSS template #505

@Fraenkiman

Description

@Fraenkiman

Lubomír has the following suggestion for improvement in the support forum:

Please fix output from flatpress RSS

  • briefer description to tag
  • add picture to tag ...

Try Widget Preview: https://www.rssfeedwidget.com/
https://www.flatpress.org/feed/rss2/ - has big description with picture
http://feeds.bbci.co.uk/news/england/rss.xml - look good
http://wordpress.org/news/feed/ - look good
rss (1)

By changing the line

{$content|tag:the_content}

in
{$content|tag:the_content|strip_tags|strip|truncate:256:"...":true|escape}
you could remove images in posts from the RSS feed. This also removes links to other entries e.t.c

The question is whether this is in the interests of the majority of FlatPress users, as the Atom feed already exists in this form. On the other hand, there is the BBcode [more] tag, which can be used to create an individual shortening. Personally, I find the HTML output in the <description> tag more attractive than the plain text output.

@azett, would you like to start a poll on this in the forum?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions