;;; sb-zeit-de.el --- shimbun backend for ;; Copyright (C) 2004, 2005, 2006, 2008, 2009 ;; Andreas Seltenreich ;; Author: Andreas Seltenreich ;; Keywords: news ;; Created: May 23, 2004 ;; 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: ;; Macro used to extract groups from the overview-page ;; (fset 'sb-zeit-de-macro [?\C-s ?d ?e ?/ ?\C-m ?\C- ?\C-a ?\C-w ?\" ;; ?\M-f ?\" ?\C-k ?\C-k ?\C-k return ?\C-k]) ;;; Code: (require 'shimbun) (require 'sb-rss) (luna-define-class shimbun-zeit-de (shimbun-rss) ()) (defvar shimbun-zeit-de-groups '("politik" "wirtschaft" "meinung" "gesellschaft" "kultur" "wissen" "digital" "studium" "karriere" "lebensart" "reisen" "auto" "sport" "blogs" "news")) (defvar shimbun-zeit-de-x-face-alist '(("default" . "X-Face: +@u:6eD3Nq>u{P_Ev&\"A6eW=EA{5H[OqH;|oz7H>atafNFsUS-&7\ %\\qo;KFS%E`=t5Z)'q~lhfl6<7rQ=]"))) (defvar shimbun-zeit-de-content-start "title\">\\|\\(?:]+>\\)?") (defvar shimbun-zeit-de-content-end (concat "\\|\\|navigation[^><]*>[^A]\\|" "