/usr/share/emacs/site-lisp/w3m/shimbun/sb-exconn.el is in w3m-el-snapshot 1.4.527+0.20140108-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | ;;; sb-exconn.el --- shimbun backend for eXperts Connection
;; Copyright (C) 2004, 2005, 2006 Yoichi NAKAYAMA <yoichi@geiin.org>
;; Author: Yoichi NAKAYAMA <yoichi@geiin.org>
;; Keywords: news
;; Created: Jun 27, 2004
;; This file is a part of shimbun.
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
;;; Commentary:
;;; Code:
(require 'shimbun)
(require 'sb-rss)
(luna-define-class shimbun-exconn (shimbun-rss) ())
(defvar shimbun-exconn-url
"http://www.exconn.net/NewestKB.asmx/GetNewestKB?span=w&mnemonic=all")
(defvar shimbun-exconn-groups '("news"))
(defvar shimbun-exconn-from-address "nobody@exconn.net")
(defvar shimbun-exconn-content-start
"<!-- - -KB 3 start- - -->")
(defvar shimbun-exconn-content-end
"<!-- - -KB 3 end- - -->")
(luna-define-method shimbun-rss-process-date ((shimbun shimbun-exconn) date)
(cond ((null date)
"")
((string-match "\\(.*\\) GMT" date)
(concat (match-string-no-properties 1 date) " +0000"))
(t
date)))
(luna-define-method shimbun-get-headers :around ((shimbun shimbun-exconn)
&optional range)
(let ((headers (luna-call-next-method)))
(dolist (header headers)
(shimbun-header-set-from header (shimbun-from-address shimbun)))
headers))
(provide 'sb-exconn)
;;; sb-exconn.el ends here
|