forked from satoshi-takano/OpenGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Detect og:xxx also when order of attributes are reversed. - When the meta tag contains other attributes.
- Loading branch information
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<html> | ||
<head> | ||
<meta content="example2.com title" property="og:title" /> | ||
<meta content="website2" property="og:type" /> | ||
<meta content="https://www.example2.com" property="og:url" /> | ||
<meta content="https://www.example2.com/images/example2.png" property="og:image" /> | ||
<meta content="example2.com description" property="og:description" /> | ||
</head> | ||
<body> | ||
<p>Hello, world.</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<html> | ||
<head> | ||
<meta property="og:title" content="example3.com title" id="og-title"/> | ||
<meta content="website3" id="og-type" property="og:type" /> | ||
<meta id="og-url" property="og:url" content="https://www.example3.com" /> | ||
<meta property="og:image" id="og-image" content="https://www.example3.com/images/example3.png" /> | ||
<meta content="example3.com description" id="og-description" property="og:description"/> | ||
</head> | ||
<body> | ||
<p>Hello, world.</p> | ||
</body> | ||
</html> |