X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=ItemAddEmbedVideo.inc;h=3a1fa7967e7cda4195a2e7fb54057d346917c8a5;hb=c715f7d9dc80bca025984c9150c02ccc4bbdce80;hp=940a4ea1e5256c4e7d22852fa515969f1614b470;hpb=33a8087570ce671f908df47e4ffaf5163d6ca9d8;p=embedvideo%2F.git diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc index 940a4ea..3a1fa79 100644 --- a/ItemAddEmbedVideo.inc +++ b/ItemAddEmbedVideo.inc @@ -257,7 +257,8 @@ class ItemAddEmbedVideo extends ItemAddPlugin { } /* Extract the summary from the webpage contents */ - preg_match('//i', + //print "contents: $contents
"; + preg_match('//i', $contents, $matches); $summary=$matches[1];