aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
authormrjive <mrjive@mrjive.it>2016-02-03 22:46:54 +0100
committermrjive <mrjive@mrjive.it>2016-02-03 22:46:54 +0100
commite527a52f6a123b695775a24fdeb64d0a5ab00df9 (patch)
tree7f72feb65e8f8790d6d80f631d1e608bfed1dd48 /mod/channel.php
parent337735094b944fd31ed96e36c869227a0d63e5d1 (diff)
parenta7ed50ecd4b4defbc1d5fdf0bb4fd7d65d08a0fd (diff)
downloadvolse-hubzilla-e527a52f6a123b695775a24fdeb64d0a5ab00df9.tar.gz
volse-hubzilla-e527a52f6a123b695775a24fdeb64d0a5ab00df9.tar.bz2
volse-hubzilla-e527a52f6a123b695775a24fdeb64d0a5ab00df9.zip
Merge pull request #21 from redmatrix/master
updating from original codebase
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 3b80e2cb8..dcccb16b6 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -156,6 +156,8 @@ function channel_content(&$a, $update = 0, $load = false) {
$abook_uids = " and abook.abook_channel = " . intval($a->profile['profile_uid']) . " ";
$simple_update = (($update) ? " AND item_unseen = 1 " : '');
+
+ $a->page['htmlhead'] .= "\r\n" . '<link rel="alternate" type="application/json+oembed" href="' . z_root() . '/oep?f=&url=' . urlencode(z_root() . '/' . $a->query_string) . '" title="oembed" />' . "\r\n";
if($update && $_SESSION['loadtime'])
$simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) ";