Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Opengraph Filter

33 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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2025
Latest release
9 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

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