February 20, 2008
Somebody wanted this.
function ripper($url) {
$page = appr_curl_function($url);
if ($page === false)
{
die(”Something wack happened”);
}
preg_match(’/watch_fullscreen\?video_id=(.*?)&l=(.*?)+&t=(.*?)&/’, $page, $match);
$match1 = “http://www.youtube.com/get_video?video_id=”;
if(!$match[1]){
die(”Some Informative Error Messgae Here”);
}
$match1 .= $match[1];
$match1 .= “&t=”;
$match1 .= $match[3];
return $match1;
}
Should work. Write yourself necessary things in the appr_curl_function()
No Comments » |
Drupal, PHP, Programming, cURL |
Permalink
Posted by p6
January 24, 2008
http://drupal.org/node/202638
Valid Reason so far as I can fathom. Unfortunate that Dub only had to get repeatedly dismissed and flamed at.
Dries is a great man, but really.. the proposition of open-source communities being under the fatherhood of benevolent dictators, especially ones with new startups and in the hands of legalities and venture capitalists..isn’t particularly an ideal proposition.
I’m all for democratization, personally. Looks like it’s not to be, however.
No Comments » |
Drupal, PHP, Programming |
Permalink
Posted by p6
January 24, 2008
Pretty lame, this.
http://www.hiveminds.co.uk/forum/node/3654
I knew of a certain Mr Pillai who supposedly made a lot of money out of cybersquatting (most notably on sydney2000.com, I think). Very very lame though. I don ‘t think this dude’s going to get away with the hijacking.
His track-record isn’t too great with the rest of the Drupal junta either. He’s been consistently writing half-baked, fallacious and lame stuff against Drupal for a while now as in here.
No Comments » |
Content Management, Drupal, PHP |
Permalink
Posted by p6
November 30, 2007
Was feeling a little Jobless =)
So this is a port of Industrial from Freecsstemplates.org. Works properly with most browsers for the most part. I couldn’t find a place for the search box and hence it’s missing. I think the logo has issues as well. Will fix them later. This is pretty usable the way it is.
Download Link: http://www.bas.org.in/files/industrial.zip
1 Comment |
CSS, Content Management, Drupal, PHP |
Permalink
Posted by p6
August 10, 2007
Aye.. Great Stuff this. Wanted to write about a while back …but that bit of sector in my brain got evaporated all by itself.
http://www.mykannada.net/KannadaTypePad.htm
I saw the admin of this site (?.. Not sure though) Posting a comment here..Perpetrating this rather delayed recall.
Some great JavaScript work there.. I would’ve loved to have done something like this… and I did try something similar at one time, But rather unsuccessfully so.
In any case, this is super-cool. I wish they could port this as the default editor to whatever Sampada.net uses.. TinyMCE or FCKEditor I expect, Too lazy to confirm now. The last I saw, Sampada.net needed that Convertor to render input to Kannada Unicode.
I wonder if Sampada is still running Drupal 4.6..Nothing has changed so far as I know.. Great work by Mr HPN nonetheless, and especially with the Kannada Wikipedia too.
1 Comment |
Drupal, PHP, Randomities |
Permalink
Posted by p6