Topic: XML > proxy > parse > AGGGGGHHHHH! (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: #UK SURREY |
![]() 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 |
![]() 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 |
![]() Check this out: |
Bipolar (III) Inmate From: #UK SURREY |
![]() Thanks Dan! |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() I would not use an IE specific means of parsing the XML file. |
Bipolar (III) Inmate From: #UK SURREY |
![]() Many thanks Dan - it looks like that took you some time!!!! |
Bipolar (III) Inmate From: #UK SURREY |
![]() 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 |
![]() Here you go http://test.coonabibba.de/fatrod.phps |
Bipolar (III) Inmate From: #UK SURREY |
![]() Thanks TP, Thanks. |