Topic on Project:Support desk

Extension:RSS bug? Does not seperate RSS items

3
Semako96 (talkcontribs)

I want to include the latest topics of my forum within a wiki page and used RSS for that: https://mariowiki.net/wiki/Vorlage:Hauptseite/Forum

The problem however is, that, after configuring Extension:RSS so that it displays links and images within the RSS descriptions, the items aren't seperated properly when the previous item's description ends with an image like a smiley.

I tried workarounds by adding divs and spans to the MediaWiki:Rss-feed template (which I also want because it makes styling with CSS much easier), but that doesn't work either, the div and span tags don't get included in the source code of the RSS feed on the wiki page.

Is there another workaround for this bug?

Semako96 (talkcontribs)

push

Ciencia Al Poder (talkcontribs)

The wiki is rendering bad HTML markup. This is caused by the fact Extension:RSS is truncating the contents of each item to a fixed number of characters, but it's not respecting HTML tags. In one case, it truncates in the middle of the URL of an <img> tag, causing tags and attributes to not be properly closed.

You can try raising item-max-length to the maximum to prevent this.

Reply to "Extension:RSS bug? Does not seperate RSS items"