Title: Using XML in wordpress
Last modified: August 20, 2016

---

# Using XML in wordpress

 *  [its.shivam](https://wordpress.org/support/users/itsshivam/)
 * (@itsshivam)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/using-xml-in-wordpress/)
 * Hi.
 * I am using following code in my wordpress website,But its giving NULL all the
   time.I am try to get http header info of other websites.What i am doing wrong.
   Thanks for your help in advance.
 * <SCRIPT LANGUAGE=”JAVASCRIPT” type=”text/javascript”>
 * var client = new XMLHttpRequest();
    client.open(“Head”, “[http://www.wordpress.com&#8221](http://www.wordpress.com&#8221);,
   true); client.send(); client.onreadystatechange = function() { if(this.readyState
   == 4) { alert(client.getResponseHeader(“Last-Modified”)); } }
 * </script>

The topic ‘Using XML in wordpress’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [its.shivam](https://wordpress.org/support/users/itsshivam/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/using-xml-in-wordpress/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
