Tuesday, April 26, 2005

XML and RSS0.92 Parser

Wrote a basic xmlparser module in python which can parse the xml file and returns UserDict. Using xmlparser module I implemented parsefeed module which can now parse the RSS 0.92 xml file and return UserDict which can be handled easily. You can download the modules here.

Sunday, April 17, 2005

Python implementation of "tail -f"

I wrote a small python script that will show the behavior of UNIX/LINUX "tail -f" command. The python script may come handy for windows users. Click tailf.zip to get the source.

Friday, April 15, 2005

Javascript - tutorial

As a basic introduction to javascript, I have designed the following applications:
You can download all the files here.Start page is login.html. When username is prompted at login, use one of the following: admin/prasad/hint/xhr/monkey.
Note: Most of the script working is specific to firefox/mozilla/netspace.

Monday, April 11, 2005

greasemonkey - feedlink with popup

Today, I enhanced the functionality of feedlink. Here is the user script. Now feedlink userscript not only shows the feeds available as images, but gets you a popup menu when you click on the image and you can subscribe to aggregators like bloglines or newsgator. You can customize the popup menu, by setting proper values in the user script for:
Here is a small snapshot showing the popup menu.
You can get the zip file here that contains the user script and many more.
If you need the version without popup or for installation help, checkout this entry.

Friday, April 08, 2005

greasemonkey - autodiscover site feed

FeedLink the greasemonkey plugin will enable the autodiscovery of site feeds and display them as anchor images. Here is the user script that you can use.
Following are the steps to install the user script:
  1. If you haven't installed greasemonkey Firefox extension. Then get it installed.
  2. Open this user script in Firefox.
  3. From "Tools" menu select "Install User Script..." and confirm all the prompt.
  4. To configure the script, select "Manage User Scripts..." from "Tools" menu.
  5. By default, User script is added for "http://www.livejournal.com/users/*" (eg:http://www.livejournal.com/users/someone) and "http://*.blogspot.com*"(eg:http://someone/blogspot.com/).
You can get the zip file here that contains the user script and many more.When site feeds are discovered it will be displayed as anchor images: (I am showing only images here)

Tuesday, April 05, 2005

Writing Python Module in C

I have designed a module for python with the basic intension of describing how to write modules in c, install and use it. In the module (c program) that I have designed, a prompt (input to c program) will be displayed on the terminal, the user password will be read from the terminal and it will be returned as the python string object to python interpreter. You can download the module here.

Friday, April 01, 2005

Basic Python Calculator - pycalc

Inspired by the first version of my calculator (in c#), I went on with the same application in python but using slightly different logic during the expression evaluation. Well, it was really challenging to sit overnight to get the code done. Get the code here.
View Algorithm
View Output

This page is powered by Blogger. Isn't yours?