Posted by jagermonster on August 2, 2011 at 9:14am
4 followers
| Project: | Media: Flickr |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
here is another regex that needs to be added to _media_flickr_media_parse in media_flickr.utilities.inc
'@flickr\.com/photos/([0-9A-Za-z\@\&\$_-]+)/([0-9]+)/in/pool-([0-9A-Za-z\@\&\$_-]+)@i',
with added regex:
function _media_flickr_media_parse($url, $options = array()) {
// The following are single images.
$patterns = 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',
);
when i get time i will create a patch to do this
Comments
#1
subscribe
#2
Don't look like a normal patch but done with git diff *shrug*
#3
Media 7.x-1rc was just released, time to get this one in?