Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple Open Graph Protocol parser and add Open Graph metadata to pages for Yii.

Installation

  1. Extract the release file under protected/extensions.
  2. Add to your config file:
  • in import section: ... 'application.extensions.OpenGraph.*', ...

  • in components section: ... 'openGraphNode' => array( 'class' => 'application.extensions.OpenGraph.phaOpenGraphNode' ), ...

Basic Usage

Now you can create new node of openGraph:

$node = Yii::app()->getComponent('openGraphNode');

Building page with Open Graph metadata

Parse Open Graph metadata from page

Author

Vadim Kruchkov long@phargo.net.

Licence

Choose your favourite of:

Thanks for sharing!

About

A simple Open Graph Protocol parser and add Open Graph metadata to pages for Yii

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages