gnusocial.rocks/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html

64 lines
2.9 KiB
HTML
Raw Normal View History

2021-08-16 19:22:59 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="../assets/css/reset.css">
<link rel="stylesheet" href="../assets/css/blog.css">
<link rel='stylesheet' type='text/css' href="../assets/fonts/opensans/opensans.css">
</head><title>Updates: Implement StoreRemoteMedia for v3 and port Embed - GNU social V3</title>
2021-08-16 19:22:59 +01:00
</head><body>
<header>
<div class="home-menu menu menu-horizontal menu-fixed">
<a class="menu-heading" href="https://gnusocial.rocks/">
<img src="../assets/img/gnu-social-logo-invert.svg" alt="GNU social">
<b>gnu</b>social
</a>
</div>
<div class="sidebar">
<ul class="menu-list">
<li class="menu-item menu-selected"><a href="index.html" class="menu-link">Version 3</a></li>
<li class="menu-item"><a href="https://code.gnusocial.rocks/" class="menu-link">Repository</a></li>
<li class="menu-item"><a href="https://coverage.gnusocial.rocks/" class="menu-link">Code Coverage</a></li>
<li class="menu-item"><a href="https://docs.gnusocial.rocks/" class="menu-link">Documentation</a></li>
<li class="menu-item"><a href="https://agile.gnusocial.rocks/" class="menu-link">Wiki</a></li>
<li class="menu-item"><a href="https://kanban.undefinedhackers.net/?controller=BoardViewController&action=readonly&token=d2293e55cabae7cceff9fb496c651328195357d392b9e61a9f229ed6d463" class="menu-link">Roadmap</a></li>
</ul>
</div>
</header>
<div class="content-wrapper">
<div class="content">
2021-08-16 19:22:59 +01:00
</div></div></div>
<div id="template-wrapper"><div class="template-unit">
2021-08-16 19:22:59 +01:00
<!-- entry begin -->
<h3><a class="ablack" href="updates-implement-storeremotemedia-for-v3-and-port-embed.html">
Updates: Implement StoreRemoteMedia for v3 and port Embed
</a></h3>
<!-- bashblog_timestamp: #202108131337.42# -->
<div class="subtitle">August 13, 2021 &mdash;
GNU social development team
</div>
<!-- text begin -->
2021-08-19 03:33:16 +01:00
<p>GNU social comes with two plugins that add relevant media functionality.
Not talking neither about ImageEncoder nor VideoEncoder this time, but rather about StoreRemoteMedia and Embed.</p>
2021-08-16 19:22:59 +01:00
<p><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/StoreRemoteMedia">StoreRemoteMedia</a>
2021-08-19 03:33:16 +01:00
fetches remote files when they are <code>Linked</code> to in a note. I.e., when the major mime type isn't <code>text</code>. It triggers thumbnail generation.</p>
2021-08-16 19:22:59 +01:00
<p><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/Embed">Embed</a>
2021-08-19 03:33:16 +01:00
attempts to generate a page preview from open graph and oembed. I.e., acts when the major mime type is <code>text</code>.</p>
2021-08-19 03:15:11 +01:00
2021-08-19 03:33:16 +01:00
<p>We've changed so much with GNU social v3 that, regarding SRM there was no possible port, just a complete rewrite. Both plugins became smaller and easier to understand while promoting the same functionality with more stability.</p>
2021-08-16 19:22:59 +01:00
<!-- text end -->
<!-- entry end -->
</div>
</div></div>
</div>
</div></body></html>