jovanzers / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

Twitrpix using regex? #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What would you like dabr to do?
Showing the Twitrpix thumbnail using regex.

How would you prefer dabr to do it?

file: common/embedly.php
Modify:
$services = array(
'#youtube\.com\/watch\?v=([_-\d\w]+)#i' => 'http://i.ytimg.com/vi/%s/1.jpg',
....
'#twitrpix.com/([\d\w]+)#i' => 'http://img.twitrpix.com/thumb/%s',
);

file: common/embedly.php
on line 10, remove this part:
twitrpix\.com\/.*|.*\.twitrpix\.com\/.*|

Original issue reported on code.google.com by ad...@writelonger.com on 7 Sep 2011 at 9:27

GoogleCodeExporter commented 9 years ago
Good spot!

Original comment by terence.eden on 8 Sep 2011 at 8:25

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r447.

Original comment by terence.eden on 8 Sep 2011 at 8:26