Topic: XML > proxy > parse > AGGGGGHHHHH! (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: #UK SURREY |
posted 02-15-2007 17:54
Hi Guys - I didn't want this indexed so posted it here, hope you don?t mind. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 02-15-2007 19:29
This is actually pretty simple. code: <?php function fetchRemoteURL ( $strURL ) { $strResult = ''; $fh = fopen ( $strURL, "rb"); if ( $fh ) { while ( !feof ( $fh ) ) $strResult .= fread ( $fh, 8192 ) ; } return $strResult; } header('Content-type: text/xml'); print fetchRemoteURL('http://jobs.cerebra.co.uk/xml.php?number=5'); ?>
|
Maniac (V) Inmate From: Boston, MA, USA |
posted 02-15-2007 20:53
Check this out: |
Bipolar (III) Inmate From: #UK SURREY |
posted 02-16-2007 13:48
Thanks Dan! |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 02-16-2007 15:08
I would not use an IE specific means of parsing the XML file. |
Bipolar (III) Inmate From: #UK SURREY |
posted 02-16-2007 15:53
Many thanks Dan - it looks like that took you some time!!!! |
Bipolar (III) Inmate From: #UK SURREY |
posted 08-13-2007 11:24
I've just realised that google bots are not reading the content generated by the AJAX request.... Does anyone know a simple alternitive that will produce a static page that is indexible by search engines??? |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 08-13-2007 18:28
Here you go http://test.coonabibba.de/fatrod.phps |
Bipolar (III) Inmate From: #UK SURREY |
posted 08-15-2007 14:41
Thanks TP, Thanks. |