SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Nov 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Use XML API?

    What should I learn to be able to integrate XML API with wordpress site? (including sending XML request and get XML respond), Where can I learn all those knowledge? I am very confused.

    Looking forward to your advice!

  2. #2
    SitePoint Member
    Join Date
    Jul 2012
    Location
    Bangladesh
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To create such an interface, you need some way of handling a HTTP request, and replying with a response containing relevant data (this can be plaintext, XML, or JSON). You'd need experience in web development to implement this.

    For instance, a request to examplesite.com/api/latest/10 would need to query some data store for the latest 10 objects, and return a representation of this data in a response.

  3. #3
    SitePoint Member imsas's Avatar
    Join Date
    Feb 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should learn XML Web Services if you expect to integrate outside API's into your web applications or websites.. For example, do you want your website to have Google Maps or a Twitter Feed? You might need to learn how to use XML Web Services to send request to those sites and receive an instant response which you would need to then parse and display on your website..
    ___________________________________________________________________
    IMSAS Background Check - Background Check API
    PeopleSearchWorld.com - People Search
    fuzwire.com - Job Search

  4. #4
    Non-Member
    Join Date
    Feb 2013
    Location
    indore
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    you can learn this topic codex word press org for proper description to use XML API.

  5. #5
    SitePoint Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The two most popular XML APIs used when programming with XML are the Simple API for XML (SAX) and the Document Object Model (DOM). An XML parser reads the XML and loads it into a DOM object where it can then be traversed. SAX parses a data stream and has an event-driven API. When an element, text node, comment or processing instruction occurs within the parsing of an XML document using SAX, an event is fired. <snip/>
    Last edited by Mittineague; Sep 12, 2013 at 13:24. Reason: removing unnecessary link

  6. #6
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,185
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)
    Thanks everyone.

    The thread is old and the OP has never returned to it so they must have figured things out or moved on.

    Thread Closed


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •