Hello,
Ok, I want to be able to read the text off of a website’s html and put it in a variable.
This website does not offer xml RSS feeds and I have no control over how its data is presented.
I had planned on doing this:
myPAVar = new LoadVars();
myPAVar.load(xPublicAdvisory);
myPAVar.onLoad = function(src:String) {
if (success == true) {
trace( this);
}
}
Problem with this, is that the data that is returned is an incomplete jarbled mess like this:
%20Archive%3C%2Fa%3E%20%2D%0A%3Ca%20href%3D%22%2Faboutwap%2Eshtml%3Ftext%22%3EMobile%20Products%3C%2Fa%3E%20%2D%0A%3Ca%20href%3D%22%2Fsignup%2Eshtml%3Ftext%22%3EE%2DMail%20Advise%3C%2Fa%3E%20%2D%0A%3Ca%20href%3D%22%2
There must be a way to get this text in a complete and readable form. Once I have the text loaded, i will just issue a split command on the text to break it down and find my variables…
Any help is greatly appreciated.
thanks
chris johnson