RSS 피드를 구문 분석하고이를 내 웹 사이트에 표시하려고합니다. 내 코드가 올바르게 작동하는 것 같습니다. techcrunch & arstechnica RSS. 그러나 HackerNews를 구문 분석하려고 시도 할 때 RSS 오류가 발생합니다. ;RSS 구문 분석시 오류
XmlReader readXML;
readXML = XmlReader.Create(GetURL());
SyndicationFeed News= SyndicationFeed.Load(readXML);
readXML.Close();
return News;
나는에 되는 ReadXml = XmlReader.Create (가 GetURL()) 다음과 같은 오류가 geturl은 rss의 URL입니다.
서버
에서 프로토콜 위반이 발생했습니다. 제 = ResponseStatusLine
내가 위의 오류를 받고 있어요 왜 어떤 제안이. 감사
가능한 중복 : http://stackoverflow.com/questions/11674938/the-server-committed-a-protocol-violation-section-responsestatusline-when-using http://stackoverflow.com/questions/2482715/the-server-committed-a-protocol-violation-section-respondestatusline-error – sergserg