How to use Nonli HTML meta tags

Nonli HTML meta tags let a publisher override or enrich the information collected from an article page. This reference lists every nli:* tag supported by the organic scraper, the exact HTML attribute it accepts, and what happens when the tag is absent.

Use the attribute shown in the table. Support is intentionally not uniform: most Open Graph and article overrides accept only property, nli:tag accepts only name, and newer generic fields accept both.

1. Quick start#

Place the tags in the page's <head>. Use non-empty values, explicit time zones, and absolute public HTTPS URLs for media.

html
1<meta property="nli:title" content="City council approves the 2027 budget">
2<meta property="nli:description" content="The council approved the budget after a three-hour debate.">
3<meta property="nli:type" content="article">
4<meta name="nli:url" content="https://news.example.com/politics/city-budget-2027">
5
6<meta property="nli:image" content="https://media.example.com/city-budget-wide.jpg">
7<meta property="nli:image:alt" content="Councillors voting in the city chamber">
8
9<meta property="nli:author" content="Alex Morgan">
10<meta property="nli:published_time" content="2026-08-25T09:30:00+02:00">
11<meta property="nli:modified_time" content="2026-08-25T10:15:00+02:00">
12<meta property="nli:section" content="Politics">
13<meta name="nli:tag" content="city council">
14<meta name="nli:tag" content="budget">
15
16<meta name="nli:video" content="https://media.example.com/city-budget-16x9.mp4">

2. Complete field inventory#

“First match” means that only one value is retained; do not emit the same semantic field with both name and property. “No fallback” means the destination remains empty when the tag is absent.

TagAccepted attributeCardinalityValue formatMapped meaningPrecedence or merge behaviorFallback when absentAvailability
nli:titlepropertyScalarNon-empty plain textOpen Graph titleReplaces configured and og:title valuesConfigured title XPath, then og:titleAvailable
nli:descriptionpropertyScalarNon-empty plain textOpen Graph descriptionReplaces configured and og:description valuesConfigured description XPath, then og:descriptionAvailable
nli:imagepropertyRepeatableAbsolute public HTTPS image URLMain Open Graph image collectionThe complete nli:image list replaces ordinary article imagesConfigured image XPath, then og:image, og:image:url, then og:image:secure_urlAvailable
nli:image:altpropertyScalarNon-empty plain textMain image alternative textReplaces og:image:altog:image:altAvailable
nli:typepropertyScalarOpen Graph object type, for example articleOpen Graph content typeReplaces og:typeog:typeAvailable
nli:urlname or propertyScalar, first matchAbsolute canonical HTTPS URLOrganic canonical URLTakes priority over the canonical link<link rel="canonical">Available
nli:content_tierpropertyScalarPublisher-defined tier text, for example free or premiumArticle content tierReplaces the corresponding article:* valuearticle:content_tier using property, then nameAvailable
nli:locationpropertyRepeatableNon-empty place name or identifierArticle location collectionThe nli:location list replaces the corresponding article:* listarticle:location using property, then nameAvailable
nli:opinionpropertyScalarPublisher-defined opinion markerArticle opinion valueReplaces the corresponding article:* valuearticle:opinion using property, then nameAvailable
nli:authorpropertyRepeatableAuthor name or absolute profile URLArticle author collectionThe nli:author list replaces the corresponding article:* listarticle:author using property, then nameAvailable
nli:published_timepropertyScalarISO 8601 date-time with time zoneArticle publication timeReplaces configured and ordinary article datesConfigured date XPath, then article:published_time, then og:article:published_timeAvailable
nli:modified_timepropertyScalarISO 8601 date-time with time zoneArticle update timeReplaces the corresponding article:* valuearticle:modified_time using property, then nameAvailable
nli:sectionpropertyScalarNon-empty section nameArticle sectionReplaces the corresponding article:* valuearticle:section using property, then nameAvailable
nli:tagnameRepeatableOne tag per elementCleaned article tag collectionMerged with article:tag and configured XPath tags; it does not replace themOther tag sources remain availableAvailable
nli:image1name or propertyScalar, first matchAbsolute public HTTPS image URLCustom organic image slot 1Independent from the main image collectionNo fallbackAvailable
nli:image2name or propertyScalar, first matchAbsolute public HTTPS image URLCustom organic image slot 2Independent from the main image collectionNo fallbackAvailable
nli:image3name or propertyScalar, first matchAbsolute public HTTPS image URLCustom organic image slot 3Independent from the main image collectionNo fallbackAvailable
nli:image4name or propertyScalar, first matchAbsolute public HTTPS image URLCustom organic image slot 4Independent from the main image collectionNo fallbackAvailable
nli:image5name or propertyScalar, first matchAbsolute public HTTPS image URLCustom organic image slot 5Independent from the main image collectionNo fallbackAvailable
nli:image6name or propertyScalar, first matchAbsolute public HTTPS image URLCustom organic image slot 6Independent from the main image collectionNo fallbackAvailable
nli:videoname or propertyScalar, first matchDirect absolute public HTTPS video URLStandard rendition, usually horizontalTags this video as the standard rendition; Schema.org videos on the page stay available as unclassified videosSchema.org VideoObject videos, kept as unclassified videosAvailable
nli:video:imagename or propertyScalar, first matchAbsolute public HTTPS image URLStandard rendition thumbnailApplies only to the video declared by nli:video; ignored without itExisting thumbnail discovery for that videoAvailable
nli:shortname or propertyScalar, first matchDirect absolute public HTTPS video URLShort rendition, usually verticalTags this video as the short renditionNo short renditionAvailable
nli:short:imagename or propertyScalar, first matchAbsolute public HTTPS image URLShort rendition thumbnailApplies only to the video declared by nli:short; ignored without itExisting thumbnail discovery for that videoAvailable
nli:spotlightname or propertyScalar, first matchDirect absolute public HTTPS video URLSnapchat Spotlight renditionTags this video as the Spotlight renditionNo Spotlight renditionAvailable
nli:spotlight:imagename or propertyScalar, first matchAbsolute public HTTPS image URLSpotlight rendition thumbnailApplies only to the video declared by nli:spotlight; ignored without itExisting thumbnail discovery for that videoAvailable

3. Override, repeat, or merge#

3.1. Scalar overrides#

A scalar field keeps one value. When a supported nli:* scalar is present, it has priority over its listed fallback. Emit the field once. For fields accepting both attributes, using both creates an ambiguous first-match result that depends on document order.

3.2. Repeatable replacements#

Repeat nli:image, nli:location, or nli:author once per value. If at least one Nonli-specific value is found, that list replaces the corresponding Open Graph or article:* list.

html
1<meta property="nli:image" content="https://media.example.com/story-wide.jpg">
2<meta property="nli:image" content="https://media.example.com/story-square.jpg">
3<meta property="nli:author" content="Alex Morgan">
4<meta property="nli:author" content="Sam Lee">
5<meta property="nli:location" content="Paris">
6<meta property="nli:location" content="Brussels">

3.3. Merged tags#

nli:tag is the deliberate exception. Repeat it with name; Nonli merges its values with article:tag and any configured tag extractor, then cleans the combined list.

html
1<meta property="article:tag" content="Europe">
2<meta name="nli:tag" content="European Union">
3<meta name="nli:tag" content="elections">

4. Dates and URLs#

Dates must be valid ISO 8601 date-times with an explicit time zone. These examples represent precise instants:

html
1<meta property="nli:published_time" content="2026-08-25T09:30:00+02:00">
2<meta property="nli:modified_time" content="2026-08-25T08:15:00Z">

Do not use a date-only value such as 2026-08-25 or a time without a zone such as 2026-08-25T09:30:00. An invalid date can make scraping fail instead of activating the fallback.

For images and videos, use direct, absolute HTTPS URLs that return the media file publicly. Relative URLs, HTML player pages, browser sessions, expiring signed URLs, and URLs requiring cookies are unsafe integration inputs.

5. Main images, custom slots, and video thumbnails#

These image families are independent:

  • nli:image is the repeatable main article image collection;
  • nli:image1 through nli:image6 are six separate custom slots used by bot image selection;
  • nli:video:image is the thumbnail of the standard video only;
  • nli:short:image is the thumbnail of the short video only;
  • nli:spotlight:image is the thumbnail of the Spotlight video only.

A numbered custom image does not join or replace nli:image. A rendition thumbnail never becomes an article image. In a bot's image source, nli:video:image, nli:short:image, and nli:spotlight:image each use only the thumbnail of their own rendition: they never borrow the thumbnail of another rendition or of an unclassified video, unless the same video URL carries several renditions (see section 6).

6. Standard, short, and Spotlight video renditions#

An article page can declare up to three video renditions, each with its own optional thumbnail:

  • nli:video: the standard rendition, usually horizontal (16:9), for feeds such as Facebook, LinkedIn, X, or YouTube;
  • nli:short: the short rendition, usually vertical (9:16), for TikTok, Instagram, and stories;
  • nli:spotlight: the rendition made for Snapchat Spotlight.

Here, Spotlight means the Snapchat Spotlight format. It is unrelated to the Nonli Spotlight link in bio page described in How to create and manage Spotlight, the link in bio.

This complete example declares the three renditions and their thumbnails:

html
1<meta name="nli:video" content="https://media.example.com/report-16x9.mp4">
2<meta name="nli:video:image" content="https://media.example.com/report-16x9.jpg">
3<meta name="nli:short" content="https://media.example.com/report-9x16.mp4">
4<meta name="nli:short:image" content="https://media.example.com/report-9x16.jpg">
5<meta name="nli:spotlight" content="https://media.example.com/report-spotlight.mp4">
6<meta name="nli:spotlight:image" content="https://media.example.com/report-spotlight.jpg">
  • Each rendition is optional and may appear alone. Each tag accepts name or property, and only the first value is kept.
  • The video URL must be a direct, absolute, public HTTPS video file. An invalid URL is ignored and creates no rendition.
  • A thumbnail without its matching video is ignored. A rendition without a dedicated thumbnail keeps the existing thumbnail discovery for that video.
  • Videos described with Schema.org VideoObject on the page are also collected, as unclassified videos.

The same video URL may appear in several of nli:video, nli:short, and nli:spotlight. Nonli then imports one video that carries several renditions. Because it is a single file, it has a single thumbnail, shared by all its renditions even when only one of them declares it. If the declared images differ, the last one in the order nli:video:image, nli:short:image, nli:spotlight:image applies to all of them: give the same image to each of those renditions.

html
1<!-- One vertical file used as both the short and the Spotlight rendition -->
2<meta name="nli:short" content="https://media.example.com/report-9x16.mp4">
3<meta name="nli:short:image" content="https://media.example.com/report-9x16.jpg">
4<meta name="nli:spotlight" content="https://media.example.com/report-9x16.mp4">
5<meta name="nli:spotlight:image" content="https://media.example.com/report-9x16.jpg">

6.1. Choose the rendition for each bot target account#

In a bot, each target account has a Video format setting that decides which rendition the post uses:

Video formatVideo used by the post
Standard videoThe standard rendition, otherwise an unclassified video
Short videoThe short rendition only; without nli:short, the post gets no article video
Spotlight videoThe Spotlight rendition only; without nli:spotlight, the post gets no article video and Nonli does not fall back to the short or standard rendition
Auto (based on the network)The preferred rendition for the destination, then any other available video

With Auto, the preferred rendition depends on the destination:

  • a Snapchat post that is not a story: Spotlight, then short, then the other videos;
  • a story on any network: short;
  • TikTok and Instagram: short;
  • every other network, such as Facebook, LinkedIn, X, or YouTube: standard.

Auto is set for all target accounts at once from the All accounts row, or on the account itself when the bot targets a single account.

A target account without a video format behaves like Standard video.

For a video post, Nonli uses the thumbnail of the selected rendition as the video cover, otherwise the image from the bot's image source. Two settings take precedence: Smart Image, when enabled, and a rendition thumbnail image source (nli:video:image, nli:short:image, or nli:spotlight:image) when that thumbnail exists. For example, without Smart Image, the nli:spotlight:image image source uses the Spotlight thumbnail whenever the article declares one.

7. Empty and invalid values#

  • Do not emit a meta element when its value is unknown.
  • Empty nli:video, nli:short, nli:spotlight, and nli:image1…nli:image6 values are ignored.
  • For other overrides, an empty element may count as present and suppress its fallback; use non-empty content only.
  • An invalid nli:video, nli:short, or nli:spotlight URL is ignored and creates no rendition; Schema.org videos stay available as unclassified videos.
  • A relative nli:url can be resolved against the scraped page, but publishers should emit one stable absolute canonical HTTPS URL.
  • If name and property versions of the same generic field coexist, the first matching element wins; emit only one.

8. HTML or MRSS?#

Use these tags when Nonli scrapes an HTML article page. If your CMS exports a feed with video assets, use the video MRSS feed guide instead. It explains how to group standard and short renditions with their own thumbnails in one feed item. MRSS feeds have no Spotlight rendition: nli:spotlight exists only as an HTML meta tag.

Was this article helpful?

Book a personalized demo with our team.