[wp-hackers] Excerpted XML - how to get it full?

Diana K. Cury dianakac at gmail.com
Mon Dec 19 04:30:28 UTC 2011


I'm testing to export a xml from a old system, Im able to get a xml but it shows only an excerpt.

Is there someway to get a full xml instead?!

Test site: http://mag-kalil.rssblog.zip.net/ or http://mag-kalil.zip.net/index.xml it shows a "leia mais" (read more) instead the full content.

There are also a script for request the xml, maybe i can add something else here? This script are added to the "them" template, where are a lot more scripts and alike.

/* request XML */
 var http_request = false;

 function makeRequest(url) {
     http_request = false;

     if (window.XMLHttpRequest) {
  http_request = new XMLHttpRequest();
  if (http_request.overrideMimeType) {
      http_request.overrideMimeType('text/xml');
  }
     } else if (window.ActiveXObject) {
  try {
      http_request = new ActiveXObject("Msxml2.XMLHTTP");
  } catch (e) {
      try {
      http_request = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e) {}
  }
     }

     if (!http_request) {
  alert('Giving up :( Cannot create an XMLHTTP instance');
  return false;
     }

     http_request.onreadystatechange = alertContents;
     http_request.open('GET', url, true);
     http_request.send(null);
 }

 function alertContents() {
     if (http_request.readyState == 4) {
  if (http_request.status == 200) {
      mostraHistorico();
  }
     }
 }     
 //end Request


More information about the wp-hackers mailing list