<html>
<head>
<title>http://www.blueb.co.kr</title>
<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAdV0OihhLfo4ru8N1BXzlWxSJ87f2VNqmObhB7kj4DJwDOGkiiBR3Nh79Pxxmk0DgEb3TTwZHI-Fp1g"></script>
<script type="text/javascript" src="http://www.blueb.co.kr/SRC/javascript/js/gfeedfetcher.js"></script>
<style type="text/css">
.labelfield{ /*CSS for label field in general*/
color:brown;
font-size: 90%;
}
.datefield{ /*CSS for date field in general*/
color:gray;
font-size: 90%;
}
#example1 li{ /*CSS specific to demo 1*/
margin-bottom: 4px;
}
#example2 div{ /*CSS specific to demo 2*/
margin-bottom: 5px;
}
#example2 div a{ /*CSS specific to demo 2*/
text-decoration: none;
}
#example3 a{ /*CSS specific to demo 3*/
color: #D80101;
text-decoration: none;
font-weight: bold;
}
#example3 p{ /*CSS specific to demo 3*/
margin-bottom: 2px;
}
code{ /*CSS for insructions*/
color: red;
}
</style>
</head>
</body>
<b>Example 1: (Single RSS feed, 10 entries, "<code>date</code>" field enabled, sort by <code>title</code>)</b><p>
<a href="javascript:cssfeed.init()"><B>본 항목을 새로고침</B></a><br>
<script type="text/javascript">
var cssfeed=new gfeedfetcher("example1", "example1class", "")
cssfeed.addFeed("문화일보", "http://news.naver.com/rss/rss_presscenter.nhn?office_id=021") //RSS주소 및 제목
cssfeed.displayoptions("date") //날짜 필드 보여주기
cssfeed.setentrycontainer("li") //정렬은 Li태그로
cssfeed.filterfeed(10, "title") //목록은 10개
cssfeed.init() //Always call this last
</script>
<br><br>
<b>Example 2: (Two RSS feeds, 6 entries, "<code>label"</code>, "<code>datetime</code>", and "<code>snippet</code>" fields enabled, sort by <code>label</code>)</b><p>
<a href="javascript:socialfeed.init()"><B>본 항목을 새로고침</B></a><br>
<script type="text/javascript">
var socialfeed=new gfeedfetcher("example2", "example2class", "_new")
socialfeed.addFeed("동아일보", "http://news.naver.com/rss/rss_presscenter.nhn?office_id=020") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("조선일보", "http://news.naver.com/rss/rss_presscenter.nhn?office_id=023") //Specify "label" plus URL to RSS feed
socialfeed.displayoptions("label datetime snippet") //show the specified additional fields
socialfeed.setentrycontainer("div") //Display each entry as a DIV
socialfeed.filterfeed(6, "label") //Show 6 entries, sort by label
socialfeed.init() //Always call this last
</script>
<br><br>
<b>Example 3: (Three RSS feeds, 8 entries, "<code>datetime</code>" and "<code>snippet</code>" fields enabled, sort by <code>date</code>)</b><p>
<a href="javascript:newsfeed.init()"><B>본 항목을 새로고침</B></a><br>
<script type="text/javascript">
var newsfeed=new gfeedfetcher("example3", "example3class", "_new")
newsfeed.addFeed("서울신문", "http://news.naver.com/rss/rss_presscenter.nhn?office_id=081") //Specify "label" plus URL to RSS feed
newsfeed.addFeed("한겨레", "http://news.naver.com/rss/rss_presscenter.nhn?office_id=028") //Specify "label" plus URL to RSS feed
newsfeed.addFeed("중앙일보", "http://news.naver.com/rss/rss_presscenter.nhn?office_id=025") //Specify "label" plus URL to RSS feed
newsfeed.displayoptions("datetime snippet") //show the specified additional fields
newsfeed.setentrycontainer("p") //Display each entry as a paragraph
newsfeed.filterfeed(8, "date") //Show 8 entries, sort by date
newsfeed.init() //Always call this last
</script>
</body>
</html>
댓글 3개
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 417 | ||
| 7929 | 9년 전 | 338 | ||
| 7928 | 9년 전 | 432 | ||
| 7927 | 9년 전 | 345 | ||
| 7926 | 9년 전 | 672 | ||
| 7925 | 9년 전 | 364 | ||
| 7924 | 9년 전 | 342 | ||
| 7923 | 9년 전 | 352 | ||
| 7922 | 9년 전 | 388 | ||
| 7921 | 9년 전 | 404 | ||
| 7920 | 9년 전 | 324 | ||
| 7919 | 9년 전 | 337 | ||
| 7918 | 9년 전 | 494 | ||
| 7917 | 9년 전 | 342 | ||
| 7916 | 9년 전 | 419 | ||
| 7915 | 9년 전 | 411 | ||
| 7914 | 9년 전 | 430 | ||
| 7913 | 9년 전 | 589 | ||
| 7912 | 9년 전 | 428 | ||
| 7911 | 9년 전 | 372 | ||
| 7910 | 9년 전 | 416 | ||
| 7909 | 9년 전 | 514 | ||
| 7908 | 9년 전 | 437 | ||
| 7907 | 9년 전 | 382 | ||
| 7906 | 9년 전 | 400 | ||
| 7905 | 9년 전 | 383 | ||
| 7904 | 9년 전 | 368 | ||
| 7903 | 9년 전 | 356 | ||
| 7902 | 9년 전 | 567 | ||
| 7901 |
|
9년 전 | 744 | |
| 7900 | 9년 전 | 598 | ||
| 7899 | 9년 전 | 394 | ||
| 7898 | 9년 전 | 396 | ||
| 7897 | 9년 전 | 355 | ||
| 7896 | 9년 전 | 366 | ||
| 7895 | 9년 전 | 475 | ||
| 7894 | 9년 전 | 401 | ||
| 7893 | 9년 전 | 356 | ||
| 7892 | 9년 전 | 406 | ||
| 7891 | 9년 전 | 773 | ||
| 7890 | 9년 전 | 1202 | ||
| 7889 | 9년 전 | 752 | ||
| 7888 |
limsy1987
|
9년 전 | 555 | |
| 7887 | 9년 전 | 560 | ||
| 7886 | 9년 전 | 456 | ||
| 7885 | 9년 전 | 420 | ||
| 7884 | 9년 전 | 420 | ||
| 7883 | 9년 전 | 417 | ||
| 7882 | 9년 전 | 469 | ||
| 7881 | 9년 전 | 451 | ||
| 7880 | 9년 전 | 587 | ||
| 7879 | 9년 전 | 472 | ||
| 7878 | 9년 전 | 1229 | ||
| 7877 | 9년 전 | 759 | ||
| 7876 | 9년 전 | 495 | ||
| 7875 | 9년 전 | 567 | ||
| 7874 |
|
9년 전 | 813 | |
| 7873 | 9년 전 | 526 | ||
| 7872 | 9년 전 | 688 | ||
| 7871 | 9년 전 | 491 | ||
| 7870 | 9년 전 | 616 | ||
| 7869 | 9년 전 | 439 | ||
| 7868 | 9년 전 | 461 | ||
| 7867 | 9년 전 | 436 | ||
| 7866 | 9년 전 | 504 | ||
| 7865 | 9년 전 | 462 | ||
| 7864 | 9년 전 | 520 | ||
| 7863 | 9년 전 | 519 | ||
| 7862 | 9년 전 | 474 | ||
| 7861 | 9년 전 | 650 | ||
| 7860 | 9년 전 | 634 | ||
| 7859 | 9년 전 | 421 | ||
| 7858 | 9년 전 | 708 | ||
| 7857 | 9년 전 | 1087 | ||
| 7856 | 9년 전 | 536 | ||
| 7855 | 9년 전 | 761 | ||
| 7854 | 9년 전 | 735 | ||
| 7853 | 9년 전 | 591 | ||
| 7852 | 9년 전 | 519 | ||
| 7851 | 9년 전 | 518 | ||
| 7850 | 9년 전 | 594 | ||
| 7849 | 9년 전 | 361 | ||
| 7848 | 9년 전 | 422 | ||
| 7847 | 9년 전 | 663 | ||
| 7846 | 9년 전 | 465 | ||
| 7845 | 9년 전 | 430 | ||
| 7844 | 9년 전 | 400 | ||
| 7843 | 9년 전 | 425 | ||
| 7842 | 9년 전 | 408 | ||
| 7841 | 9년 전 | 392 | ||
| 7840 | 9년 전 | 413 | ||
| 7839 | 9년 전 | 440 | ||
| 7838 | 9년 전 | 522 | ||
| 7837 | 9년 전 | 361 | ||
| 7836 | 9년 전 | 403 | ||
| 7835 | 9년 전 | 482 | ||
| 7834 |
|
9년 전 | 1198 | |
| 7833 | 9년 전 | 443 | ||
| 7832 | 9년 전 | 426 | ||
| 7831 | 9년 전 | 573 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기