[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Patch for sb-slashdot



Dear maintainers,

Attached is a little patch to make sb-slashdot.el work again.

Regards,
David
Index: sb-slashdot.el
===================================================================
RCS file: /storage/cvsroot/emacs-w3m/shimbun/sb-slashdot.el,v
retrieving revision 1.8
diff -u -r1.8 sb-slashdot.el
--- sb-slashdot.el	31 May 2009 00:19:54 -0000	1.8
+++ sb-slashdot.el	31 Jul 2009 07:48:58 -0000
@@ -57,7 +57,7 @@
 (defvar shimbun-slashdot-regexp-section-id-subject
   "<\\s-*h3\\s-+class=\"story\"[^\0]*?<a [^>]*?href=\"\
 /*\\([a-zA-Z]+\\)?\\.?slashdot.org/\\([a-z]+?\\)/\\(.+\\)/\\(.+?\\)\
-\".*?>\\(.*?\\)</a>")
+\"[^>]*class=.datitle.[^>]*>\\(.*?\\)</a>")
 
 (defvar shimbun-slashdot-regexp-author-time
   "Posted[\t \n]+by[^a-zA-Z]*\\(.*\\)[^\0]*?on\\s-+[a-zA-Z]+\\s-+\
Index: ChangeLog
===================================================================
RCS file: /storage/cvsroot/emacs-w3m/shimbun/ChangeLog,v
retrieving revision 1.198
diff -u -r1.198 ChangeLog
--- ChangeLog	31 May 2009 00:19:54 -0000	1.198
+++ ChangeLog	31 Jul 2009 07:49:04 -0000
@@ -1,3 +1,8 @@
+2009-07-31  David Engster  <dengste@xxxxxx>
+
+	* sb-slashdot.el (shimbun-slashdot-regexp-section-id-subject): Adapt to
+	new CSS.
+
 2009-05-30  David Engster  <dengste@xxxxxx>
 
 	* sb-slashdot.el (shimbun-slashdot-regexp-section-id-subject)