Tuesday, June 24, 2014

New Google Registrar Offering Domain Registration


Google Logo

Google announced today that it will be offering domain registrations.

The domain registration is currently still in beta, and is invite only.

You can apply for an invite by following this link:

The domain name registration will cost $12 per year for dot com with free private whois and DNS among other features. 

In addition, customers will get up to 100 emails for their domain name and will be able to forward them to an existing email.

Big competitors like Godaddy will be facing a problem, specially that Google will be offering up to 100 free subdomains.

Google will also allow customers to manage all kind of records, such as A, AAAA, CNAME, MX, NS, PTR, SOA, SPF, SRV, TXT, and configure TTL and manage the nameservers.


Do you think Google domain registrations will compete with Godaddy and other Big registrars?

Sunday, June 1, 2014

Renaming Saved Images In WP Robot 4

WP Robot Logo

WP Robot is a wordpress plugin that will automatically fetch content from websites, social media and RSS and post them to your wordpress website.

Beside scraping the content, WP Robot can also save the images locally. However the saved images' file-name will remain similar to the aggregated image.

Modifying The Code

I will modify WP Robot code to save all the images to the server with the following format:title-websiteUrl-randomNumber

Open
wp-content/plugins/WPRobot4/func.php, around line 29

Replace
$file_array['name'] = basename($matches[0]);
with
$path_parts = pathinfo($matches[0]);
$file_array['name'] = str_replace(" ", "-", strtolower(get_the_title($insert))) . '-' .  str_replace('http://',"",get_site_url() ) . '-' . rand(0,time()/1000) . "." . $path_parts['extension'];
Changing the image file name to reflect the post title can help in terms of SEO in "images search", since search engine has less textual clues than when doing normal searches.


Any questions? Leave your comment below!