knoten / extension
Get Page Metadata
Get metadata from the opened page
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Read the address, title, description, language, icon and social-sharing tags of the page open in the active tab.
Try it
Section titled “Try it”Save Page to Airtable Reading List: ein Workflow mit 3 Schritten, beginnend mit Right-click a page und endend mit Add a record to Airtable.
What it does
Section titled “What it does”Get Page Metadata reads the information a page publishes about itself and returns it as one item. It has no settings.
url: the address of the tab.title: the title shown on the browser tab.canonicalUrl: the page’s preferred address, when it declares one (empty otherwise).description: the page’s description, or its social-sharing description when it has none.lang: the page language, such asenorfr-FR(empty when not declared).favicon: the full address of the page icon. When the page declares none, it falls back to/favicon.icoon the same site.openGraph: the social-sharing tags (og:tags) without their prefix, for exampletitle,image,type.twitter: thetwitter:card tags, also without their prefix.
When to use it
Section titled “When to use it”- Save a bookmark or reading-list entry with a clean title, description and preview image.
- Know which page a workflow started from, to log it or to branch on the site.
- Check that a page has a description and sharing image before you publish it.
Inputs and settings
Section titled “Inputs and settings”This node has no settings.
Outputs
Section titled “Outputs”-
Output
Each output item has these fields:
| Field | Typ | What it holds |
|---|---|---|
| url | Text | |
| title | Text | |
| canonicalUrl | Text | |
| description | Text | |
| lang | Text | |
| favicon | Text | |
| openGraph | Key-value pairs | og:* meta tags |
Key-value pairs | twitter:* meta tags |
{ "url": "…", "title": "…", "canonicalUrl": "…", "description": "…", "lang": "…", "favicon": "…", "openGraph": {}, "twitter": {}}Read the sharing tags with expressions such as {{ $input.openGraph.image }} or {{ $input.twitter.card }}. A tag the page does not set is simply absent.
Dependencies and credentials
Section titled “Dependencies and credentials”None. This node needs no connection and has no slots for other nodes.
Example workflow
Section titled “Example workflow”- Add a Context Menu trigger, so you can save any page from the right-click menu.
- Add Get Page Metadata.
- Add Edit Fields with three fields:
title={{ $input.title }},link={{ $input.url }}andimage={{ $input.openGraph.image }}. - Keep it with Data Store, Operation = Set, Key =
{{ $input.link }}.
Common issues
Section titled “Common issues”description,canonicalUrlorlangis empty. The page does not declare it. Fall back to another field, or read the text with Get All Text.openGraphis empty. The page has no social-sharing tags.- The title is out of date on a single-page app. Some sites change the title only after content loads. Add Wait For Element before this node.
- The node fails outside the extension. This node runs in the browser extension; install it or run the workflow from the extension.
Recipes with this node
Section titled “Recipes with this node”Related nodes
Section titled “Related nodes”- Get All Text: the page’s content.
- Screenshot Page: a picture of the page.
- Edit Fields: shape the metadata into the record you need.