Archive for February, 2009

Domain Name Registration API Plugin for Rails

Thursday, February 26th, 2009

If you’ve ever had an app where you want to allow users to purchase a domain name, you’ve probably felt the pain of trying to interface to a registrar.  Although some have APIs, my search found that most were hard to interface to or poorly documented.  Many even required signing up as a partner (and paying a big fee) before you could even get documenation.

After much searching and experimenting I decided to go with Register.com’s XML api for my app. They offered the best API, and the easiest signup path.

I bundled the main part of the interface into a rails plugin.  The plugin is stored on github: http://github.com/geoffevason/register-api/tree/master

To install the plugin do this:


script/plugin install git://github.com/geoffevason/register-api.git

The plugin is of little value unless you have spoken to register.com and have received their API documentation. You need to register as a partner (it’s free) and have the IP of your dev machine whitelisted for testing.

Most of the info on use is in the readme in the plugin. You can call any of the Register.com API methods by calling Register::API.


# A call to the API looks like this
# Register::Api::Call(params)

# Example to check if the domain name google.com is available
Register::Api::Check( :tld => 'com', :sld => 'google' )

The plugin also contains a few helper methods and classes. If all you want to do is let people search for an available domain, and purchase it, then everything you need is in these helpers. Some important logic remains in my controllers, but if you have any questions, let me know. geoff [a] evason.name

2
Tags: , , ,
Posted in tech |

New Developments For The Wedding Website Business

Wednesday, February 25th, 2009

There have been a bunch of developments with MomentVille recently that I’m pretty stoked about.

First, we have created a partnership with Modern Girl Invitations so that we can provide some designer wedding website themes that have matching modern wedding invitations.  :-)

Second, we’ve written guest blog post: why you should make a wedding website.

Third, we now let users purchase their own domain names! During testing I bought some neat domain names, such as www.websites-wedding.com

Finally – our legendary CTO Paul is working on a wicked-cool new way of using music on the site.

0
Tags: ,
Posted in startup |

Fox News : War Games

Monday, February 23rd, 2009

I came across this article on digg. Its about a Glenn Beck program on Fox News called ‘War Room’. The article provides an interesting read (though a bit long). The embedded fox videos contain a fair bit of fear mongering, a la… <The government isn’t upholding the values of the constitution and the militias (or bubbas) may need to fight a new civilwar in 2104>

The videos will mean different things to different people based on their views. The reason I’m writing THIS post is to point out a glaring error in Fox News’ fact checking.

War Room Scenario #2 paints the very bleak outlook :

50 million people worldwide are unemployed. There are riots in the streets.

The problem is, as of 2007 there were 180 million people unemployed!

Just image the carnage that would be unleashed if 130 million people got new jobs!

0
Posted in Uncategorized |