projects
/
embedvideo
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added some new images. Fixed google video description matching.
[embedvideo/.git]
/
ItemAddEmbedVideo.inc
diff --git
a/ItemAddEmbedVideo.inc
b/ItemAddEmbedVideo.inc
index 940a4ea1e5256c4e7d22852fa515969f1614b470..3a1fa7967e7cda4195a2e7fb54057d346917c8a5 100644
(file)
--- a/
ItemAddEmbedVideo.inc
+++ b/
ItemAddEmbedVideo.inc
@@
-257,7
+257,8
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
}
/* Extract the summary from the webpage contents */
}
/* Extract the summary from the webpage contents */
- preg_match('/<meta content="(.+?)\. \w+ \d+, \d+.*" name="description">/i',
+ //print "contents: $contents <br>";
+ preg_match('/<meta name="description" content="(.+?)\. \w+ \d+, \d+.*">/i',
$contents, $matches);
$summary=$matches[1];
$contents, $matches);
$summary=$matches[1];