Skip to content

Commit 5169162

Browse files
committed
update readme
1 parent fd6460f commit 5169162

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ $info->linkedData(); // The linked-data info (http://json-ld.org/)
106106
$info->feeds(); // The RSS/Atom feeds
107107
```
108108

109+
A global site method is available to request embed data `$site->getEmbedData($url)`).
110+
111+
```php
112+
$url = 'https://www.youtube.com/watch?v=XXX';
113+
$site->getEmbedData($url);
114+
```
115+
109116
<br/>
110117

111118
## 5. License

0 commit comments

Comments
 (0)