2007년 9월 3일 월요일

RSS 관련작업 중 링크 정리한 내용입니다.

어쩌다보니 RSS관련 부분까지 손을대게 되었서 RSS에 대해서 찾아보았습니다.
RSS의 적용 예제
  • Flickr: 링크의 format 값을 바꿔서 다른 RSS포멧을 얻을 수 있습니다. (Atom:atom, RSS2.0지원:rss, MediaRSS:rss_200)
  • Yahoo 이미지 검색: RSS2.0 +Media RSS사용, 이미지 검색의 RSS이나 이미지는 출력하지 않습니다.
  • Youtube: RSS2.0 +Media RSS사용,  description 부분에 html을 추가하여서 RSS데이터를 깔끔하게 출력
MediaRSS 스펙만 보면 강력하기는한데, 제대로 활용하려면 동영상이 적합하다는 생각이 드네요. ^^

P.S > RSS의 <item> 안의 <description>에 들어가는 내용에 embed/object 태그가 들어가는 경우 RSS리더에 따라서 보이지 않는 경우가 있어서 조금 시간을 들여 검색을 해봤습니다. 검색 결과 plain text일 수도 있고 html일 수도 있다고 하네요.
RSS 2.0 drops the type attribute introduced in RSS 0.94, because it is a mistake to add confusion to the all-important description element. The RSS 2.0 specification states that <description> may contain HTML, but there is no way for consumers to programmatically distinguish HTML from plain text (especially text that talks about markup). In other words, the content model for RSS 2.0 is Here’s something that might be HTML. Or maybe not. I can’t tell you, and you can’t guess.

댓글 없음:

댓글 쓰기