summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStein Magne Bjorklund2014-09-01 11:10:39 (GMT)
committerStein Magne Bjorklund2014-09-01 11:10:39 (GMT)
commit9cfb7e7106c55a3aa70862460cc1601ce7cfed09 (patch)
tree7be43df6364925e965217f2ad8013f92e8b1235e
parent12a2a4377f265b3e15955d10e303d1260ede0329 (diff)
Issue #1236624 by ransom, steinmb: Enable module to parse photos from Flickr groups pool.
-rw-r--r--includes/media_flickr.utilities.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/media_flickr.utilities.inc b/includes/media_flickr.utilities.inc
index 4522d02..1b90100 100644
--- a/includes/media_flickr.utilities.inc
+++ b/includes/media_flickr.utilities.inc
@@ -244,6 +244,7 @@ function _media_flickr_media_parse($url, $options = array()) {
'@flickr\.com/photos/([0-9A-Za-z\@\&\$_-]+)/([0-9]+)/in/photostream@i',
'@flickr\.com/photos/([0-9A-Za-z\@\&\$_-]+)/([0-9]+)/in/set-([0-9]+)@i',
'@flickr\.com/photos/([0-9A-Za-z\@\&\$_-]+)/([0-9]+)/?$@i',
+ '@flickr\.com/photos/([0-9A-Za-z\@\&\$_-]+)/([0-9]+)/in/pool-([0-9A-Za-z\@\&\$_-]+)@i',
);
foreach ($patterns as $pattern) {
preg_match($pattern, $url, $matches);