mirror of
https://github.com/kennethreitz/kennethreitz.org.git
synced 2026-06-05 22:50:17 +00:00
9a8b867496
Instead of maintaining a hardcoded list of oEmbed providers and endpoints, fetch the target page and look for <link rel="alternate" type="application/json+oembed"> discovery tags. Any site with proper discovery (photos.kennethreitz.org, WordPress, etc.) now works automatically. Includes negative caching for non-oEmbed URLs. Also adds oEmbed embed of photos.kennethreitz.org to the photography page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>