7

I would like to MYOH (Make Your Own HNQ) by posting hot network questions (HNQ) as chat feed to a chat room. This offers following benefits:

  • Filter out HNQ from specific sites, or equivalently, add HNQ only from specific sites
  • Add HNQ to a "read later" list

There doesn't seem to be any site-specific feed for HNQ, nor any way to distinguish HNQ from "ordinary" questions (other than the roundabout ways of guessing from number of views or going to archive.org, etc.).

How would I configure the chat feed to achieve this?

  • You mean this feed? That's the only HNQ feed that exists. The list is global across the entire network - there aren't separate lists for each site. Or am I missing something in your question? – animuson Jul 30 '18 at 3:46
  • 1
    Yes, I was looking for a way to filter out certain sites from HNQ. Seems that there's no way of doing it directly in the HNQ list, so I was hoping for an MYOH solution as described above. – Masked Man Jul 30 '18 at 4:06
  • 1
  • 3
    HNQ stands for Hot Network Questions. (Just to quickly clarify for anyone else scanning through this and not knowing.) – Jason Bassford Jul 30 '18 at 14:17
6

There is no such standard functionality on the site. You would need a server side implementation that responds to the Feeds bots requests and produce an RSS feed from the Hot Network Questions list.

I've created a proof of concept in Glitch here (and find the implementation here)

The Glitch app offers a route /hnq/:site. This route returns an XML RSS Feed. The feed can then be read by the Stack Exchange Feeds bot. The bot will then post new items in the chatroom.

The :site parameter can be

  • a single domain name of a site
  • a list of domains to include, indicated by a + as prefix
  • a list of domains to exclude, indicated by a - as prefix
  • a combination of domains to include and exclude

Examples of each option are

Here is an image showing how you can configure a feed in your room:

configure feed in a chatroom

And you can see the result of the RSS items being posted here.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .