aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cards.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Cards.php')
-rw-r--r--Zotlabs/Module/Cards.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Zotlabs/Module/Cards.php b/Zotlabs/Module/Cards.php
index 33688cba0..f354544d5 100644
--- a/Zotlabs/Module/Cards.php
+++ b/Zotlabs/Module/Cards.php
@@ -38,6 +38,14 @@ class Cards extends \Zotlabs\Web\Controller {
nav_set_selected(t('Cards'));
+ head_add_link([
+ 'rel' => 'alternate',
+ 'type' => 'application/json+oembed',
+ 'href' => z_root() . '/oep?f=&url=' . urlencode(z_root() . '/' . \App::$query_string),
+ 'title' => 'oembed'
+ ]);
+
+
$category = (($_REQUEST['cat']) ? escape_tags(trim($_REQUEST['cat'])) : '');
if($category) {