XML RSS & XMLHttpRequest

November 25th, 2005

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)

Entry Filed under: Technology

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

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

Most Recent Posts


eXTReMe Tracker