/usr/share/emacs/site-lisp/w3m/shimbun/sb-bbc.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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | ;;; sb-bbc.el --- shimbun backend for BBC UK
;; Copyright (C) 2003, 2004, 2005, 2006, 2007
;; Koichiro Ohba <koichiro@meadowy.org>
;; Author: Koichiro Ohba <koichiro@meadowy.org>
;; Keywords: news
;; Created: Jun 18, 2003
;; 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-bbc (shimbun-rss) ())
(defvar shimbun-bbc-url
"http://newsrss.bbc.co.uk/rss/newsonline_uk_edition")
(defvar shimbun-bbc-from-address "newsonline@bbc.co.uk")
(defvar shimbun-bbc-content-start
(concat "<!-- "
(regexp-opt '("E IBYL" "E IIMA" "S IBOX" "S IMA" "S BO"))
" -->"))
(defvar shimbun-bbc-content-end "<!-- E BO -->")
(defvar shimbun-bbc-path-alist
'(("front_page" . "/front_page/rss.xml")
;; use the name "news" here to be backward compatible
;; ("world" . "/world/rss.xml")
("news" . "/world/rss.xml")
("uk" . "/uk/rss.xml")
("england" . "/england/rss.xml")
("northern_ireland" . "/northern_ireland/rss.xml")
("scotland" . "/scotland/rss.xml")
("wales" . "/wales/rss.xml")
("business" . "/business/rss.xml")
("politics" . "/uk_politics/rss.xml")
("health" . "/health/rss.xml")
("education" . "/education/rss.xml")
("science" . "/sci/tech/rss.xml")
("technology" . "/technology/rss.xml")
("entertainment" . "/entertainment/rss.xml")
("talking_point" . "/talking_point/rss.xml")
("magazine" . "/magazine/rss.xml")
("week_at-a-glance" . "/week_at-a-glance/rss.xml")
("programmes" . "programmes/rss.xml")
("latest_stories" . "/latest_published_stories/rss.xml")))
(defvar shimbun-bbc-x-face-alist
'(("default" . "\
Face: iVBORw0KGgoAAAANSUhEUgAAACoAAAAOAgMAAAAkkGboAAAADFBMVEW7uLJ/e2z////09PP
b5J9PAAAAjElEQVQI12OYGhqaGRoaBqQSGLJWrZq2atVKIDWBIev/qmnrf63M2v8KyBatmrYwfGW
WaByQLeM1beGRlRn+h4BsqahpC5euzNUCqRcEqhFfmfgKxBaIm7aQ9SWELXVp2sK1molgNfJC0xZ
+1IToFfWbtjDkZbZoEJB9/tW0Nf9WZm34NQHFDaEItwEAmSVN3A2XO9kAAAAASUVORK5CYII=")))
(defvar shimbun-bbc-groups (mapcar 'car shimbun-bbc-path-alist))
(luna-define-method shimbun-index-url ((shimbun shimbun-bbc))
(concat shimbun-bbc-url
(cdr (assoc (shimbun-current-group-internal shimbun)
shimbun-bbc-path-alist))))
(provide 'sb-bbc)
;;; sb-bbc.el ends here
|