# HG changeset patch # User František Kučera # Date 1318545906 -7200 # Node ID b5690fc25af6dc29e847e307697ad84788dfa08f # Parent 41d6c0cac8b34dcb79b5f6158127b1876d94fb0d Drupal: XSL šablona pro formátování XHTML části zprávy. diff -r 41d6c0cac8b3 -r b5690fc25af6 .hgignore --- a/.hgignore Thu Oct 13 03:09:22 2011 +0200 +++ b/.hgignore Fri Oct 14 00:45:06 2011 +0200 @@ -1,2 +1,4 @@ syntax: glob build +lib +var diff -r 41d6c0cac8b3 -r b5690fc25af6 bin/sonews.sh --- a/bin/sonews.sh Thu Oct 13 03:09:22 2011 +0200 +++ b/bin/sonews.sh Fri Oct 14 00:45:06 2011 +0200 @@ -1,16 +1,22 @@ #!/bin/bash + +JAVA_HOME="/usr/lib/jvm/java-6-openjdk"; +NEWSROOT="/home/fiki/src/sonews-nntp/sonews-11-dev"; + cd `dirname $0`/.. NEWSROOT=`pwd` -CLASSPATH=$NEWSROOT/lib/sonews.jar:\ -$NEWSROOT/lib/sonews-helpers.jar:\ +CLASSPATH=$NEWSROOT/build/sonews.jar:\ +$NEWSROOT/lib/commons-codec-1.5.jar:\ $NEWSROOT/lib/mysql-connector-java.jar:\ -$NEWSROOT/lib/glassfish-mail.jar:\ -$NEWSROOT/lib/postgresql.jar +$NEWSROOT/lib/javax.mail.jar:\ +$NEWSROOT/lib/postgresql-8.3-604.jdbc4.jar:\ +$NEWSROOT/lib/mysql-connector-java-5.1.7-bin.jar -LOGFILE=/var/log/sonews.log -PIDFILE=/var/pid/sonews.pid +LOGFILE=var/log/sonews.log +PIDFILE=var/pid/sonews.pid ARGS=$@ + MAINCLASS=org.sonews.Main JAVA=$JAVA_HOME/bin/java diff -r 41d6c0cac8b3 -r b5690fc25af6 build.xml --- a/build.xml Thu Oct 13 03:09:22 2011 +0200 +++ b/build.xml Fri Oct 14 00:45:06 2011 +0200 @@ -29,6 +29,10 @@ + + + + diff -r 41d6c0cac8b3 -r b5690fc25af6 helpers/mimeXhtmlPart.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/helpers/mimeXhtmlPart.xsl Fri Oct 14 00:45:06 2011 +0200 @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$title"/> + + + + + +

+
+ + + + + + + +
+ + + + + + + + + + + {@alt} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + končí na $newLinePlaceholder + + + + + + + + + + + + + + + + + + + + + + + + +

+
+
+ +