Archive for August, 2007

Opera Mini 4 beta 2 released

Friday, August 31st, 2007

Opera Latest news from Opera, they had launched Opera Mini 4 beta 2 with many bug fixes and some new features. This version will not overide your previous Opera Mini installation, so you can still use them both for comparison.

Here’s an overview of some of the notable changes/additions with Opera Mini 4 beta 2 (since beta 1), yeah I copy and paste this from Opera page:

  • Now you can add the search engine of your choice to the start page, just like in the Opera desktop browser. Hey, now you could put Google Search on the start page.
  • Shortcut keys
  • Browse in landscape mode — view the Web on a wider screen (Shortcut key: ‘*’ and ‘#’)
  • Native menu for BlackBerry phones
  • Lots of optimizations for BlackBerry phones
  • Content folding – Collapses long menu lists (like those found on sidebars of webpages), so you don’t need to scroll through them to get to the page content. Note: This only works in “Fit to width” mode, not desktop.
  • Supports secure connections for banks, eBay, etc.
  • Small fonts have been enabled
  • Simplified setup process
  • Improved image quality
  • Improved cookie support
  • Ability to edit the current URL
  • Added ‘Full screen’ mode
  • Dialogs now use web 2.0-ish look and feel
  • Added support for more phones
  • Fixed a ton of bugs

Too bad I can’t try this Opera Mini since my mobile phone is old enough.. *sigh!*

Extract link from specific page/URL

Monday, August 27th, 2007

This is a simple function to extract link from a specific page/URL : function extract_url($main_url){

$cek_url = parse_url($main_url);
$prefix_url = $cek_url['scheme'].'://'.$cek_url['host'];

$f = fopen($main_url,"r");
$inputStream = fread($f,65535);
fclose($f);
if (preg_match_all("/(.*?)<\/a>/i”,$inputStream,$matches)) {
foreach($matches[1] as $link){
if(!eregi(’mailto:|javascript:|ymsgr:’,$link)){
if(eregi(”http://”,$link)){
$url = $link;
}
else{
$url = $prefix_url.$link;
}
if(eregi(’PHPSESSID’,$url)){
$url = explode(”PHPSESSID”,$url);
$url = substr($url[0],0,-1);
}
$output[] = $url;
}
}
}
return array_unique($output);
}
?>

And here is sample how to use the function: $start = time();
print_r(extract_url("http://dev.sandalian.com/"));
$end = time();

echo 'done in '.($end-$start).' second';
?>

This script only working when remote_url are allowed. Otherwise you will need to use CURL.

Opera CEO interview

Monday, August 20th, 2007

I’m a kind of Opera addict, that’s true. And today I read Opera’s CEO (Von Tetzchner) interview and see some cool things I would like to write down.

“We are being copied, but we would like to focus on features and giving users a good experience. We favour a fairly minimal UI, but not requiring you to install a lot of plug-ins. We know there is an Opera plug-in for FireFox, which is actually 15 different plug-ins in one. Now adding one or two plug-ins is OK, but if you add 15 to 20 then it impacts performance.”

That’s pretty cool. Using an application with a bunch of useful function without any horrible add-on plugins, and without high gauge on your machine

How to get Zend Studio for free.

Saturday, August 18th, 2007

I’m not joking. You can get a free copy of Zend Studio for free, sure no warez to mention. Simply register to WeberDev.com and submit your code and you have made your chance to win a free copy of Zend Studio and many more cool stuffs every month!

Last month I got one year subscription of PHP|Architect and this month I get a free copy of Zend Studio, they made me very happy. So I will post more codes to win more prizes ah.ha.ha.

E, unique text editor for Windows

Saturday, August 18th, 2007

E text editor

Yep, the name is E. Complete name is E Text Editor. As said on its official website:

E is a new text editor for Windows, with powerful editing features and quite a few unique abilities. It makes manipulating text fast and easy, and lets you focus on your writing by automating all the manual work. You can extend it in any language, and by supporting TextMate bundles, it allows you to tap into a huge and active community.

And I said yes, E is a unique text editor I’ve never tried before.

I downloaded E 20 days ago and now remaining 10 days to use the evaluation version. I found some rare features on E, among other things are cool undo history. After I close a file, and open it again, the undo history will remain there. So I can press Ctrl+Z as many as possible.

Other feature I like is web preview, I can write the code and watch the HTML rendered lively. Also code split (like in Scite), cool search highlight and many more.

I suggest you to download the trial version of E Text Editor and try it for a month. Then you will see US$ 35 is worth to spend to get this different text editor.

What?

Saturday, August 18th, 2007

Wait, why there’s any layout change here?