Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added license + completed class header

  • Loading branch information...
commit 4299d51312b050522e43aebf92c4809b90a4f264 1 parent 1aa1b83
@jcleblanc authored
View
3  open-graph/php-parser/OpenGraph.php
@@ -4,6 +4,7 @@
* Description: Parses an HTML document to retrieve and store Open Graph
* tags from the meta data
* Author: Jonathan LeBlanc (Twitter: @jcleblanc)
+ * License: Creative Commons (http://creativecommons.org/licenses/by-sa/2.0/)
* Useage:
* $url = 'http://www.example.com/index.html';
* $graph = new OpenGraph($url);
@@ -71,4 +72,4 @@ public function get_all(){
return self::$og_content;
}
}
-?>
+?>
View
6 open-graph/python-parser/OpenGraph.py
@@ -4,8 +4,10 @@
"""
" Class: Open Graph Parser
-" Description:
-" Author:
+" Description: Parses an HTML document to retrieve and store Open Graph
+" tags from the meta data
+" Author: Jonathan LeBlanc
+" License: Creative Commons (http://creativecommons.org/licenses/by-sa/2.0/)
" Useage:
" url = 'http://www.nhl.com/ice/player.htm?id=8468482';
" og_instance = OpenGraphParser(url)
Please sign in to comment.
Something went wrong with that request. Please try again.