Tuesday, September 27, 2005

News feeds

I want to learn some information about RSS and ATOM areas....As usual google helped a lot to understand this..

Next, I searched for an opensource java RSS reader..And got this tool..Then I probed much into that ....I downloaded that tool and added all the jar files(\informa-0.6.0\lib)in the classpath..(its easy to put all the jar files in the classpath if you use eclipse or netbeans or any other java IDE, instead of writing a batch file..)
----------------------------testRssFeed.java--------------------
import java.net.*;
import java.util.*;
import de.nava.informa.core.*;
import java.io.File;
import de.nava.informa.core.ChannelIF;
import de.nava.informa.impl.basic.ChannelBuilder;
import de.nava.informa.parsers.FeedParser;

public class testRssFeed
{
public static void main(String[] args) throws Exception
{
//File file=new File("c:\\test.rss");
//ChannelIF channel = FeedParser.parse(new ChannelBuilder(), file);
ChannelIF channel = FeedParser.parse(new ChannelBuilder(), new URL("http://feeds.feedburner.com/DuraiOnlyBlog"));
for (Iterator iter = channel.getItems().iterator();iter.hasNext();) {
ItemIF item = (ItemIF)iter.next();
System.out.println(item.getTitle());
System.out.println("----------------------------");
System.out.println(item.getLink());
System.out.println("----------------------------");
System.out.println(item.getDescription());
System.out.println("----------------------------");
System.out.println("----------------------------");
System.out.println(item.getDate());
System.out.println("----------------------------");

}
}
}
--------------------------------------------------------------------------------
Enable the above comment if you have the rss file in the local machine...That's also works fine..

Next, I have to convert this simple java file into thread based servlet(it has to check that URL regular interval of time)...After that I have to write a j2me application which fetches that servlet content and displayed in the mobile..So j2me application also thread based program..

Once I finished that code, I will upload here ..But that will take time,I think...Let's see..

Thursday, September 22, 2005

Tamil Story


















Generally i am not interested in reading long tamil stories..first of all, i don't have that much patience...but mr.
gopi insisted couple of times to read the below story....I liked the way that story has written...worth to read..

ORU KAATHAL KATHAI


Thursday, September 15, 2005

Testing pic blog

Testing photo's upload via blogger.. so next time onwards if I want to upload images, no need to go to flickr or weblogimages..i can use blogger site itself....hmmm....

Wednesday, September 14, 2005

Worth to Visit

I want to share some webpages I used to read in the starting of every month..Those sites are
1) The engineers, scientists, and dreamers of Sun Microsystems
2)
Essays of Mr.paulgraham

Regarding the first link, I am a great fan of most of the dreamers in that list..
Regarding the second link, that's simply great..Most of the essays I have a hardcopy in my room..Especially this one ..I memorized line by line in that article...

Bookmark these pages and checkout that each month..

Thursday, September 01, 2005

Love the CODE

I saw couple of official relieving letters, but this one looks simple and great ....I was stunned by reading the below lines from that page..

"I'll definitely get back into coding, I might write a book, I might do some consulting, I've even considered starting a different community site next year some time."

In the above quoted lines, after reading first 7 words, I started thinking..."GET BACK INTO CODING"..hmmmm..

Here, After 2 years of experience noone wants to write a code or they forced to do some other work other than coding like managing people, client interaction, document updating...(that's also different kind of stuff..But still...).In India, based on the position only u can earn more money..That's also one reason for that change..But this person 's future plan looks something different....

I too a great fan of TSS java community site..

Learnings..

Suddenly those peoples(weblog images site) stopped showing my blog picture ...i havn't read that site faq completely...and also who knows about sudden high traffic to my blog....anyway..

PHOTO's kku THISTI PATTUDUTHU..:-)))))that's also better, i will leave that images as it is...
If you see that images, its yr luck..

I will start use flickr images to post blog content from next time onwards....actually i learned something today like " what is meant by bandwidth?? and other net details.."