projects
/
web.Reddit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f3d38
)
Reddit/Embedly.php
author
Alan Knowles
<alan@roojs.com>
Tue, 9 Dec 2014 07:52:41 +0000
(15:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 9 Dec 2014 07:52:41 +0000
(15:52 +0800)
Reddit/Embedly.php
patch
|
blob
|
history
diff --git
a/Reddit/Embedly.php
b/Reddit/Embedly.php
index
394937c
..
8f4460b
100644
(file)
--- a/
Reddit/Embedly.php
+++ b/
Reddit/Embedly.php
@@
-1,6
+1,6
@@
<?php
-class Reddit_Embedly {
+class Reddit_Embedly
extends HTML_FlexyFramework_Page
{
function getAuth()
{
@@
-8,6
+8,8
@@
class Reddit_Embedly {
}
function get()
{
+
+
echo '<a class="embedly-card" href="'. htmlspecialchars($_REQUEST['url']) . '">'.htmlspecialchars($_REQUEST['url']) . '</a>
<script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script>';