[Slashdotjp-dev 647] CVS update: slashjp/plugins/Journal

Zurück zum Archiv-Index

Tatsuki SUGIURA sugi****@users*****
2006年 11月 20日 (月) 19:32:09 JST


Index: slashjp/plugins/Journal/journal.pl
diff -u slashjp/plugins/Journal/journal.pl:1.17 slashjp/plugins/Journal/journal.pl:1.18
--- slashjp/plugins/Journal/journal.pl:1.17	Tue Oct 24 23:08:15 2006
+++ slashjp/plugins/Journal/journal.pl	Mon Nov 20 19:32:08 2006
@@ -2,7 +2,7 @@
 # This code is a part of Slash, and is released under the GPL.
 # Copyright 1997-2005 by Open Source Technology Group. See README
 # and COPYING for more information, or see http://slashcode.com/.
-# $Id: journal.pl,v 1.17 2006/10/24 14:08:15 sugi Exp $
+# $Id: journal.pl,v 1.18 2006/11/20 10:32:08 sugi Exp $
 
 use strict;
 use Slash 2.003;	# require Slash 2.3.x
@@ -13,7 +13,7 @@
 use Slash::XML;
 use vars qw($VERSION);
 
-($VERSION) = ' $Revision: 1.17 $ ' =~ /\$Revision:\s+([^\s]+)/;
+($VERSION) = ' $Revision: 1.18 $ ' =~ /\$Revision:\s+([^\s]+)/;
 
 sub main {
 	my $journal   = getObject('Slash::Journal');
@@ -244,6 +244,7 @@
 			},
 			title		=> $article->[2],
 			description	=> strip_notags($article->[1]),
+			'content:encoded' =>  balanceTags(strip_mode($article->[1], $article->[4]), { deep_nesting => 1 }),
 			'link'		=> root2abs() . '/~' . fixparam($nickname) . "/journal/$article->[3]",
 		};
 	}


Slashdotjp-dev メーリングリストの案内
Zurück zum Archiv-Index