Open Graph Importer

Categories

Component ID

2179517

Component name

Open Graph Importer

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

540

Component created

Component changed

Component body

This module is unsupported due to a security issue the maintainer didn’t fix. See SA-CONTRIB-2015-092 - Access bypass for details.
If you want to use this module, your options are:

This module allows backend administrators or other users to import content from other website that employs open graph meta tags.

Open graph tags are meta data describing page contents often used by social media websites. An example of open graph tag is below:

<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.symmetrymagazine.org/article/january-2014/first-beam-of-antihydrogen-atoms-produced-at-cern" />
<meta property="og:title" content="First beam of antihydrogen atoms produced at CERN" />
<meta property="og:description" content="The ASACUSA collaboration at CERN has successfully performed a new technique that will help them study the properties of antimatter." />
<meta property="og:image" content="http://www.symmetrymagazine.org/sites/default/files/styles/facebook/public/images/standard/ASACUSA-s.jpg?itok=JQxLXvUl" />

Configuration

After install the module, please go to "Configuration >> Content Authoring >> OG:Tag Importer ("admin/config/content/og_tag_importer")

You will be able to map the various og:tags with the selected content type and its fields, please note the mapping currently supports textfield, textarea and image fields.

Configuration page

Usage

Users with the permission "Import content from OpenGraph tags" will be able to access the import page from "Content >> Add Content >> OG:Tag Content" (node/add), Simply enter the url of the article that contains the OG tags and it will be imported into Drupal. The imported content will be unpublished.

Import page

User permissions

This module comes with 2 permissions

Administer OG:Tag importer
This allows the user to map the content type and fields for the importer.

Import content from OpenGraph tags
This permission allows user to use the importer to import content into the system.