21, నవంబర్ 2008, శుక్రవారం

Ubiquity code for telugu dictionary

నేను ubiquity (firefox) తో తెలుగు dictionary కోసం ఒక కోడ్ రాసుంచాను. Copy the following code into the Ubiquity Command Editor.

// === CODE START ===

CmdUtils.CreateCommand({
name: "brown",
icon: "http://example.com/example.png",
homepage: "http://dsal.uchicago.edu/dictionaries/brown/",
author: { name: "Pradeep", email: "asd"},
license: "GPL",
description: "Search for telugu words in Brown dictionary",
help: "brown ",
takes: {"input": noun_arb_text},
preview: function( pblock, input ) {
var url = "http://dsal.uchicago.edu/cgi-bin/romadict.pl?query=" + input.text + "&table=brown"
//var template = "Hello ${name}";
//pblock.innerHTML = CmdUtils.renderTemplate(template, {"name": "World!"});
jQuery.get( url, {}, function(dataInURL)
{
pblock.innerHTML = dataInURL;
})
},
execute: function(input) {
var url = "http://dsal.uchicago.edu/cgi-bin/romadict.pl?query=" + input.text + "&table=brown"
Utils.openUrlInBrowser(url);
//CmdUtils.setSelection("You selected: "+input.html);
}
});

// === CODE ENDS ===

Press CTRL+SPACE (or your own hot-key) and type "brown any_telugu_word"
You will get the meaning of the word if it is there in Brown dictionary.

I don't know whether I can use the site "http://dsal.uchicago.edu/dictionaries/brown/" as it is. The ubiquity code will dump all the content of the webpage.
Have to see how to change it .. may be in future versions... ;)

ఒక వేళ పైన ఇచ్చిన siteలో XML support ఉంటే, ఈ codeను ఇంకొంచెం బాగా రాయొచ్చేమో అనిపించింది. నాకు ubiquity ద్వారా తెలుగు dictionary కావాలి. పైన ఉన్న కోడ్ కన్నా బాగున్న కోడ్ ఉంటే, అందజేయగలరు.

నేను పై కోడ్‌ను firefox with Windows XP మీద ట్రై చేశాను. బానే పని చేసింది. You can also try.. :)

Thanks.

7, ఫిబ్రవరి 2008, గురువారం

My heart is beating - జల్సా

My heart is beating అదోలా
తెలుసుకోవా అది
ఎన్నాళ్ళీ waiting అనేలా
తరుముతోందీ మదీ
పెదవిపై పలకకే మనసులో ఉన్న సంగతి
కనులలో వెతికితే దొరుకుతుందీ
tea spoon టన్ను బరువవుతుందే
full moon నన్ను ఉడికిస్తుందే
cloud line కాళ్ళ కిందకొచ్చిందే
land mine గుండెలో పేలిందే || My heart ||

.. hey I wanna be with you forever ..
.. hey I wanna live with you forever ..


పెను తుఫాను ఏదైనా మెరుపు దాడి చేసిందా
మునుపు లేని మైకానా మదిని ముంచి పోయిందా
ఊరికేనే పెరగదుగా ఊపిరి సలపని భారమిలా
[] నాలో నిలువెల్లా
తలపులలో చొరబడుతూ గజిబిజిగా చెలరేగాలా
తలగాడతో తలపడుతూ తెల్లార్లు ఒంటరిగా వేగాలా..
cell phone ఈ కబురు తెస్తుంటే
sten gun మొగినట్టు ఉంటుందే
crompton fanu గాలి వీస్తుంటే,
cyclone తాకినట్టు ఉంటుందే.. || My heart is beating ||

ఎపుడెలా తెగిస్తానో
నా మీదే నాకు అనుమానం
మాటల్లో పైకనేస్తానో
నీ మీద ఉన్న అభిమానం
త్వర త్వరగా తరిమినదే పద పద పద మని పడుచురథం
ఎద లయలో మెదిలినదే మదనుడి చిలిపి రిథం
గుసగుసగా పిలిచినదే మనసున విరిసిన కలల వనం
తహ తహగా తరిమిందే దమ్మను దమ్మను తులే ఆనందం
freedom తొణికినట్టు గాలుల్లో
welcome పిలుపు వినిపిస్తుందే
బాణం వేసినట్టు ఏ విల్లో ప్రాణం దూసుకెళ్ళి పోతుందే !! || My heart is beating ||

చిత్రం: జల్సా
సంగీతం: దేవి శ్రీ ప్రసాద్
గానం: దేవి శ్రీ ప్రసాద్

సాహిత్యం ఎవరో నకు తెలియదు. తెలిస్తే, కొంచెం చెప్పండి. పాటలు release కాక మునుపే net లో పాటలు విన్న. పాట మాత్రం సూపర్. మధ్యలో ఒక చోట సాహిత్యం వినపడలేదు. మీకు అర్థం ఆయితే, ఖాళీ నింపండి.

7, జనవరి 2008, సోమవారం

నిన్న ఆస్ట్రేలియాలో భారత పరీస్థితిని ఈనాడు వాళ్ళు సూపర్‌గా రాసారు. ఈ రోజు ఈనాడు పేపర్‌లో ఆ ఆటని రెండే రెండు లైన్లలో సూపర్‌గా వివరించారు:

అంపైర్‌లతో కలిసి 13 మందితో ఆడిన ఆస్ట్రేలియా ప్రపంచ రికార్డును సమం చేసింది.

ఈ వార్త లంకె:
http://eenadu.net/panelhtml.asp?qrystr=htm/panel2.htm