Archive for the 'Code Bin' Category

Javascript AJAX / SOAP client

Saturday, December 10th, 2005

Very useful little gem! I had posted on working around the limitations of MS’s NTLM authentication “double-hop” issue by using AJAX methods to retrieve information from secured web services in conjunction with IE’s security zones. Although SOAP is XML and nothing stops a person from manually creating a SOAP wrapper, this tool actually […]

Code glitch….I blame the government

Tuesday, November 22nd, 2005

Some noticed that my Buffalo Snow Meter was not calculating the “Last Cache” date properly, it had been showing 11/35/2005, which we know is fubar. Ends up that my parsing failed miserably when NOAA added actual accumulation numbers. My bad, code adjusted. Still cold and snowy.

The saga of creating Web Services with Domino R6

Thursday, November 17th, 2005

I think I have officially bitten off more than I can chew. I am trying to convert a simple URL-triggered agent that returns XML into a real SOAP web service in Domino R6. I am almost positive that the data I am returning is in the proper format, but I cannot seem to get the […]

Sending mail from an XML/SOAP call (R6)

Monday, November 14th, 2005

So a recent request about sending mail from other applications prompted me to write a quick and dirty LotusScript agent that could send an e-mail from an XML request. This was enough to get the developers going but it also opened up the dialog about standardizing XML calls around the organization. The method that […]

Send Notes mail from an XML call

Saturday, November 5th, 2005

So I had a few requests recently on how to send a mail, via Notes, from Visual Basic. I responded with the typical answer for developers to use the Notes COM interface, with the option to use the LDAP service for directory information. The problems with the COM interface are that it is Win32 […]

SQL Query to sort by distance from a zip code

Wednesday, November 2nd, 2005

File this into the cateogry of useless information that might come in handy some day. What is needed is a table with the latitude and longitude of every zip code. This information can be bought from numerous companies (google is your friend), but rumor has it that the census bureau, and/or the US […]

Sunrise/Sunset times with LotusScript

Saturday, October 22nd, 2005

Why would you want to do this? Why not? In my case, I just go tired of all the free services that provide this data going down for extended periods. That, and the uber-geeky desire to know how it was computed. I use this same code, translated to PHP, for my new […]

Better Tabbed Tables

Tuesday, October 11th, 2005

I mentioned a while back that I was handling some development overflow around the office and I got stuck trying to convert a Notes app to the browser, where no forethought for this contingency had been used by the developers. There are a hundred things, about doing this type of conversion, that I hate, […]

Parsing Inbound XML with Domino

Sunday, October 9th, 2005

I recently posted about talking back XML from Domino apps since I had never had to use the R6 LotusScript parser classes that Domino now has. In the same spirit, I thought I would post on how to parse inbound XML using the same classes.

Traditionally, most Domino developers used the Request_Content property/field to […]

Name based hide-whens with nested groups

Sunday, October 2nd, 2005

First, in the process of writing this post, I had a nagging feeling that I was missing something. I could not shake it but I wrote the post anyway and saved as a draft. I did some research and found that I had essentially done something the hard way. A new feature added to […]