18

I would like to MYOH (Make Your Own HNQ) by posting hot network questions (HNQ) as a chat feed to a chat room. This offers the 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?

3
  • 1
    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 StaffMod
    Commented Jul 30, 2018 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
    Commented Jul 30, 2018 at 4:06
  • 2
    Related: Accessing the Hot Network Questions via the API Commented Jul 30, 2018 at 7:57

1 Answer 1

24

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 an app 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
  • an exact domain name match of a site, indicated by a = as prefix
  • 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 match, 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.

Additionally there are RSS feeds for migrated questions, basically offering an implementation for Make migrated questions eligible for First Posts review

The app also offers an interactive Chart to see all the hot questions, their score and answers plotted over time.

Bubble plot of 100 questions over time and their score

0

You must log in to answer this question.

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