trans-coord-devel
[Top][All Lists]
Advanced

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

trans-coord/gnun/server/gnun GNUmakefile ChangeLog


From: Pavel Kharitonov
Subject: trans-coord/gnun/server/gnun GNUmakefile ChangeLog
Date: Wed, 20 Jun 2012 14:24:58 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Pavel Kharitonov <ineiev>       12/06/20 14:24:58

Modified files:
        gnun/server/gnun: GNUmakefile ChangeLog 

Log message:
        (extract-title): When extracting titles,
        substitute `&ndash;' with `--' and `&nbsp;' with ` ';
        show shorter titles without closing `</h2>' (reported by Yavor).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.130&r2=1.131
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.280&r2=1.281

Patches:
Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -b -r1.130 -r1.131
--- GNUmakefile 15 Jun 2012 04:09:32 -0000      1.130
+++ GNUmakefile 20 Jun 2012 14:24:58 -0000      1.131
@@ -651,8 +651,8 @@
 # ANNOUNCE=yes.
 define extract-title
 echo -n \`$(GREP) --max-count=1 '<h2' address@hidden \
-  | $(SED) '/<\/h2>/!s/$$$$/.../;s/.*<h2[^>]*>\(.*\)\(<\/h2>.*\)\?/\1/' \
-  | $(SED) 's/\&mdash;/--/g' \
+  | $(SED) '/<\/h2>/!s/$$$$/.../;s/.*<h2[^>]*>//;s/<\/h2>.*//' \
+  | $(SED) 's/\&[mn]dash;/--/g; s/\&nbsp;/ /g' \
   | $(SED) 's/\&..quo;/"/g' | base64 --wrap=0
 endef
 

Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.280
retrieving revision 1.281
diff -u -b -r1.280 -r1.281
--- ChangeLog   15 Jun 2012 04:09:32 -0000      1.280
+++ ChangeLog   20 Jun 2012 14:24:58 -0000      1.281
@@ -1,3 +1,9 @@
+2012-06-20  Pavel Kharitonov  <address@hidden>
+
+       * GNUmakefile (extract-title): When extracting titles,
+       substitute `&ndash;' with `--' and `&nbsp;' with ` ';
+       show shorter titles without closing `</h2>' (reported by Yavor).
+
 2012-06-15  Pavel Kharitonov  <address@hidden>
 
        * GNUmakefile (validate-all): Test whether the translated



reply via email to

[Prev in Thread] Current Thread [Next in Thread]