Sunday, September 30, 2007
Encode/Decode Html Text
Posted by
vijju
at
11:40 PM
0
comments
Labels: blogger tips, encode html tags, html tags, tips
Setup and configuration for New Blogger Tag Cloud / Label Cloud
Here is the code and setup information to use the Label Cloud in New Blogger.First you obviously have to have a blog on New Blogger, and you MUST be using the layouts templates,(this isn't available for classic templates, or FTP published blogs ) and you must have some posts labeled already. (There needs to be at least ONE label with more than ONE entry or the scripts hit a bug - so have at least one label with more than one entry before starting).
Make sure you backup your template before making any changes!
Log into Blogger and go to your layouts section. On the 'Page Elements' setup page make sure you have a label widget already installed where you want it (it can be moved aroundlater). Then go to the Edit HTML settings and leave the widgets NOT exapanded. It will makethings easier to deal with.
Now the code comes in 3 parts. A section for the stylesheet, a configurations section,and then the actual widget itself.The first part to put in is the stylesheet section. The following code needs to be copiedand inserted into your stylesheet, which in the layouts is marked out by the
]]>
/* Label Cloud
Styles----------------------------------------------- */
#labelCloud
{text-align:center;font-family:arial,sans-serif;}
#labelCloud .label-cloud
li{display:inline;background-image:none
!important;padding:0
5px;margin:0;vertical-align:baseline
!important;border:0 !important;}
#labelCloud
ul{list-style-type:none;margin:0 auto;padding:0;}
#labelCloud a
img{border:0;display:inline;margin:0 0 0 3px;padding:0}
#labelCloud
a{text-decoration:none}
#labelCloud
a:hover{text-decoration:underline}
#labelCloud li a{}
#labelCloud
.label-cloud {}
#labelCloud
.label-count
{padding-left:0.2em;font-size:9px;color:#000}
#labelCloud
.label-cloud
li:before{content:"" !important}
<script type='text/javascript'>
// Label Cloud User Variables
var cloudMin = 1;
var maxFontSize = 20;
var maxColor = [0,0,255];
var minFontSize = 10;
var minColor = [0,0,0];
var lcShowCount = false;
</script>
<b:widget id='Label1' locked='false' title='Labels' type='Label'/>
<b:widget id='Label1' locked='false' title='Label Cloud'
type='Label'><b:includable id='main'> <b:if
cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<div id='labelCloud'/><script
type='text/javascript'>
// Don't change anything past this point
-----------------// Cloud function s() ripped from del.icio.usfunction
s(a,b,i,x){
if(a>b){ var
m=(a-b)/Math.log(x),v=a-Math.floor(Math.log(i)*m)
}
else{ var
m=(b-a)/Math.log(x),v=Math.floor(Math.log(i)*m+a)
} return v }
var c=[];var
labelCount = new Array(); var ts = new Object;<b:loop
values='data:labels' var='label'>var theName =
"<data:label.name/>";ts[theName] =
<data:label.count/>;</b:loop>
for (t in
ts){ if
(!labelCount[ts[t]]){
labelCount[ts[t]] = new
Array(ts[t])
} }var ta=cloudMin-1;tz =
labelCount.length - cloudMin;lc2 = document.getElementById('labelCloud');ul =
document.createElement('ul');ul.className = 'label-cloud';for(var t in
ts){ if(ts[t] <
cloudMin){
continue; } for (var i=0;3
> i;i++)
{
c[i]=s(minColor[i],maxColor[i],ts[t]-ta,tz)
}
var fs =
s(minFontSize,maxFontSize,ts[t]-ta,tz);
li =
document.createElement('li');
li.style.fontSize = fs+'px';
li.style.lineHeight = '1'; a =
document.createElement('a');
a.title = ts[t]+' Posts in '+t;
a.style.color =
'rgb('+c[0]+','+c[1]+','+c[2]+')';
a.href =
'/search/label/'+encodeURIComponent(t);
if
(lcShowCount){
span =
document.createElement('span');
span.innerHTML = '('+ts[t]+')
';
span.className =
'label-count';
a.appendChild(document.createTextNode(t));
li.appendChild(a);
li.appendChild(span);
} else
{
a.appendChild(document.createTextNode(t));
li.appendChild(a);
}
ul.appendChild(li); abnk =
document.createTextNode(' ');
ul.appendChild(abnk); }
lc2.appendChild(ul);
</script>
<noscript>
<ul> <b:loop values='data:labels'
var='label'>
<li> <b:if
cond='data:blog.url ==
data:label.url'>
<data:label.name/>
<b:else/>
<a
expr:href='data:label.url'><data:label.name/></a>
</b:if>
(<data:label.count/>)
</li> </b:loop>
</ul></noscript> <b:include
name='quickedit'/>
</div>
</b:includable></b:widget>
Now if all has gone well, and you have posts already labeled, then if you preview theblog you should see some form of the Cloud appearing. If it doesn't appear, then somethingwent wrong. You should probably back out and try it again from the start.
Update : I've found 2 things to check for first if the label cloud isn't showing. First make sure that at least one of your labels has more than one entry. A bug in the script causes it to fail when all the labels have only one entry.(As soon as any label has more than one entry, then it should be ok from then on) Also, make sure that none of your labels contain quote marks " . Apostrophes or single ticks ' are ok. ------
var maxFontSize = 20;var maxColor = [0,0,255];var minFontSize = 10;var minColor = [0,0,0];var lcShowCount = false;
Posted by
vijju
at
10:54 PM
0
comments
Labels: blogger tips, tips
Saturday, September 29, 2007
Forex Exchange Market
The foreign exchange (currency or forex or FX) market exists wherever one currency is traded for another. It is by far the largest financial market in the world, and includes trading between large banks, central banks, currency speculators, multinational corporations, governments, and other financial markets and institutions. The average daily trade in the global forex markets currently around US$ 1.9 trillion.[1] Retail traders (individuals) are a small fraction of this market and may only participate indirectly through brokers or banks.
Market size and liquidity
The foreign exchange market is unique because of
its trading volume,
the extreme liquidity of the market,
the large number of, and variety of, traders in the market,
its geographical dispersion,
its long trading hours: 24 hours a day (except on weekends),
the variety of factors that affect exchange rates.
According to the BIS,[1] average daily turnover in traditional foreign exchange markets is estimated at $1,880 billion. Daily averages in April for different years, in billions of US dollars, are presented on the chart below:
This $1.88 trillion in global foreign exchange market "traditional" turnover was broken down as follows:
$621 billion in spot transactions
$208 billion in outright forwards
$944 billion in forex swaps
$107 billion estimated gaps in reporting
In addition to "traditional" turnover, $1.26 trillion was traded in derivatives.
Exchange-traded forex futures contracts were introduced in 1972 at the Chicago Mercantile Exchange and are actively traded relative to most other futures contracts. Forex futures volume has grown rapidly in recent years, and accounts for about 7% of the total foreign exchange market volume, according to The Wall Street Journal Europe (5/5/06, p. 20).
Average daily global turnover in traditional foreign exchange market transactions totaled $2.7 trillion in April 2006 according to IFSL estimates based on semi-annual London, New York, Tokyo and Singapore Foreign Exchange Committee data.
Overall turnover, including non-traditional foreign exchange derivatives and products traded on exchanges, averaged around $2.9 trillion a day. This was more than ten times the size of the combined daily turnover on all the world’s equity markets. Foreign exchange trading increased by 38% between April 2005 and April 2006 and has more than doubled since 2001. This is largely due to the growing importance of foreign exchange as an asset class and an increase in fund management assets, particularly of hedge funds and pension funds. The diverse selection of execution venues such as internet trading platforms has also made it easier for retail traders to trade in the foreign exchange market.
Because foreign exchange is an OTC market where brokers/dealers negotiate directly with one another, there is no central exchange or clearing house. The biggest geographic trading centre is the UK, primarily London, which according to IFSL estimates has increased its share of global turnover in traditional transactions from 31.3% in April 2004 to 32.4% in April 2006.
RPP The ten most active traders account for almost 73% of trading volume, according to The Wall Street Journal Europe, (2/9/06 p. 20). These large international banks continually provide the market with both bid (buy) and ask (sell) prices. The bid/ask spread is the difference between the price at which a bank or market maker will sell ("ask", or "offer") and the price at which a market-maker will buy ("bid") from a wholesale customer. This spread is minimal for actively traded pairs of currencies, usually 0–3 pips. For example, the bid/ask quote of EUR/USD might be 1.2200/1.2203. Minimum trading size for most deals is usually $100,000.
These spreads might not apply to retail customers at banks, which will routinely mark up the difference to say 1.2100 / 1.2300 for transfers, or say 1.2000 / 1.2400 for banknotes or travelers' checks. Spot prices at market makers vary, but on EUR/USD are usually no more than 3 pips wide (i.e. 0.0003). Competition has greatly increased with pip spreads shrinking on the major pairs to as little as 1 to 2 pips.
Posted by
vijju
at
12:17 AM
0
comments
Tuesday, September 25, 2007
Images limit in orkut is gone...
Hey friends..
The no of images in orkut album (12) is gone.. now you can upload more photos....
thx,
vijju
Posted by
vijju
at
11:10 PM
0
comments
Friday, September 21, 2007
Microsoft Outlook Tip - How To Stop Sending Incomplete Emails And Save Embarrassment
How many times have you send a partially composed mail or missed to attach a required document and realized after couple seconds that that you clicked on Send button by mistake? Almost all the email users would have come across this type of embarrassing situations at least once.
Microsoft Outlook has a nice feature which allows email users to recover from this type of mistakes and take appropriate actions to rectify them. Using a "Defer" rule in Microsoft Outlook we can pause all the mail delivery for few minutes after clicking the Send button. If we realize the mistake in the mail before the deferred time we can correct it and prevent an embarrassing situation.
After configuring the Defer rule (see the steps below to configure) all the sent mails will sit in Outbox for a few minutes before delivering to the recipients. If we want to stop the message from going out we can delete it from Outbox. Follow these steps to create the Defer rule
1. Follow the menu "Tools-->Rules and Alerts..." and select "New Rule..." to create a new rule
2. Choose the option "Check messages after sending" available in "Start from a blank rule" template section and click next
3. Click on the Next again to skip the wizard step "Which condition(s) do you want to check?" and a message box will be prompted with text "This rule will be applied to every message you send. Is this correct?". Select Yes.
4. On the next screen choose the option "defer delivery by a number of minutes", and then click on "a number of" and change the defer minutes to 3 minutes You can adjust this value to whatever you would like to) and click on next .
5. Again click on Next button to skip the wizard step "Are there any exceptions?" and give a name to this rule.
6. Specify any name of your choice and click on Finish to complete the rule definition.
That's all. From now onward all the mails will pause few minutes in Outbox and you will get time to correct mistakes
There is also one more feature
There is another feature in MS Outlook whereby one can "RECALL" the message
sent. though this is not a cent-percent accurate option but most of the times it
works. This works only if the recipient has not opened the email and u can get
it deleted from his inbox.
This is how u have to go about
it-:
On realizing a mistake in ur email sent, open the email from
your "sent items"
then go to the Actions Menu on the top.
Select the option of "Recall this message".
u have a
choice either to delete the message or delete and replace with a corrected one.
Thanks,
vijju
Posted by
vijju
at
2:54 AM
0
comments
Wednesday, September 12, 2007
NEWTON IN ROMANTIC MOOD..............
Universal Law Of Love:
" A Boy In Love With A Girl, Continue To Be In Love With Her And A GirlIn Love With A Boy, Continue To Be In Love With Him, Until Or Unless Any External Agent(Brother Or Father Of The G irl) Comes Into Play AndBreak The Legs Of The Boy. "
" The Rate Of Change Of Intensity Of Love Of A Girl Towards A Boy IsDirectly Proportional To The Instantaneous Bank Balance Of The Boy AndThe Direction Of This Love Is Same To As Increment Or Decrement Of TheBank Balance. "
Third Law Of Love:
Posted by
vijju
at
10:29 PM
0
comments
Labels: fun
Monday, September 10, 2007
G i rlfriend 5.0 to W i fe 1.0 : )
Posted by
vijju
at
3:33 AM
0
comments
Labels: fun
Saturday, September 08, 2007
How to get your Yahoo ID back if it's been hacked
Hey friends i found this tip but not sure that it will work.. try ur luck...
How to get your idback if it's been hacked.
1) You will need your b-day, zip code, alt email, secret questionthat you made the id with.(doesn't matter if it was changed)
2) Now Call (408) 349-3300 - Get to customer service.Let them know your yahoo name was hacked or something.Tell them your original info you used to make the id.
If you cant use long distance then email my-login-support@yahoo-inc.com with all your info that you can possibly send themand wait for response then email back with info again.
3) If they say your info is wrong but you know that it isright then argue with them and tell them to look atthe original info of the id.
4) If they still refuse then ask to speak to a supervisor.- Because they can see more info on their computers.
5) Tell the supervisor to look at the original info on the id,that it was made with and know some of the following.
Some tips are.
1)-know names on your friends list
2)-know email messages if any
3)-know your service provider
4)-know what Y! groups you were associated with
5)-know when id was made
6) -know when name was taken or lost or whatever approximately.
Just remember to be nice and let them know that you havepersonal e-mail's from people that you have'nt been able tonotify that your e-mail address from yahoo has been hacked.And that you would rather use your yahoo e-mail accountbecause you like it best
Regards,
Vijju
Posted by
vijju
at
1:35 AM
0
comments
Labels: hacking, troubleshooting, yahoo hacking
Friday, September 07, 2007
Orkut now with multi-language support - Hindi, Bengali, Telugu, Tamil, Marathi
The popularity of orkut has surged ahead with each passing day. And with the social networking site becoming such a rage, it was but obvious, that orkut would be launching a regional version soon. And that has become a reality now. Orkut has now support for many Indian regional languages - Hindi, Bengali, Telugu, Tamil, Marathi.Orkut is one universal community where people from many part of the world communicate with each other, often transcending physical and cultural barriers.
Orkut helps you coummunicate with your old friends, relatives and you can make new friends out there too. This universal community is growing day by day and now the latest update is that orkut is available in 5 different languages : Hindi, Bengali, Marathi, Tamil and telugu also. This surely comes as a great news for the people who would like to communicate in their native languages, instead of typing the same in english alphabets. India is a stronghold for the networking site with a lot of memberships increasing by each passing minute.
So keeping all this in mind Google finally launched this new feature especially for the Indians. Since in India there are more than 400 different languages spoken, so it was not easy to put all the languages to test right in the beginning. To start with google has choosen 5 languages. These languages cover 80% of the India, so to make a start these were the best suited ones. And with the growing demand, many other regional languages can be expected to come in, like Punjabi and even Urdu.
And Google has ensured that it’s members don’t face too much of a problem while viewing the orkut site in Hindi, Bengali, Marathi, Tamil or Telugu, which is very easy. Just follow these simple steps:
1. Goto settings button
2. Goto general tab and choose your preferred langauge from the drop down menu
3. Finally save the changes
And start enjoying this amazing feature by Google, which will make orkutting all the more fun. Have a nice time!
Thanks,Yours Vijju.....
Posted by
vijju
at
11:06 PM
0
comments
Labels: Latest News
Monday, September 03, 2007
Google Mobile Phones Coming (G Phone)
Google Mobile Phones Coming (G Phone)
The Observer of London is reporting that Google might be working with HTC and mobile/telecom giant Orange to build a Google Mobile Phone, which could possibly have Google software inside the device, and would be able to do many of the web tasks smartly. The device, article speculates, could go on sale in 2008. (Of course, we would all have forgotten by then… if it doesn't happen.) Orange and Google, both declined to comment.
Their plans centre on a branded Google phone, which would probably also carry Orange's logo. The device would not be revolutionary: manufactured by HTC, a Taiwanese firm specialising in smart phones and Personal Data Assistants (PDAs), it might have a screen similar to a video iPod. But it would have built-in Google software which would dramatically improve on the slow and cumbersome experience of surfing the web from a mobile handset.
Posted by
vijju
at
8:35 AM
0
comments
Labels: mobile