https://github.com/jbips/node-red-contrib-metadata
Fetch the metadata of an URL in a NodeRED flow
https://github.com/jbips/node-red-contrib-metadata
Last synced: 3 months ago
JSON representation
Fetch the metadata of an URL in a NodeRED flow
- Host: GitHub
- URL: https://github.com/jbips/node-red-contrib-metadata
- Owner: JbIPS
- License: mit
- Created: 2020-02-29T21:35:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-16T09:18:27.000Z (about 3 years ago)
- Last Synced: 2025-02-20T11:19:14.665Z (over 1 year ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-cloud-metadat
Node-RED node that fetch a URL metadata like page title, provider or thumbnail
## Install
Install from [npm](https://www.npmjs.com/package/node-red-contrib-metadatae)
```
npm install node-red-contrib-metadata
```
Install from the palette manager
```
node-red-contrib-metadata
```
## Usage
You can provide a URL in the node configuration or overwrite it by passing a URL in the message payload.
Be sure to pass an absolute URL, starting with `http` or `https`.
On the output, you'll get the metadata as an object like:
```
{
"description": "Page description",
"icon": "https://www.page.com/favicon.ico",
"image": "https://www.page.com/img/thumbnail.jpg",
"title": "Page title",
"language": "en",
"type": "video.other",
"provider":"Site"
}
```