Ghost/core/server
Fabien O'Carroll 8ccf27340b Oembed meta tag fallback for unknown providers (#9827)
closes #9786

- Make GET request when url has no provider match
  - The HEAD request was made in order to send less data over the wire when
checking for redirects for urls that do not have an oembed provider
match. We are now going to look for provider metatags withing the
response of the request - rather than making a HEAD followed by a GET if
no redirect is found, this condenses that to a single request.

- Try to get OEmbed data from tag if no provider
  - Here we parse the HTML response of the resource and look for a link tag
that will give us the oembed resource url which we can use to fetch the
embed html
2018-08-27 15:02:03 +01:00
..
adapters Moved knex-migrator execution into Ghost 2018-08-16 12:13:24 +02:00
api Oembed meta tag fallback for unknown providers (#9827) 2018-08-27 15:02:03 +01:00
apps
config Added ability to upload/reload routes.yaml 2018-08-16 12:13:24 +02:00
data Optimised fixture replacement migration script (#9812) 2018-08-22 13:35:58 +02:00
helpers Changed comments and deprecation notes 2018-08-16 12:13:24 +02:00
lib Changed comments and deprecation notes 2018-08-16 12:13:24 +02:00
models 🐛 Added logic to avoid updating the updated_at and updated_by field when migrating (#9814) 2018-08-22 13:57:12 +02:00
public
services Fixed RPC pings (#9816) 2018-08-23 15:20:29 +02:00
translations Changed maintenance messages 2018-08-16 12:13:24 +02:00
views
web Fixed express router reference after routes.yaml refresh 2018-08-16 12:13:24 +02:00
analytics-events.js
filters.js
ghost-server.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00
index.js Added timeout before exiting the process 2018-08-16 12:13:24 +02:00
overrides.js
update-check.js Updated docs links 2018-08-16 12:13:24 +02:00