Support forums

   
 
Special Characters in XML title  
Posted: 21 June 2010 08:41 PM —   [ Ignore ]  
Newbie
Avatar
Rank
Total Posts:  5
Joined  2009-04-04

Andrew - I noticed that if a title in an XML I’m grabbing has special characters in it XMLGrab will pull the entry multiple times and they all have the same date and same time.  I’ve seen it grab the same entry 100 times in a row.  I know this would be considered malformed XML, but for nobs who’s RSS feed I’m grabing, they wouldn’t know this. 

Anyway, the plug-in can work with this problem?

Profile
 
 
Posted: 22 June 2010 12:57 AM —   [ Ignore ]   [ # 1 ]  
Administrator
RankRankRankRank
Total Posts:  182
Joined  2006-04-12

Hi Grant,

Can you send me an example XML file and I’ll take a look. XMLGrab uses a function built-into EE to parse the XML and this uses a PHP function that does not handle special chararcters very well so it might be due to this.

It might be possible to include some pre-processing stage to XMLGrab clean up the data.

Thanks,
Andrew

Profile
 
 
Posted: 22 June 2010 03:42 AM —   [ Ignore ]   [ # 2 ]  
Newbie
Avatar
Rank
Total Posts:  5
Joined  2009-04-04

Here is the RSS file: http://feeds.feedburner.com/richsinglemommafeed

And this is the entry that keeps duplicating. I think its the em dash.  All other entries are working fine on this feed.

<title>The Key to Coupon Success – Stockpiling</title
Profile
 
 
Posted: 22 June 2010 02:58 PM —   [ Ignore ]   [ # 3 ]  
Administrator
RankRankRankRank
Total Posts:  182
Joined  2006-04-12

Thanks for that. I’ve grabbed a copy and I’ll try and take a look asap.

Andrew

Profile
 
 
Posted: 01 August 2010 08:36 PM —   [ Ignore ]   [ # 4 ]  
Newbie
Avatar
Rank
Total Posts:  5
Joined  2009-04-04

Hey Andrew - Find anything out for me?  Its happening pretty bad on my end on only these special characters (or quite possibly MS Word special characters) in the titles.  Thanks!

Profile
 
 
   
 
 

‹‹ Is it possible XMLGrab could make an entry’s status ’Draft’?      cron job path problem with ee template to call xmlgrab ››

Select A Theme