Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Content Translation Redirect Module content_translation_redirect crossed 1,000 active installs.

Opengraph Filter

41 sites No security coverage
View on drupal.org

This module scrapes URLs found in your text to generate summaries and previews based on OpenGraph meta tags, similar to how social media sites display link previews. It can be added as a text format filter to display these rich link summaries within your content.

Filter that adds a summary of a webpage, from the urls found in the text.

When you post a link on facebook, you get a little summary of that site under your comment or post (with or without thumbnail). This works with OpenGraph metatags. Basicly Facebook scrapes the content of the url and makes a nice little summary.

Now you can too show summaries based on OpenGraph metatags! This filter scrapes the urls found in the text and adds the summary to the bottom of the text.

Installation and usage.
1. Install the module as usual.
2. Go to admin/config/content/formats
Select the Text Format you want to add this functionality to and select 'Add a preview of URLs found in the text, based on the URL's (OpenGraph) metatags.'
3. Enjoy!

Background
Your host needs to allow that PHP makes calls to external sources (allow-url-fopen). This filter uses drupal_http_request for external requests. See: http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_h... and http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen

For more information about OpenGraph see: http://opengraphprotocol.org/

Status
This module is under development and ready for testing. All output is themeable and all queries are cached.
There a no known big issues, but it 'should not'™ be used on a production site (unless you think that this module is cool and you don't care).

Todo:

  • Make multiple images work (Fancy slider?)
  • Make the default theme a bit fancier (Patches please!)

Credits
Opengraph Filter is built and maintained by the Drupal nerds from .VDMi/ in Rotterdam, The Netherlands.

Activity

Total releases
2
First release
May 2025
Latest release
7 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Release date
8.x-1.0-beta5 Pre-release Nov 18, 2025
8.x-1.0-beta4 Pre-release May 7, 2025