Using XML in wordpress

  • Author
    Posts
  • #831918

    itsshivam
    Member

    Hi.

    I am using following code in my wordpress website,But I think its not getting executed as it nighter gives an error nor any result.I am try to get http header info of other websites.What i am doing wrong. Thanks for your help in advance.

    xmlhttp.open(“HEAD”, “http://www.wordpress.com”,true);
    xmlhttp.onreadystatechange=function() {
    if (xmlhttp.readyState==4) {
    alert(xmlhttp.getAllResponseHeaders())
    }
    }
    xmlhttp.send(null)

    Shivam

    The blog I need help with is itsshivam.wordpress.com.

    #832017

    First off, there is no WWW in any wordpress URL.

    Secondly, we cannot use XHTML and we are limited on the HTML we can use.

    http://en.support.wordpress.com/code/

    #832028

    itsshivam
    Member

    Thanks for your reply…

    I am using wordpress on one of the web hosts wiht my own url name does that makes any differance or is there any work around that i can use.

    #832029

    raincoaster
    Member

    If you have external hosting, that matters. If you have hosting here and a custom domain, that does NOT matter.

    If you have external hosting, you’re in the wrong forums and need to be at WordPress.ORG instead.

    #832157

    itsshivam
    Member

    Thanks

    Yes I have external hosting. I will login on to WordPress.ORG

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