Jump to content

Community

RobotMonkeyHæd

Add "author" to outgoing RSS feed values

Recommended Posts

Currently only the following values are outputted through the RSS feed:
"title"
"description"
"link"
"date"

I think "author" should be added to that information.
That way, for example if you're using RSS to output to Facebook or Discord or Twitter, and you're customizing the outgoing feed, you can include the author of the post.  It looks a little weird when you just see some random post and have no idea who it's from, just appears to be from the site itself. 

Share this post


Link to post
Share on other sites
Posted (edited)
51 minutes ago, Stuart Silvester said:

The 'author' element in RSS2 is an email address. For obvious privacy reasons we cannot include an email address of who created a post.

https://validator.w3.org/feed/docs/rss2.html#ltauthorgtSubelementOfLtitemgt

Might be a nice (configuration option?) to have <author>communityemail@example.com (Display Name)</author>

Or, even better, extend it with a namespace declaration that allows for something like a Contributor field that doesn't include an e-mail address, only display name.

Edited by Paul E.
extend namespace idea...

Share this post


Link to post
Share on other sites

@Paul E.  Yea either would accomplish what I was hoping for.

@AlexWebsites I pass the RSS to IFTTT which then outs it to Facebook and Twitter.  I used to use it for Google+ before it shut down.  For Discord I use Discordrss bot.   Hope this helps.

One major pain tho is that Cloudflare messes up your RSS feed.  So ever since I started using Cloudflare I've been unable to automate my social media presence, which sucks.  If anyone knows how to work around that, a solution would be greatly appreciated, albeit a little off topic.

  

Share this post


Link to post
Share on other sites
Posted (edited)
10 hours ago, RobotMonkeyHæd said:

One major pain tho is that Cloudflare messes up your RSS feed. 

You could setup a page rule to disable cache on the RSS feed (assuming that's what's breaking). Not sure if you need a subscription to use page rules though.

The free plan includes three page rules. Set cache level to bypass.

Edited by Paul E.
joo can do eeet!

Share this post


Link to post
Share on other sites
On 3/26/2020 at 11:29 AM, Paul E. said:

You could setup a page rule to disable cache on the RSS feed (assuming that's what's breaking). Not sure if you need a subscription to use page rules though.

The free plan includes three page rules. Set cache level to bypass.

 

On 3/26/2020 at 8:24 AM, AlexWebsites said:

Thanks. How does cloudflare mess it up? I’m using cloudflare free plan.

That does work, but only if you don't have your Cloudflare set in Under DDoS attack mode.   We leave that mode on, because there is a forum that shares the same fan base as mine which is run by some maniac who's well know for hacking other forums in the community, and has made attacks on our site.  So turning it off isn't really an option.  And of course that mode presents a javascript challenge to the browser, which does not bear the header the rss feed reader is expecting.   Spot on tip tho, thanks.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy