Metadata-Version: 1.1
Name: ExtendedOpenGraph
Version: 0.3
Summary: A module of parsing the open graph protocol and extracing the summary of the web page.
Home-page: https://github.com/AhnSeongHyun/ExtendedOpenGraphParser
Author: SeongHyun.Ahn
Author-email: sh84.ahn@gmail.com
License: MIT
Description: ExtendedOpenGraphParser is a python module for parsing the Open Graph ProtocoL. 
        Open Graph Protocol spec: http://ogp.me/
        
        
        [![Build Status](https://travis-ci.org/AhnSeongHyun/ExtendedOpenGraphParser.png)](https://travis-ci.org/AhnSeongHyun/ExtendedOpenGraphParser)
        
        
        Installation
        =============
        pip install ExtendedOpenGraph
        
        Features
        =============
        * Based on opengraph.
        * If not exist Open Graph properties in meta tag, it is able to parse basic Metadata.
        * Input URL and HTML.
        * Output python dictionary.
        * Like Facebook.
        
        Usage
        =============
        **input : url**
        
        >>> import ExtendedOpenGraph
        >>> data = ExtendedOpenGraph.parse(url="http://www.twitter.com")
        >>> for key, value in data.items():
        ...     print "%-15s => %s" % (key, value)
        ...
        url             => http://www.twitter.com
        image           => https://abs.twimg.com/a/1373572090/t1/img/front_page/jp-mountain@2x.jpg
        type            => website
        title           => 트위터 
        
        **input : html**
        
        >>> ex_html="<html><head><title>ExtendOpenGraph</title></head><body><img src='logo.png'/></body></html>"
        >>> data = ExtendedOpenGraph.parse(html=ex_html)
        >>> for key, value in data.items():
        ...     print "%-15s => %s" % (key, value)
        ...
        url             => None
        image           => logo.png
        type            => website
        title           => ExtendOpenGraph
        
        
Keywords: opengraph protocol facebook
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Software Development :: Libraries :: Python Modules
