aboutsummaryrefslogtreecommitdiffstats
path: root/mod/parse_url.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-23 18:12:14 -0700
committerFriendika <info@friendika.com>2011-05-23 18:12:14 -0700
commit9a3f5eaf7d4cd6b16f21e9a5f11278e55107b62f (patch)
tree8cc4f4bf14e57581b5a50c2d6615593f597f6228 /mod/parse_url.php
parent3e6180183bdc01edfa01dc4b966daa4081c29604 (diff)
parent7c5a7a94d4d224d23f7c922b86a60a6ffe53fc9f (diff)
downloadvolse-hubzilla-9a3f5eaf7d4cd6b16f21e9a5f11278e55107b62f.tar.gz
volse-hubzilla-9a3f5eaf7d4cd6b16f21e9a5f11278e55107b62f.tar.bz2
volse-hubzilla-9a3f5eaf7d4cd6b16f21e9a5f11278e55107b62f.zip
Merge pull request #107 from fabrixxm/oembed
Oembed plugin
Diffstat (limited to 'mod/parse_url.php')
-rw-r--r--mod/parse_url.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/parse_url.php b/mod/parse_url.php
index 30371e9f6..15a6aced0 100644
--- a/mod/parse_url.php
+++ b/mod/parse_url.php
@@ -2,7 +2,6 @@
require_once('library/HTML5/Parser.php');
-
function parse_url_content(&$a) {
logger('parse_url: ' . $_GET['url']);
@@ -25,9 +24,9 @@ function parse_url_content(&$a) {
killme();
}
- if($url)
+ if($url) {
$s = fetch_url($url);
- else {
+ } else {
echo '';
killme();
}
@@ -97,4 +96,4 @@ function parse_url_content(&$a) {
echo sprintf($template,$url,$title,$text);
killme();
-} \ No newline at end of file
+}