Skip to content

Added a job to my feed aggregator/Microsub server …

Added a job to my feed aggregator/Microsub server that quickly validates mf2 media, i.e., the URLs that end up in entries’ photo and video arrays, by means of a HEAD request. If the server returns a 404 (or similar), the URL is probably faulty (e.g., the result of a misplaced u-photo tag), and the item removed from the list. No more (well, definitely less) “broken images” below posts!

Replies

  1. Tim Chambers Tim Chambers on

    … reblogged this!

  2. Matthias Pfefferle Matthias Pfefferle on

    … favorited this!

  3. Jan Boddez Jan Boddez on

    Meanwhile, I’m adding autogenerated poster images to (certain) videos. Bit of a (resource-heavy) gimmick, perhaps, as `preload=”metadata”` on the client side works _almost_ as well (and doesn’t require FFmpeg to be installed on the server).

    Via geekcompass.com, in reply to Added a job to my feed aggregator/Microsub server ….

  4. Jan Boddez Jan Boddez on

    Should definitely make this optional. Probably shouldn’t use it without Redis queuing, either. Takes a little over 3 seconds _per video_ to grab and save a frame.

    Via geekcompass.com, in reply to Added a job to my feed aggregator/Microsub server ….

  5. Jan Boddez Jan Boddez on

    Added a basic lightbox, too. Very nice.

    Via geekcompass.com, in reply to Added a job to my feed aggregator/Microsub server ….