Page MenuHomePhabricator

Link extraction
Open, NormalPublic

Description

We need a button on the creation editor that allows a link and then extracts the data from it

Event Timeline

WyldBot created this task.Nov 17 2017, 6:45 PM
WyldBot triaged this task as Normal priority.Jan 15 2018, 11:20 PM
WyldBot reassigned this task from WyldBot to Info-Screen.EditedJan 20 2018, 3:57 AM
WyldBot added a project: Server API.
WyldBot added a subscriber: Info-Screen.

I will need an endpoint for this.
The only viable solution to this is to do this through a package called "Nightmare"
https://github.com/segmentio/nightmare but this opens up users to security problems
We need something similar to that of the above or... http://anyorigin.com/

The kinds of data you will need from a URL:

Title Examples:
<meta property="og:title" content="Minecraft On Switch Will Require A XBOX Live Log-In - Gold and Black" />
or
<h1 class="entry-title">Minecraft On Switch Will Require A XBOX Live Log-In</h1>
or even
<h2 class="entry-title">Minecraft On Switch Will Require A XBOX Live Log-In</h2>

Paragraphs:
<p>During the livestream, Spencer also discussed how <a href="https://www.gamespot.com/articles/e3-2017-xbox-boss-says-hes-played-700-hours-of-des/1100-6450963/" data-ref-id="1100-6450963">he has played 700 hours of Destiny</a>. You can check out <a href="https://www.gamespot.com/articles/microsoft-e3-2017-press-conference-news-recap-xbox/1100-6450748/" data-ref-id="1100-6450748">more news from Microsoft from E3 2017 here</a>, and read more about <a href="https://www.gamespot.com/articles/e3-2017-check-out-minecrafts-upgraded-visuals-pack/1100-6450756/" data-ref-id="1100-6450756">updates coming to Minecraft here</a>. Keep checking <a href="https://gamespot.com/e3/">GameSpot&#8217;s E3 2017 hub</a>; the conference isn&#8217;t done yet, and there&#8217;s still more news and impressions coming tomorrow.</p>

Images(Up to 5):
<img alt='' src='https://secure.gravatar.com/avatar/6a63cc3acd391f2642c96b3d4ab062e2?s=60&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/6a63cc3acd391f2642c96b3d4ab062e2?s=120&amp;d=mm&amp;r=g 2x' class='avatar avatar-60 photo' height='60' width='60' />

Info-Screen changed the visibility from "All Users" to "Public (No Login Required)".May 14 2018, 11:02 PM