• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Latest post link and text in RSS feed


Active member
In the XF global (or any) RSS feed, the <link> and <content:encoded> tags include the link to the thread and the text of the first post, respectively.

For example in

for the first item (at this moment) we have

<title>Username CSS Visibility On Nodes</title>
<pubDate>Fri, 09 Dec 2016 01:32:09 +0000</pubDate>
<author>invalid@example.com (Luminxsity)</author>
<span style="font-family: 'Tahoma'">Hello there, <br /> I was wondering if anyone is able to help me with this issue?<br /> <br /> <b>Issue: </b><a href="http://prntscr.com/dh4kxj" target="_blank" class="externalLink" rel="nofollow">http://prntscr.com/dh4kxj</a><br /> <b>Example:</b> <a href="http://prntscr.com/dh4mpc" target="_blank" class="externalLink" rel="nofollow">http://prntscr.com/dh4mpc</a><br /> <br /> In the (issue) screenshot, the arrow is pointing to one of the Administrators username where it would be red everywhere else, but on the node forum it isn&#039;t. <br /> I was just wondering how to make it appear that groups username css like presented in the example screenshot.<br /> <br /> - Thank you!</span>
Is it possible to change the <link> text to the last item of the thread (https://xenforo.com/community/threads/username-css-visibility-on-nodes.123950/#post-1118460) and <content:encoded> text to the body of the last post instead?

Also, why <Author> tag always contain "invalid@example.com (author_name)"? Where is this invalid@example.com is coming?

And finally, can we change the <Author> to the last poster, rather than the OP (which is already listed as <creator>)?

I have no idea how this RSS feed works, so sorry if that makes no sense.