mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 03:35:10 +00:00
deploy: 15ffc4143c
This commit is contained in:
parent
cd28aadaff
commit
01bc4feebf
4 changed files with 18 additions and 2 deletions
|
@ -227,6 +227,14 @@ and saves the local media metadata.</li>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Decodes the HTML via the stored file.</li>
|
<li>Decodes the HTML via the stored file.</li>
|
||||||
<li>Generates an Open Graph response from the HTML.</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:
|
<li>If an image exists in the Open Graph response:
|
||||||
<ol>
|
<ol>
|
||||||
<li>Downloads the URL and stores it into a file via the media storage
|
<li>Downloads the URL and stores it into a file via the media storage
|
||||||
|
|
|
@ -7773,6 +7773,14 @@ and saves the local media metadata.</li>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Decodes the HTML via the stored file.</li>
|
<li>Decodes the HTML via the stored file.</li>
|
||||||
<li>Generates an Open Graph response from the HTML.</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:
|
<li>If an image exists in the Open Graph response:
|
||||||
<ol>
|
<ol>
|
||||||
<li>Downloads the URL and stores it into a file via the media storage
|
<li>Downloads the URL and stores it into a file via the media storage
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue