-
Notifications
You must be signed in to change notification settings - Fork 55
Invalid character. #19
Description
Hi there,
I seem to be having an issue with selected articles which causes an error like ''�', hexadecimal value 0x08, is an invalid character.' to occur.
An example article is http://www.lifehacker.com.au/2015/01/read-more-every-day-by-creating-reading-triggers/
This is running ASP.NET 4.0 and the NReadability package was downloaded via NUGet.
Current running code is:
NReadability.NReadabilityWebTranscoder tc = new NReadability.NReadabilityWebTranscoder();
NReadability.WebTranscodingInput ti = new NReadability.WebTranscodingInput(url);
NReadability.WebTranscodingResult tcr = tc.Transcode(ti); //Exception thrown on this line.
Response.Write(tcr.ExtractedContent);
(however I've tried variations of different code, including that which is included in the readme)
I reliase this is due to incorrect tags being read by the Xml reader within NReadability however I do not seem to be able to work around this.
Suggestions?