Archive for November 25th, 2005

XML RSS & XMLHttpRequest

Well, we now have some beta level RSS feeds for work, you can get the OPML file here (Sorry this link is going to have to wait for a day or so). Currently I’ve added 4 feeds but the ability to add more is simple and very quick. Note that this a beta test and may or may not work / be live.

Other than that, I thought i create a constantly updated list for XMLHttpRequest methods and properties as the actual structure of the thing isnt amazingly easy to find:

Methods:

.abort() -Aborts the current request
getAllResponseHeaders() - Returns all HTTP headers
getResponseHeader(”headername”) - Gets the String of a header value
open(”method”,”URL”,async,”uname”,”pswd”) - Opens a remote URL
send(content) - Sends content
setRequestHeader(”label”,”value”) - Adds headers to the request

Properties:

statusText - Status as text (404 Not found)
responseXML - Response as XML DOM
responseText - Response as text stream
readyState - What state is the request in - (0 = uninitialized.1 = loading,2 = loaded,3 = interactive,4 = complete)
onreadystatechange - Usually a function is attached to this
status - Status as number (403/404,501)

Add comment November 25th, 2005


Calendar

November 2005
M T W T F S S
« Oct   Dec »
 123456
78910111213
14151617181920
21222324252627
282930  

Posts by Month

Posts by Category


eXTReMe Tracker