Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Opengraph | 120 | 1 | 1 | 10 months ago | 20 | June 08, 2022 | 5 | mit | PHP | |
A Laravel package to fetch Open Graph data of a website. | ||||||||||
Webpage Rs | 31 | 6 | 7 days ago | 11 | January 06, 2023 | 2 | Rust | |||
Small Rust library to fetch info about a web page: title, description, language, HTTP info, RSS feeds, Opengraph, Schema.org, and more | ||||||||||
Metaget | 20 | 2 years ago | mit | JavaScript | ||||||
A Node.js module to fetch HTML meta tags (including Open Graph) from a remote URL | ||||||||||
Open_graph_reader | 18 | 100 | a year ago | 12 | October 13, 2021 | 3 | mit | Ruby | ||
A library to fetch and parse OpenGraph properties from an URL or a given string. | ||||||||||
Puppeteer Prerender | 14 | 1 | 1 | 3 years ago | 67 | September 15, 2020 | mit | JavaScript | ||
Fetch the pre-rendered content, meta and Open Graph of a SPA | ||||||||||
Linkpreviewkit | 12 | 1 | 7 years ago | 5 | February 19, 2016 | mit | HTML | |||
Library to fetch the social media meta tag information from a website URL | ||||||||||
Url_scraper | 9 | 2 | 10 years ago | 3 | July 23, 2013 | 1 | mit | JavaScript | ||
Gangsta | 8 | 6 years ago | apache-2.0 | PHP | ||||||
Fetch OpenGraph data from a url and display in ExpressionEngine templates | ||||||||||
Metadog | 7 | 2 | 7 years ago | 8 | November 02, 2016 | mit | JavaScript | |||
Sniffs out and fetches open graph and schema.org metadata from webpages. | ||||||||||
Metalink | 4 | 7 months ago | 5 | Ruby | ||||||
Metalink extracts information from URLs and provide uniformed and structured data using OpenGraph, JSON+LD, oEmbed and other meta tags. |
This plugin allows you to fetch OpenGraph data from a url and display it in ExpressionEngine templates. Use it to create your own Facebook-style link cards.
Move the 'gangsta' folder to the ./system/expressionengine/third_party
directory.
Move the 'gangsta' folder to the ./system/user/addons
directory.
{exp:gangsta url="http://www.bbc.co.uk/news/world-europe-33406001"}
<article>
<header>
<h1>{og:site_name}</h1>
</header>
<a href="{og:url}">
<img src="{og:image}" alt="">
</a>
<h2><a href="{og:url}">{og:title}</a></h2>
<p>{og:description}</p>
</article>
{/exp:gangsta}
url=""
The URL to fetch OpenGraph data from.
prefix=""
Prefix for variables. Defaults to "og".
All metadata values found on the referenced webpage are returned as variables for use inside the {exp:gangsta}...{/exp:gangsta}
tag pair. These variables vary per site, but will usually include:
{og:url}
The URL of the webpage.
{og:site_name}
The name of the website hosting the referenced webpage.
{og:title}
The title of the webpage.
{og:image}
An image associated with the webpage. Note that only images with one of the following extensions will work:
{og:description}
A description of the webpage.
Use conditionals to check for the existence of a variable if you are unsure that the referenced site provides them.