two new developments at csa website.

Number one: You will be able to get CSA news/events/seminars in the form of a feed (Thanks to Raghavendra for the suggestion). Try your feed reader with the feed link: http://www.csa.iisc.ernet.in/feed/feed.xml and let me know if you find any issues.

Feeds can be implemented easily. One simply needs to generate a valid XML file with minimal tags like item, title, link and description. Let me know if you want the source code.

Number two: Automatic spam feedback to the web-team is now challenged with a CAPTCHA. Check out the feedback form and let us know your views about the website.

The original plan was to implement it using a graphics library like GD. But that was too much for such a small requirement, although, I have some experience with it while I worked on Anagram Images. So we implemented the shortcut.

  1. generate random characters and write those to a text file.
  2. use enscript to convert the text file to a postscript file.
  3. use ps2epsi to convert ps file to eps file.
  4. finally, use pstoimg to convert the eps file into a gif.

Steps 1 and 2 can be combined. But if you know of implementing captcha in a faster/easier manner, do let me know. And, if you want the source, feel free to contact.

Let me put the usual disclaimer: Both these features are in Beta.

Advertisements

Tags: , , , ,

2 Responses to “two new developments at csa website.”

  1. Kurt Alfred Kluever Says:

    If you’re interested in a more secure/robust solution (what you have is easily OCR’d), you may want to check out the reCAPTCHA project: http://recaptcha.net/
    They have a free API which you can easily hook into.

    Hope this helps,
    -Kurt

  2. iisc Says:

    Thanks Kurt for the link. Will look into it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: