Nice approach. Caching the result for 24 hours is a good way to avoid repeatedly parsing the same BBPress topic, especially if the topic gets a lot of traffic. I could see something like this being useful on service-based websites too, where displaying the latest relevant image or project update can make the page more engaging. For example, on a kitchen remodeling site, automatically showing recent project images could be a useful application: https://kitchenremodelertacoma.com/