Kevin
Well-known member
- Affected version
- 2.0.1
In XF 1.x when using {title} in the message template it would use the value from the RSS feed.
In XF 2.x when using {title} in the message template it is using the value of the "Title template" if a value is present. If "Title template" is empty then it is using the value from the RSS feed as expected.
Quick recreation...
Feed: https://xkcd.com/atom.xml
Template:
In XF 2.x when using {title} in the message template it is using the value of the "Title template" if a value is present. If "Title template" is empty then it is using the value from the RSS feed as expected.
Quick recreation...
Feed: https://xkcd.com/atom.xml
Template:
Code:
[url={link}][b][i]{title}[/i][/b][/url] by XKCD
{content}
- View the feed XML in a browser; take note of the <title></title> tag values.
- In XF 1.5 add https://xkcd.com/atom.xml as a new feed. Give a value of 'whatever' as the Title template, use {title} in the template (like the example provided above), click Preview. The thread title will show as 'whatever' and the post content will have the value of {title] as shown in the feed.
- In XF 2.x repeat the same steps as above; the thread title will show as 'whatever' and the post content will 'whatever' also in place of {title}.