J
Jeff North
Problem:
I need to copy the contents of another website into a textarea
(actually a HTMLArea textarea that retains all of the html code) on to
my webpage. Then I need to extract certain parts of this page for my
database. From this copy/paste action I would like to walk through the
copied data. The trouble is that it is only data. I need to convert
this data to XHTML format. Is there a method (either server-side or
client-side) that will allow me to do this?
Just to add to the problem. I've looked at the code and it is not
xhtml compliant code (they don't close off a lot of their tags i.e.
<P> missing closing </P> tag). Will this cause problems with the
conversion?
I've looked at XMLHTMLREQUEST option but this appears to work only on
the same domain - or have I got this totally wrong?
Reason:
the site I need to copy the data from wants to charge an exorbitant
annual fee. The problem is that a) my department doesn't have the cash
and b) we don't know if this project is going to receive funding to
continue.
Any help would greatly appreciated
I need to copy the contents of another website into a textarea
(actually a HTMLArea textarea that retains all of the html code) on to
my webpage. Then I need to extract certain parts of this page for my
database. From this copy/paste action I would like to walk through the
copied data. The trouble is that it is only data. I need to convert
this data to XHTML format. Is there a method (either server-side or
client-side) that will allow me to do this?
Just to add to the problem. I've looked at the code and it is not
xhtml compliant code (they don't close off a lot of their tags i.e.
<P> missing closing </P> tag). Will this cause problems with the
conversion?
I've looked at XMLHTMLREQUEST option but this appears to work only on
the same domain - or have I got this totally wrong?
Reason:
the site I need to copy the data from wants to charge an exorbitant
annual fee. The problem is that a) my department doesn't have the cash
and b) we don't know if this project is going to receive funding to
continue.
Any help would greatly appreciated