<div><font color="#008000" face="Courier New" size="2"><span style="line-height: normal">네이버나 다음이나 인터넷 기사 내용을 가져와서 저장하고 싶어요.</span></font></div> <div><font color="#008000" face="Courier New" size="2"><span style="line-height: normal">근데 그냥 읽어오면 소스코드 그대로 긁어오게 되어버려서요...</span></font></div> <div><font color="#008000" face="Courier New" size="2"><span style="line-height: normal">본문 내용만 가져오구 싶어요ㅠㅠ</span></font></div> <div><font color="#008000" face="Courier New" size="2"><span style="line-height: normal">인터넷 기사 페이지 소스코드를 보면 </span></font></div> <div><font color="#008000" face="Courier New" size="2"><span style="line-height: normal">(부분만 가져왔습니당. 실제로는 </span></font><a target="_blank" href="http://media.daum.net/politics/newsview?newsid=20140118183306795" style="font-size: 9pt; line-height: 1.5" target="_blank">http://media.daum.net/politics/newsview?newsid=20140118183306795</a> 에요)</div> <div></div> <div><font color="#008000" face="Courier New" size="2"><span style="line-height: normal"><br /></span></font></div> <div><font size="2"><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">mArticle</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">role</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">main</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">newsWrap</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">news_wrap</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">!-- 기사 상단 제목--</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">section_subject</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">newsTitle</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">h3</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">tit_subject</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">newsTitleShadow</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">박원순 서울시장 "</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">자치단체장은 갈등 조정자</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">h3</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">tit_subtit</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">info_data</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">data</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">연합뉴스</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">!-- 기사 툴박스 --</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">newsToolBox</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">!-- 기사 본문 --</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">section_content</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">contentsWrapper</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">h4</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">screen_out</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">newsBodyShadow</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">(안양=연합뉴스) 이복한 기자 = 박원순 서울시장은 18일 "</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">현장에 답이 있고 소통하면 해결점이 보인다</span><span style="font-family: 'Courier New'; line-height: normal">"고 말했다.</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">박 시장은 이날 오후 5시 안양시청 대강당에서 열린 명사 초청 강연회에서 '소통이 답이고, 밥이고, 일자리입니다'라는 주제의 강연을 통해 이같이 밝혔다.</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">박 시장은 "</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">올해는 말띠해인데 진짜 훌륭한 말은 말귀를 잘 알아듣는 말, 즉 소통</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">이라며 </span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">현장에 답이 있고 대화가 소통</span><span style="font-family: 'Courier New'; line-height: normal">"이라고 강조했다.</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">image</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">style</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">width:500px;</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">p </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">img</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">img</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">src</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">http://i2.media.daumcdn.net/svc/image/U03/news/201401/18/yonhap/20140118213206813.jpg</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">width</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">500</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">height</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">369</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">alt</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"></span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">p</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">p </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">txt</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">↑ 강연하는 박원순 서울시장 (안양=연합뉴스) 이복한 기자 = 박원순 서울시장이 18일 오후 안양시청 대강당에서 '소통'을 주제로 강연하고 있다. 2014.1.18
[email protected]</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">p</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">image</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">style</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">width:500px;</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">p </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">img</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">img</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">src</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">http://i2.media.daumcdn.net/svc/image/U03/news/201401/18/yonhap/20140118213206866.jpg</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">width</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">500</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">height</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">393</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">alt</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"></span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">p</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">p </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">txt</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">↑ 강연하는 박원순 서울시장 (안양=연합뉴스) 박원순 서울시장이 18일 오후 안양시청 대강당에서 '소통'을 주제로 강연하고 있다. 2014.1.18 </span><span style="font-family: 'Courier New'; line-height: normal; color: red"><</span><span style="font-family: 'Courier New'; line-height: normal; color: red"><</span><span style="font-family: 'Courier New'; line-height: normal"> 안양시청 제공 </span><span style="font-family: 'Courier New'; line-height: normal; color: red">></span><span style="font-family: 'Courier New'; line-height: normal; color: red">></span><span style="font-family: 'Courier New'; line-height: normal">
[email protected]</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">p</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">그는 은평뉴타운 문제, 동대문 거리상점(노점상) 해결 등을 예로 들며 "</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">자치단체장은 갈등 조정자로 시민들과의 소통 속에 아이디어가 나왔다</span><span style="font-family: 'Courier New'; line-height: normal">"고 소개했다.</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">그는 "</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">21세기 행정은 시민들의 이야기를 잘 들어야 한다</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">며 </span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">지역 발전은 멀리 있는 것이 아니라 자세히 보면 다 그 안에 답이 있다</span><span style="font-family: 'Courier New'; line-height: normal">"고도 했다.</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">박 시장은 소통의 중요성을 강조했으나 정치 문제와 관련해서는 언급하지 않았다.</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">
[email protected]</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">(끝)</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">dl</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">dd</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">dd</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">dt</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">dt</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">dl</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: red"><</span><span style="font-family: 'Courier New'; line-height: normal">저작권자(c)연합뉴스. 무단전재-재배포금지.</span><span style="font-family: 'Courier New'; line-height: normal; color: red">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">br</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">h4</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">screen_out</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">newsCopyrightShadow</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">저작권자(c)연합뉴스. 무단전재-재배포금지</span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">banner250</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">!--뉴스 동영상--</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">video</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">medipotArea</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">!-- 뉴스 본문 --</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">newsBody</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">!--뉴스 관련기사--</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">cpRelatedNewsList</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">cpRealtimeMainNewsList</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">!--뉴스 하단 툴박스--</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">news_footer</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">newsFooter</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">!-- 추천버튼 --</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">news_btn</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">a </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">btn_news btn_recomm</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">recommendBtn</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">data-rankup-object-type</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">MediaNews</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">data-rankup-object-id</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">20140118183306795</span><span style="font-family: 'Courier New'; line-height: normal">" </span><span style="font-family: 'Courier New'; line-height: normal; color: red">href</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">#none</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">inner_recomm</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">screen_out</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal">추천 </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: red">class</span><span style="font-family: 'Courier New'; line-height: normal">="</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">txt_num</span><span style="font-family: 'Courier New'; line-height: normal">"</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">span</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">a</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal; color: blue"><</span><span style="font-family: 'Courier New'; line-height: normal">/</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">div</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">></span></font></div> <div><span style="font-family: 'Courier New'; font-size: medium; line-height: normal"><font color="#00b050"><br /></font></span></div> <div><span style="font-family: 'Courier New'; font-size: medium; line-height: normal"><font color="#00b050"><br /></font></span></div> <div><font color="#00b050"><span style="font-size: small; font-family: 'Courier New'; line-height: normal">id</span><span style="font-size: small; font-family: 'Courier New'; line-height: normal">="</span><span style="font-size: small; font-family: 'Courier New'; line-height: normal">newsBodyShadow</span><span style="font-size: small; font-family: 'Courier New'; line-height: normal">"</span><span style="font-size: small; font-family: 'Courier New'; line-height: normal">>를 기점으로 본문내용이 시작됩니다.</span></font></div> <div><font color="#00b050"><span style="font-size: small; font-family: 'Courier New'; line-height: normal">저걸 이용해서 처음 가져올 때 본문 내용만 가져올 수 없나...싶은데요</span></font></div> <div><font color="#00b050"><span style="font-size: small; font-family: 'Courier New'; line-height: normal">어케 해야 할까요?ㅠㅠ</span></font></div> <div><font color="#00b050"><span style="font-size: small; font-family: 'Courier New'; line-height: normal">밑에 자바코드는 지금까지 만든 코드입니당. ㅜㅜ</span></font></div> <div><font color="#00b050"><span style="font-size: small; font-family: 'Courier New'; line-height: normal"><br /></span></font></div> <div><font color="#00b050"><span style="font-size: small; font-family: 'Courier New'; line-height: normal"><br /></span></font></div><font size="2"><span style="font-family: 'Courier New'; line-height: normal; color: green"> <div><font size="2"><span style="font-family: 'Courier New'; line-height: normal; color: green"><br /></span></font></div>/* <br /> * 이 프로그램은 인터넷 신문 기사 내용을 저장하기 위해 만들었습니당. <br /> * Daum의 경우 신문 기사 url은 보통 <br /> * http://media.daum.net/society/?newsId=20140118211405428 <br /> * 형식으로 되어있습니다. <br /> * 맨 뒤의 수를 1씩 증가시켜가면서 각 인터넷 기사의 소스코드에 있는 "본문" 부분을 가져올거에요. <br /> */</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal; color: blue">import</span><span style="font-family: 'Courier New'; line-height: normal"> java.io.*; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal; color: blue">import</span><span style="font-family: 'Courier New'; line-height: normal"> java.net.*; </span><br style="font-family: 'Courier New'; line-height: normal" /><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal; color: blue">public</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">class</span><span style="font-family: 'Courier New'; line-height: normal"> Boogi { </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">public</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">static</span><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">void</span><span style="font-family: 'Courier New'; line-height: normal"> main(String[] args) { </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: green">// urlName = urlNameDir + urlNameNum; 이런 식으로...</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> String urlNameDir = </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">"http://media.daum.net/society/?newsId="</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">long</span><span style="font-family: 'Courier New'; line-height: normal"> urlNameNum = </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">20140118211405428L</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> String urlName = </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">null</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: green">// outFileName = dirName + fileName + count + fileFormat; 이런 식으로...</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: green">// result1.txt, result2.txt, ... 이런 형식으로 저장할거에요.</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> String dirName = </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">"c:/users/woongjin/desktop/data/"</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> String fileName = </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">"result"</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">int</span><span style="font-family: 'Courier New'; line-height: normal"> count = </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">0</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> String fileFormat = </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">".txt"</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> String outFileName = </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">null</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> URL url; </span><span style="font-family: 'Courier New'; line-height: normal; color: green">// 여기서 InputStream을 가져올거에요.</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> BufferedInputStream bis; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> BufferedOutputStream bos; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> FileOutputStream fos; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">try</span><span style="font-family: 'Courier New'; line-height: normal"> { </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">for</span><span style="font-family: 'Courier New'; line-height: normal">(</span><span style="font-family: 'Courier New'; line-height: normal; color: blue">int</span><span style="font-family: 'Courier New'; line-height: normal"> i = </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">0</span><span style="font-family: 'Courier New'; line-height: normal">; i < </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">10</span><span style="font-family: 'Courier New'; line-height: normal">; i++) { </span><span style="font-family: 'Courier New'; line-height: normal; color: green">// 신문기사 몇 개를 가져올건지 정할 수 있어요.</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: green">// url로부터 InputStream을 가져오구요</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> urlName = urlNameDir + String.valueOf(urlNameNum); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> url = </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">new</span><span style="font-family: 'Courier New'; line-height: normal"> URL(urlName); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> bis = </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">new</span><span style="font-family: 'Courier New'; line-height: normal"> BufferedInputStream(url.openStream()); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: green">// 각 기사에 따라 count를 1씩 늘려가며 새로운 파일을 만들어요.</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> outFileName = dirName + fileName + (++count) + fileFormat; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> fos = </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">new</span><span style="font-family: 'Courier New'; line-height: normal"> FileOutputStream(outFileName); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> bos = </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">new</span><span style="font-family: 'Courier New'; line-height: normal"> BufferedOutputStream(fos); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: green">// 읽어오고 저장합니당. '\\r'은 안하면 이상하게 나오더라구요 킁...</span><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">int</span><span style="font-family: 'Courier New'; line-height: normal"> data = </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">0</span><span style="font-family: 'Courier New'; line-height: normal">; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> while((data = bis.read()) != -</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">1</span><span style="font-family: 'Courier New'; line-height: normal">) { </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">if</span><span style="font-family: 'Courier New'; line-height: normal">(data == </span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">'\\n'</span><span style="font-family: 'Courier New'; line-height: normal">) </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> bos.write(</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">'\\r'</span><span style="font-family: 'Courier New'; line-height: normal">); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> bos.write(data); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> } </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> bis.close(); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> bos.close(); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> urlNameNum++; </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> } </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> } </span><span style="font-family: 'Courier New'; line-height: normal; color: blue">catch</span><span style="font-family: 'Courier New'; line-height: normal">(Exception e) { </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> e.printStackTrace(); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> System.exit(</span><span style="font-family: 'Courier New'; line-height: normal; color: maroon">0</span><span style="font-family: 'Courier New'; line-height: normal">); </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> } </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal"> } </span><br style="font-family: 'Courier New'; line-height: normal" /><span style="font-family: 'Courier New'; line-height: normal">}</span></font>