Fix XML Feed Problem

Completed Posted Mar 10, 2008 Paid on delivery
Completed Paid on delivery

For XML Experts ONLY.

Problems using function.simplexml-load-file]

I have subscribed a XML feed that unfortunately is sometime malformed, and therefore given errors:

Warning: simplexml_load_file() [function.simplexml-load-file]: [login to view URL];k=J3292A0H&sport=soccer&link=england:824: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xB4 0x4E 0x65 0x69 in /home/goalscor/public_html/[login to view URL] on line 89

Warning: simplexml_load_file() [function.simplexml-load-file]: <event type="yellowcard" minute="31" team="Local" player="G. O'Neil" result in /home/goalscor/public_html/[login to view URL] on line 89

Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/goalscor/public_html/[login to view URL] on line 89

Can't load file

This problems only happens when a special character come in the feed (in this example the problem is with character (') on the "G. O'Neil" ).

Please Check link : [login to view URL]

The problem is that the feed provider will not fix the feed and I have to find an expert on XML feed to fix this. ASAP.

Linux PHP XML

Project ID: #235675

About the project

13 proposals Remote project Active Mar 11, 2008

Awarded to:

facebookdev

Hi Please check PMB

$30 USD in 0 days
(16 Reviews)
5.6

13 freelancers are bidding on average $78 for this job

best1

Kindly check PMB

$120 USD in 1 day
(292 Reviews)
10.0
value4u

Hi, Please your PMB. Thanks.

$200 USD in 3 days
(289 Reviews)
8.2
sritechnocrat

Please check PM.

$30 USD in 0 days
(81 Reviews)
7.7
roonex

Hi, please check PMB

$80 USD in 4 days
(233 Reviews)
6.9
outsourcedev

Please check it out the PM for more info, thanks…

$30 USD in 0 days
(98 Reviews)
6.8
Pektsekye

i can try

$30 USD in 1 day
(107 Reviews)
5.6
expertMan

I am interested.

$175 USD in 3 days
(50 Reviews)
6.5
kamanashisroy

Hi, give me the code :-P

$30 USD in 1 day
(6 Reviews)
4.5
AmitKumarCal

Hi, Check PM

$200 USD in 3 days
(1 Review)
3.2
antony123

I can offer it

$30 USD in 1 day
(10 Reviews)
3.2
dmoi

This problem can be fixed in **1 minute**

$30 USD in 0 days
(3 Reviews)
1.9
cubanitoweb

I suggest you to: First, download the file to your application folder, then scan this file looking for unexpected characters and change them to fullfill the XML standard, and then parse the XML file to extract the dat More

$30 USD in 1 day
(0 Reviews)
0.0