Open Graph Importer
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
If you want to use this module, your options are:
- Choose another, actively maintained module instead
- File an issue in the queue with a patch to fix the module and then contact the security team to have your version reviewed and the project handed over to you following the unsupported project process.
- Hire someone to fix the security bug so the module can be re-published (see this guide on how to hire a Drupal site developer)
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.

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.

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.
