Thursday, January 17, 2013

newsticker

; ------ start of newsticker > newsticker-start, newsticker-show-news -------
;(setq load-path (append load-path (list "C:/Emacs/lib/newsticker")))
(autoload 'newsticker-start "newsticker" "Emacs Newsticker" t)
(autoload 'newsticker-show-news "newsticker" "Emacs Newsticker" t)

(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)

(setq newsticker-groups-filename
   "~/newsticker/conf/newsticker-groups")
(setq newsticker-imagecache-dirname
   "~/newsticker/images")
(setq newsticker-dir "~/newsticker/ticker")
(setq newsticker-automatically-mark-items-as-old t)
(setq newsticker-automatically-mark-visited-items-as-old t)
(setq newsticker-retrieval-interval 600)
(setq newsticker-html-renderer (quote w3m-region))
(setq newsticker-retrieval-method (quote extern))
(setq newsticker-treeview-treewindow-width 20)  ; 30
(setq newsticker-treeview-listwindow-height 12) ; 30
(setq newsticker-wget-arguments (quote ("-q" "-O" "-"
                                        "--user-agent" "testing")))
(custom-set-variables
 '(newsticker-display-interval 15.3)
 '(newsticker-keep-obsolete-items nil)
 '(newsticker-scroll-smoothly nil)
 '(newsticker-sort-method (quote sort-by-time))
 '(newsticker-url-list
   (quote
    (

     ("codeproject" "http://www.codeproject.com/webservices/articlerss.aspx?cat=3" nil nil nil)
     ("codeplex" "http://www.codeplex.com/rss.ashx" nil nil nil)
     ("codeguro csharp" "http://feeds.feedburner.com/codeguru/csharp" nil nil nil)

     ("경향신문" "http://www.khan.co.kr/rss/rssdata/total_news.xml" nil nil nil)
     ("연합뉴스" "http://www.yonhapnews.co.kr/RSS/sokbo.xml" nil nil nil)
     ("구글" "http://news.google.com/news?pz=1&ned=kr&hl=ko&output=rss" nil nil nil)
     ("다음전체" "http://media.daum.net/rss/today/primary/all/rss2.xml" nil nil nil)
     ("오마이뉴스" "http://rss.ohmynews.com/rss/ohmynews.xml" nil nil nil)
;    ("조선" "http://www.chosun.com/site/data/rss/rss.xml" nil nil nil)

     ("BBC News" "http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/front_page/rss091.xml" nil nil nil)
     ("The Inquirer" "http://www.theinquirer.net/inquirer.rss" nil nil nil)

     ("zdnet All" "http://feeds2.feedburner.com/ZDNetBlogs" nil nil nil)
     ("zdnet screen" "http://i.zdnet.com/xml/zdnet.xml?tag=nl.e550" nil nil nil)
     ("zdnet whitepaper" "http://whitepapers.zdnet.com/?mode=rss" nil nil nil)
     ("zdnet review" "http://reviews-search.zdnet.com/index.php?k=1&mode=rss" nil nil nil)
     ("zdnet opnsrc" "http://www.zdnet.com/topics/open+source?o=1&mode=rss" nil nil nil)
     ("zdner-kr" "http://feeds.feedburner.com/zdnet_kr_news" nil nil nil)

     ("slashdot Dev" "http://developers.slashdot.org/developers.rss" nil nil nil)
;    ("bbs.kldp" "http://kldp.net/export/rss_sfnews.php" nil nil nil)
;    ("emacs help" "http://rss.gmane.org/gmane.emacs.help" nil nil nil)
;    ("msdn Forum" "http://www.microsoft.com/feeds/msdn/en-us/rss.xml" nil nil nil)

    )
   )
  )

 '(newsticker-url-list-defaults
   (quote
    (
     ("LWN (Linux Weekly News)" "http://lwn.net/headlines/rss")
     ("Quote of the day" "http://www.quotationspage.com/data/qotd.rss" "07:00" 86400)
     ("The Register" "http://www.theregister.co.uk/tonys/slashdot.rdf")
     ("slashdot" "http://slashdot.org/index.rss" nil 3600)
     ("Wired News" "http://www.wired.com/news_drop/netcenter/netcenter.rdf")
;    ("Emacs Wiki" "http://www.emacswiki.org/cgi-bin/wiki.pl?action=rss" nil 3600)
;    ("database sa" "http://database.sarang.net/rss.php")
    )
   )
  )
 '(newsticker-use-full-width nil)
 '(transient-mark-mode t)
)

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
;'(newsticker-feed-face ((t (:foreground "red" :slant normal :weight bold :height 1.3 :family "helvetica"))))
 '(newsticker-feed-face ((t (:foreground "red" :slant normal :weight bold :height 1.2 :family "나눔고딕"))))
 '(newsticker-new-item-face ((t (:foreground "blue" :weight bold))))
 '(newsticker-old-item-face ((t (:weight bold))))
)
; --------------- end of newsticker ---------------

No comments:

Pranten

 Pranten