]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Swap the Services_oEmbed wrapper in oEmbedHelper out for doing it ourselves...
authorBrion Vibber <brion@pobox.com>
Mon, 15 Nov 2010 19:25:38 +0000 (11:25 -0800)
committerBrion Vibber <brion@pobox.com>
Mon, 15 Nov 2010 19:25:38 +0000 (11:25 -0800)
commitc8445299c71c17e8f652584a05aac65ef7b55ac5
tree27b9f0d0ce4b2c2e0ef36272cf776860c0a865c5
parent1c90d09ec8bfbbbad80c74c3feb5bf70fd76d926
Swap the Services_oEmbed wrapper in oEmbedHelper out for doing it ourselves...
- workaround for providers that are skimpy on their data, such as missing width/height or thumbnail_width/thumbnail_height
- workaround for YFrog listing "image" instead of "photo" type
- generally more lax about formatting: if it comes back and looks kinda ok, we'll take it.
- discovery uses system HTML parser, should be more robust if the links include things like ampersands with proper HTML-level escaping
lib/oembedhelper.php