Feb 28, 2008

teleport a web site in linux

You might have used tools like Teleport Pro to teleport a web site in Windows. But it is a proprietary software and you will have to struggle a bit to get it work. Sometimes you might have to try a trail version with reduced features.

But teleporting functionality is inbuilt in linux. type "wget [options] [url]" in your console and you will be amazed by the result. It has started downloading the site. Type " wget --help" to see the detailed description of the supported options.

This is really useful to off line computer users like me. :-)

Feb 22, 2008

decided to go with wordpress

You may wonder why I have switched to wordpress to blog. Blogging in blogspot is easy. But blogging in wordpress is easier. It is because of the huge support it offers in customizing your blog. Really it is feature rich. The most attractive feature i found is that you can import your blogspot posts to your new wordpress blog. So you do not have to go from the grass root level. Every post you have done so far is available in your new blog.

Still I am new to wordpress. But I can guaranty that this is cool and feature rich. Because of it, the interface is a bit complex and needs time to get familiar with. But at the end of the day, you will be left with a nice blog.

happy blogging...!

Feb 18, 2008

thank you Google...

Today I found out that Google is giving web hosting facility too, for free of charge. I started creating my own site there. more on that later...

Google is the simplest and smartest search engine i have ever seen. Gmail is feature rich to a level, where no other web based e-mail service providers can beat it. If blogspot was not here, i would not be talking to you through my blog. It also gives hosting for codes. GTALK, GSOC and many more....

Google is making the internet a more pleasant place. I am not advertsing, but telling my humble opinion.

Are they trying to give a total solution to the web ?

Feb 15, 2008

ready to launch

Modrewrite mediator for apache synapse is completed and ready to use. It will be available to public next week onwards. So I thought that it would be useful to put some notes about the functionality of this mediator.
This mediator does some URL manipulations according to a set of rules defined in the synapse.xml. A rule comprises of the followings.

  • a set of conditions

  • a set of modifications (to be applied if the combination of conditions is evaluated to be true)

The condition elements are interconnected using boolean AND and OR operators. AND operator is given higher priority than OR operator. Once the condition statements are evaluated against the message context, it should return either boolean true or false. If the set of conditions is evaluated to be true, then the properties in the set elements are modified with the given values.

All the values are compared using regular expressions and pattern matching in Java. So users are free to give some wild card values for the properties. For example, [a-z][a-z][a-z]:echo is given above as a value for the soap action. [a-z] can be any character for a-z(lower case). If you want to learn more about regular expressions in Java, this is the place.

Although this is named as urlrewrie, it can do lot more than that. It manipulates some other addressing headers like ReplyTO, SOAPAction, WSAAction, FaultTo, From, etc.

So now it is time to play with URLs and addressing headers.