DrupalBin
Submit Code
About
Recent Posts
Code
27 min 24 sec
ago
Code
43 min 1 sec
ago
css path
2 hours 27 min
ago
Fix for Code
6 hours 27 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
Fix for image_ncck_flickr_extract
View
Download
Fix
This fix will not be saved to the database until you submit.
Summary:
Tags:
Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Source code:
*
function image_ncck_flickr_extract($embed = '') { // http://flickr.com/photos/96898796@N00/194727976/ preg_match('@flickr\.com/photos/[^/]*/(\d*)@i', $embed, $matches); if($matches[1] != '') { return $matches[1]; } return array(); }
Syntax highlighting mode:
ActionScript
ColdFusion
Diff
Drupal
Drupal 5
Drupal 6
HTML
Javascript
MySQL
PHP
Python
robots.txt
SQL
Text
Select the syntax highlighting mode to use.