summary refs log tree commit diff
path: root/develop/development
diff options
context:
space:
mode:
authorclokep <clokep@users.noreply.github.com>2022-01-18 18:20:52 +0000
committerclokep <clokep@users.noreply.github.com>2022-01-18 18:20:52 +0000
commit01bc4feebf0e4ba927b3d88f9dca817baaa1f983 (patch)
treefaacf2696328a8f708f157a8947586313fd5cbc7 /develop/development
parentdeploy: 4ec0a309cf8608df1d29746af76f91b8d35e5de3 (diff)
downloadsynapse-01bc4feebf0e4ba927b3d88f9dca817baaa1f983.tar.xz
deploy: 15ffc4143c36593bc3d899fad7fb5db00f4d95ea
Diffstat (limited to 'develop/development')
-rw-r--r--develop/development/url_previews.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/develop/development/url_previews.html b/develop/development/url_previews.html

index 9914e2d128..2476e84d5e 100644 --- a/develop/development/url_previews.html +++ b/develop/development/url_previews.html
@@ -227,6 +227,14 @@ and saves the local media metadata.</li> <ol> <li>Decodes the HTML via the stored file.</li> <li>Generates an Open Graph response from the HTML.</li> +<li>If a JSON oEmbed URL was found in the HTML via autodiscovery: +<ol> +<li>Downloads the URL and stores it into a file via the media storage provider +and saves the local media metadata.</li> +<li>Convert the oEmbed response to an Open Graph response.</li> +<li>Override any Open Graph data from the HTML with data from oEmbed.</li> +</ol> +</li> <li>If an image exists in the Open Graph response: <ol> <li>Downloads the URL and stores it into a file via the media storage