microlink logo

Turn mashable.com into structured data

Microlink SDK

Make your content attractive

Microlink SDK converts mashable.com links into beautiful previews, engaging better your links.

large

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://mashable.com/2017/10/19/cybersecurity-hacker-online-course/?europe=true', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

normal

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://mashable.com/2017/10/19/cybersecurity-hacker-online-course/?europe=true', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

small

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://mashable.com/2017/10/19/cybersecurity-hacker-online-course/?europe=true', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Features

Capabilities under the hood.

  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Unified Metadata
    Normalized from Open Graph, JSON+LD or HTML markup, such as author, images, colors, dates, lang, etc.
  • Caching Level
    Using Microlink CDN to deliver a different resource each time the query string changes.
  • Color Detection
    Get predominant and complementary colors per every image detected.
  • Contextual Data
    Get more from any data, expanding it to get extra useful information.
  • Media Detection
    Get the original source of any image, video or audio.
  • Native Embeds
    Using oEmbed to get the embedded representation of any URL.
  • Prerender Ready
    Cloud based solution with superior operational performance.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.
  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Unified Metadata
    Normalized from Open Graph, JSON+LD or HTML markup, such as author, images, colors, dates, lang, etc.
  • Caching Level
    Using Microlink CDN to deliver a different resource each time the query string changes.
  • Color Detection
    Get predominant and complementary colors per every image detected.
  • Contextual Data
    Get more from any data, expanding it to get extra useful information.
  • Media Detection
    Get the original source of any image, video or audio.
  • Native Embeds
    Using oEmbed to get the embedded representation of any URL.
  • Prerender Ready
    Cloud based solution with superior operational performance.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.

Microlink API

Build APIs from websites

Microlink Query Language (MQL) is a programmatic way to getting content from any URL.

Using MQL (docs)

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://mashable.com/2017/10/19/cybersecurity-hacker-online-course/?europe=true', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Using Microlink CLI (docs)

$ microlink-api https://mashable.com/2017/10/19/cybersecurity-hacker-online-course/?europe=true
{
  "title": "The world needs more ethical hackers. Are you up for the job?",
  "description": "Use your hacking skills as a force for good.",
  "lang": "en",
  "author": "Team Commerce",
  "publisher": "Mashable",
  "image": {
    "url": "https://cdn.microlink.io/data/assets/mashable.com!2017!10!19!cybersecurity-hacker-online-course!europe=true/mondrian.mashable.com!2017!10!19!78!5bead593f7094806969291a9236f0b7a.343ec.jpg!1200x630.jpg!signatur",
    "type": "jpg",
    "size": 97772,
    "height": 630,
    "width": 1200,
    "size_pretty": "97.8 kB",
    "palette": [
      "#B03D1A",
      "#CCA393",
      "#5E2712",
      "#A9725F",
      "#C4AC93",
      "#604C3B"
    ],
    "background_color": "#CCA393",
    "color": "#6B2510",
    "alternative_color": "#5E2712"
  },
  "audio": null,
  "url": "https://mashable.com/2017/10/19/cybersecurity-hacker-online-course/?europe=true",
  "iframe": null,
  "date": "2017-10-19T19:44:52.152Z",
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/mashable.com!2017!10!19!cybersecurity-hacker-online-course!europe=true/a.amz.mshcdn.com!assets!mashable-publisher-logo-d1800cc5b71606b40182307b4f7158b5dbb17dee6b9c4b612a40",
    "type": "png",
    "size": 19741,
    "height": 60,
    "width": 357,
    "size_pretty": "19.7 kB",
    "palette": [
      "#04ACF4",
      "#7CD6FC",
      "#049CD4",
      "#026A96",
      "#026A96",
      "#026E96"
    ],
    "background_color": "#04ACF4",
    "color": "#013548",
    "alternative_color": "#013C55"
  },
  "video": null,
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/mashable.png"
  }
}