From svnnotify @ sourceforge.jp Thu May 1 15:04:38 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 15:04:38 +0900 Subject: [Slashdotjp-dev 1092] [619] Fix: slashdot_linux.css syntax error and add slashdot. jp feature to remove underline of comment title Message-ID: <1209621878.872613.6266.nullmailer@users.sourceforge.jp> Revision: 619 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=619 Author: tach Date: 2008-05-01 15:04:38 +0900 (Thu, 01 May 2008) Log Message: ----------- Fix: slashdot_linux.css syntax error and add slashdot.jp feature to remove underline of comment title Modified Paths: -------------- images/Makefile images/css/slashdot_linux.css Added Paths: ----------- images/css/slashdot_linux.css.jp -------------- next part -------------- Modified: images/Makefile =================================================================== --- images/Makefile 2008-04-28 10:30:55 UTC (rev 618) +++ images/Makefile 2008-05-01 06:04:38 UTC (rev 619) @@ -20,7 +20,7 @@ wget --no-proxy --no-host-directories --mirror --no-verbose -i - touch images-stamp -css/slashcode_lite.css css/iestyles.css css/admin.css: %: %.orig %.jp +css/slashcode_lite.css css/iestyles.css css/admin.css css/slashdot_linux.css: %: %.orig %.jp $(csses): %: css/%.css $(sections): %: css/slashdot_%.css $(patsubst %, css/%.css, $(csses)) $(patsubst %,css/slashdot_%.css, $(sections)): %: %.orig @@ -30,6 +30,7 @@ sed -e 's/#articles div.storylinks ul {height: 2.3em; padding: 0 0 0 1em !important; z-index: 100;/#articles div.storylinks ul {height: 2.3em; padding: 0 0 0 1em !important; z-index: 100; }/' | \ sed -e 's/#commentwrap {clear: both;}/* html #commentwrap {clear: both;}/' | \ perl -npe 's/\bfont-family:[^;]+;//' | \ + perl -npe "s/^\/\/.*$$//" | \ perl -npe 's/\bsans-serif\b//' > $@ echo >> $@ if [ -f $@.jp ]; then cat $@.jp >> $@; fi Modified: images/css/slashdot_linux.css =================================================================== --- images/css/slashdot_linux.css 2008-04-28 10:30:55 UTC (rev 618) +++ images/css/slashdot_linux.css 2008-05-01 06:04:38 UTC (rev 619) @@ -18,11 +18,13 @@ .comment > .oneline .commentTop .title h4 a { color: #666; } div.commentSub { border-bottom: 1px solid #666; } -//firehose related css begin + .story, .story a {color: #fff !important;} .story .date, .story a.skin {color: #ffffff !important;} #firehose .article div.tagtitleclosed span span, #firehose .article div.tagtitleopen span span, #firehose .generaltitle h3 a, #firehose div.tags div.tagtitleclosed a, #firehose div.tags div.tagtitleclosed, #firehose div.tags div.tagtitleopen a, #firehose div.tags div.tagtitleopen {color: #000 !important} #firehose div.briefarticle .story div.title h3, #firehose div.briefarticle .story div.title, #firehose div.article .story div.title h3, #firehose div.article .story div.title, .firemenu div.title, .firemenu div.title h3 { background: #000 url(//images.slashdot.jp/article-title-bg-linux.png) repeat-x left top !important} #firehose .story .generaltitle .title a { color: #fff !important; } -// firehose related css end + + +a { text-decoration: none; } Added: images/css/slashdot_linux.css.jp =================================================================== --- images/css/slashdot_linux.css.jp (rev 0) +++ images/css/slashdot_linux.css.jp 2008-05-01 06:04:38 UTC (rev 619) @@ -0,0 +1 @@ +a { text-decoration: none; } From svnnotify @ sourceforge.jp Thu May 1 15:07:45 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 15:07:45 +0900 Subject: [Slashdotjp-dev 1093] [620] update by new Makefile Message-ID: <1209622065.634296.8082.nullmailer@users.sourceforge.jp> Revision: 620 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=620 Author: tach Date: 2008-05-01 15:07:45 +0900 (Thu, 01 May 2008) Log Message: ----------- update by new Makefile Modified Paths: -------------- images/css/admin-topic-popup.css images/css/admin.css images/css/calendar.css images/css/comments.css images/css/core-tidied.css images/css/firehose.css images/css/handheld.css images/css/iestyles.css images/css/polls.css images/css/print.css images/css/search.css images/css/slashcode_lite.css images/css/slashcode_low_bw.css images/css/slashdot_apple.css images/css/slashdot_ask.css images/css/slashdot_books.css images/css/slashdot_developer.css images/css/slashdot_games.css images/css/slashdot_hardware.css images/css/slashdot_it.css images/css/slashdot_mobile.css images/css/slashdot_politics.css images/css/slashdot_yro.css -------------- next part -------------- Modified: images/css/admin-topic-popup.css =================================================================== --- images/css/admin-topic-popup.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/admin-topic-popup.css 2008-05-01 06:07:45 UTC (rev 620) @@ -69,4 +69,4 @@ padding-bottom: 10px; } -#st-display a.topic_sel { color: #FFFFFF; } \ No newline at end of file +#st-display a.topic_sel { color: #FFFFFF; } Modified: images/css/admin.css =================================================================== --- images/css/admin.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/admin.css 2008-05-01 06:07:45 UTC (rev 620) @@ -208,6 +208,7 @@ #simstories, #articles .note {margin: 0 0 1em 0; background: transparent; padding: 0 19em 0 1em;} tr.data_head {background: #ddd; } + /* Fixed admin menu */ div#adminmenu { background: transparent url(//images.slashdot.jp/storylinks-bg.png) repeat-x scroll left bottom; Modified: images/css/calendar.css =================================================================== --- images/css/calendar.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/calendar.css 2008-05-01 06:07:45 UTC (rev 620) @@ -312,3 +312,4 @@ /* Specific changes for calendar running under fonts/reset */ .yui-calendar .calbody a:hover {background:inherit;} p#clear {clear:left; padding-top:10px;} + Modified: images/css/comments.css =================================================================== --- images/css/comments.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/comments.css 2008-05-01 06:07:45 UTC (rev 620) @@ -375,3 +375,4 @@ .horizontal #ccw-hide-bar-tab { border-top-width: 1px; border-left: none; } iframe {border: none; overflow: hidden} + Modified: images/css/core-tidied.css =================================================================== --- images/css/core-tidied.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/core-tidied.css 2008-05-01 06:07:45 UTC (rev 620) @@ -1113,3 +1113,4 @@ position: absolute; background: url('//images.slashdot.jp/sic_icons.png') no-repeat 0px -1599px; } + Modified: images/css/firehose.css =================================================================== --- images/css/firehose.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/firehose.css 2008-05-01 06:07:45 UTC (rev 620) @@ -452,3 +452,4 @@ .briefarticle .storylinks .comments.nocomment, .briefarticle .storylinks .comments span {display: none} .embed .paginate, .embed .firemenu, .embed a.skin, .copyright.embed { display: none; } + Modified: images/css/handheld.css =================================================================== --- images/css/handheld.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/handheld.css 2008-05-01 06:07:45 UTC (rev 620) @@ -66,3 +66,4 @@ a, a:visited, .btmnav ul li a, .btmnav ul li a:visited { color: #00e; } .ccw-upzone, .ccw-downzone { display: block; position: absolute; } + Modified: images/css/iestyles.css =================================================================== --- images/css/iestyles.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/iestyles.css 2008-05-01 06:07:45 UTC (rev 620) @@ -138,6 +138,7 @@ + /* Override iestyles.css for slashdot.jp */ * html body { Modified: images/css/polls.css =================================================================== --- images/css/polls.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/polls.css 2008-05-01 06:07:45 UTC (rev 620) @@ -45,3 +45,4 @@ } #pollBooth .generalbody table {width: 80%; margin: 0 0 1em 10%} #pollBooth .generalbody caption {margin-left: 10%} + Modified: images/css/print.css =================================================================== --- images/css/print.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/print.css 2008-05-01 06:07:45 UTC (rev 620) @@ -70,3 +70,4 @@ #footer, #footer .rightcontent { text-align: center; } + Modified: images/css/search.css =================================================================== --- images/css/search.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/search.css 2008-05-01 06:07:45 UTC (rev 620) @@ -26,3 +26,4 @@ font-size: 80%; margin: 0 0 1em 0; } + Modified: images/css/slashcode_lite.css =================================================================== --- images/css/slashcode_lite.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashcode_lite.css 2008-05-01 06:07:45 UTC (rev 620) @@ -156,6 +156,7 @@ { background: #ddd !important;} + /* Override slashcode_lite.css for slashdot.jp */ div#firehose div.story div.generaltitle div.title a { Modified: images/css/slashcode_low_bw.css =================================================================== --- images/css/slashcode_low_bw.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashcode_low_bw.css 2008-05-01 06:07:45 UTC (rev 620) @@ -11,3 +11,4 @@ { margin: 0 .3em 1em 0; } + Modified: images/css/slashdot_apple.css =================================================================== --- images/css/slashdot_apple.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_apple.css 2008-05-01 06:07:45 UTC (rev 620) @@ -16,10 +16,11 @@ .comment > .oneline .commentTop .title h4 a { color: #06c; } div.commentSub { border-bottom: 1px solid #06c; } -//firehose related css begin + .story, .story a {color: #fff !important;} .story .date {color: #747d8c !important;} #firehose .article div.tagtitleclosed span span, #firehose .article div.tagtitleopen span span, #firehose .generaltitle h3 a, #firehose div.tags div.tagtitleclosed a, #firehose div.tags div.tagtitleclosed, #firehose div.tags div.tagtitleopen a, #firehose div.tags div.tagtitleopen, {color: #06c !important} div.briefarticle .story div.title h3, div.briefarticle .story div.title, div.article .story div.title h3, div.article .story div.title, .firemenu div.title, .firemenu div.title h3 { background: #000 url(//images.slashdot.jp/article-title-bg-apple.png) repeat-x left top !important} -// firehose related css end + + Modified: images/css/slashdot_ask.css =================================================================== --- images/css/slashdot_ask.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_ask.css 2008-05-01 06:07:45 UTC (rev 620) @@ -15,9 +15,10 @@ div.article div.title span a { color: #eee; } .comment > .oneline .commentTop .title h4 a { color: #666; } -//firehose related css begin + .story, .story a {color: #fff !important;} .story .date, .story a.skin {color: #ffffff !important;} div.briefarticle .story div.title h3, div.briefarticle .story div.title, div.article .story div.title h3, div.article .story div.title, .firemenu div.title, .firemenu div.title h3 { background: #666 url(//images.slashdot.jp/block-title-bg.pnh) repeat-x left top !important} -// firehose related css end + + Modified: images/css/slashdot_books.css =================================================================== --- images/css/slashdot_books.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_books.css 2008-05-01 06:07:45 UTC (rev 620) @@ -18,3 +18,4 @@ color: #000; font-weight: normal; } + Modified: images/css/slashdot_developer.css =================================================================== --- images/css/slashdot_developer.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_developer.css 2008-05-01 06:07:45 UTC (rev 620) @@ -18,12 +18,13 @@ .comment > .oneline .commentTop .title h4 a { color: #369; } div.commentSub { border-bottom: 1px solid #369; } -//firehose related css begin + .story, .story a {color: #fff !important;} .story .date, .story a.skin {color: #ffffff !important;} #firehose .article div.tagtitleclosed span span, #firehose .article div.tagtitleopen span span, #firehose div.tags div.tagtitleclosed a, #firehose div.tags div.tagtitleclosed, #firehose div.tags div.tagtitleopen a, #firehose div.tags div.tagtitleopen {color: #369 !important} div.briefarticle .story div.title h3, div.briefarticle .story div.title, div.article .story div.title h3, div.article .story div.title, .firemenu div.title, .firemenu div.title h3 { background: #369 url(//images.slashdot.jp/article-title-bg-dev.png) repeat-x left top !important} .story .generaltitle .title a { color: #fff !important; } -// firehose related css end + + Modified: images/css/slashdot_games.css =================================================================== --- images/css/slashdot_games.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_games.css 2008-05-01 06:07:45 UTC (rev 620) @@ -15,11 +15,12 @@ div.commentSub { border-bottom: 1px solid #30c; } -//firehose related css begin + .story, .story a {color: #fff !important;} .story .date, .story a.skin {color: #ffffff !important;} #firehose .article div.tagtitleclosed span span, #firehose .article div.tagtitleopen span span, #firehose div.tags div.tagtitleclosed a, #firehose div.tags div.tagtitleclosed, #firehose div.tags div.tagtitleopen a, #firehose div.tags div.tagtitleopen {color: #30c !important} div.briefarticle .story div.title h3, div.briefarticle .story div.title, div.article .story div.title h3, div.article .story div.title, .firemenu div.title, .firemenu div.title h3 { background: #004 url(//images.slashdot.jp/article-title-bg-games.png) repeat-x left top !important} .story .generaltitle .title a { color: #fff !important; } -// firehose related css end + + Modified: images/css/slashdot_hardware.css =================================================================== --- images/css/slashdot_hardware.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_hardware.css 2008-05-01 06:07:45 UTC (rev 620) @@ -14,3 +14,4 @@ .data_head, .barColor, .tb_col, .thor .commentControlFooter { background: #044; } .date_head { color: #fff; } div.commentSub { border-bottom: 1px solid #044; } + Modified: images/css/slashdot_it.css =================================================================== --- images/css/slashdot_it.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_it.css 2008-05-01 06:07:45 UTC (rev 620) @@ -32,11 +32,12 @@ div.commentSub { border-bottom: 1px solid #898163; } -//firehose related css begin + .story, .story a {color: #fff !important;} .story .date, .story a.skin {color: #ffffff !important;} #firehose .article div.tagtitleclosed span span, #firehose .article div.tagtitleopen span span, #firehose .generaltitle h3 a, #firehose div.tags div.tagtitleclosed a, #firehose div.tags div.tagtitleclosed, #firehose div.tags div.tagtitleopen a, #firehose div.tags div.tagtitleopen {color: #898163 !important} #firehose div.briefarticle .story div.title h3, #firehose div.briefarticle .story div.title, #firehose div.article .story div.title h3, #firehose div.article .story div.title, .firemenu div.title, .firemenu div.title h3 { background: #004 url(//images.slashdot.jp/article-title-bg-it.png) repeat-x left top !important} #firehose .story .generaltitle .title a { color: #fff !important; } -// firehose related css end + + Modified: images/css/slashdot_mobile.css =================================================================== --- images/css/slashdot_mobile.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_mobile.css 2008-05-01 06:07:45 UTC (rev 620) @@ -1 +1,2 @@ div#topnav div#logo h1 a { background: url(//images.slashdot.jp/logo-mobile.png) no-repeat left top; } + Modified: images/css/slashdot_politics.css =================================================================== --- images/css/slashdot_politics.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_politics.css 2008-05-01 06:07:45 UTC (rev 620) @@ -18,11 +18,12 @@ div.commentSub { border-bottom: 1px solid #061b46; } -//firehose related css begin + .story, .story a {color: #fff !important;} .story .date, .story a.skin {color: #ffffff !important;} #firehose .article div.tagtitleclosed span span, #firehose .article div.tagtitleopen span span, #firehose div.tags div.tagtitleclosed a, #firehose div.tags div.tagtitleclosed, #firehose div.tags div.tagtitleopen a, #firehose div.tags div.tagtitleopen {color: #061b46 !important} div.briefarticle .story div.title h3, div.briefarticle .story div.title, div.article .story div.title h3, div.article .story div.title, .firemenu div.title, .firemenu div.title h3 { background: #061b46 url(//images.slashdot.jp/article-title-bg-politics.png) repeat-x left top !important} .story .generaltitle .title a { color: #fff !important; } -// firehose related css end + + Modified: images/css/slashdot_yro.css =================================================================== --- images/css/slashdot_yro.css 2008-05-01 06:04:38 UTC (rev 619) +++ images/css/slashdot_yro.css 2008-05-01 06:07:45 UTC (rev 620) @@ -32,11 +32,12 @@ .date_head { color: #fff; } .comment > .oneline .commentTop .title h4 a { color: #630; } div.commentSub { border-bottom: 1px solid #630; } -//firehose related css begin + .story, .story a {color: #fff !important;} .story .date, .story a.skin {color: #ffffff !important;} #firehose .article div.tagtitleclosed span span, #firehose .article div.tagtitleopen span span, #firehose .firehose .generaltitle h3 a, #firehose div.tags div.tagtitleclosed a, #firehose div.tags div.tagtitleclosed, #firehose div.tags div.tagtitleopen a, #firehose div.tags div.tagtitleopen {color: #630 !important} div.briefarticle .story div.title h3, div.briefarticle .story div.title, div.article .story div.title h3, div.article .story div.title, .firemenu div.title, .firemenu div.title h3 { background: #004 url(//images.slashdot.jp/article-title-bg-yro.png) repeat-x left top !important} .story .generaltitle .title a { color: #fff !important; } -// firehose related css end + + From svnnotify @ sourceforge.jp Thu May 1 17:05:41 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 17:05:41 +0900 Subject: [Slashdotjp-dev 1094] [621] add attribute selecter Message-ID: <1209629141.280221.7421.nullmailer@users.sourceforge.jp> Revision: 621 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=621 Author: tach Date: 2008-05-01 17:05:41 +0900 (Thu, 01 May 2008) Log Message: ----------- add attribute selecter Modified Paths: -------------- images/css/slashdot_linux.css images/css/slashdot_linux.css.jp -------------- next part -------------- Modified: images/css/slashdot_linux.css =================================================================== --- images/css/slashdot_linux.css 2008-05-01 06:07:45 UTC (rev 620) +++ images/css/slashdot_linux.css 2008-05-01 08:05:41 UTC (rev 621) @@ -27,4 +27,4 @@ #firehose .story .generaltitle .title a { color: #fff !important; } -a { text-decoration: none; } +a[name] { text-decoration: none; } Modified: images/css/slashdot_linux.css.jp =================================================================== --- images/css/slashdot_linux.css.jp 2008-05-01 06:07:45 UTC (rev 620) +++ images/css/slashdot_linux.css.jp 2008-05-01 08:05:41 UTC (rev 621) @@ -1 +1 @@ -a { text-decoration: none; } +a[name] { text-decoration: none; } From svnnotify @ sourceforge.jp Thu May 1 17:42:14 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 17:42:14 +0900 Subject: [Slashdotjp-dev 1095] [622] add "li.comment .title h4 a" for IE6 Message-ID: <1209631334.582254.3209.nullmailer@users.sourceforge.jp> Revision: 622 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=622 Author: tach Date: 2008-05-01 17:42:14 +0900 (Thu, 01 May 2008) Log Message: ----------- add "li.comment .title h4 a" for IE6 Modified Paths: -------------- images/css/slashdot_linux.css images/css/slashdot_linux.css.jp -------------- next part -------------- Modified: images/css/slashdot_linux.css =================================================================== --- images/css/slashdot_linux.css 2008-05-01 08:05:41 UTC (rev 621) +++ images/css/slashdot_linux.css 2008-05-01 08:42:14 UTC (rev 622) @@ -27,4 +27,7 @@ #firehose .story .generaltitle .title a { color: #fff !important; } -a[name] { text-decoration: none; } +li.comment .title h4 a, +a[name] { + text-decoration: none; +} Modified: images/css/slashdot_linux.css.jp =================================================================== --- images/css/slashdot_linux.css.jp 2008-05-01 08:05:41 UTC (rev 621) +++ images/css/slashdot_linux.css.jp 2008-05-01 08:42:14 UTC (rev 622) @@ -1 +1,4 @@ -a[name] { text-decoration: none; } +li.comment .title h4 a, +a[name] { + text-decoration: none; +} From svnnotify @ sourceforge.jp Thu May 1 17:48:57 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 17:48:57 +0900 Subject: [Slashdotjp-dev 1096] [623] add "remove attribute selecter Message-ID: <1209631737.926571.8520.nullmailer@users.sourceforge.jp> Revision: 623 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=623 Author: tach Date: 2008-05-01 17:48:57 +0900 (Thu, 01 May 2008) Log Message: ----------- add "remove attribute selecter Modified Paths: -------------- images/css/slashdot_linux.css images/css/slashdot_linux.css.jp -------------- next part -------------- Modified: images/css/slashdot_linux.css =================================================================== --- images/css/slashdot_linux.css 2008-05-01 08:42:14 UTC (rev 622) +++ images/css/slashdot_linux.css 2008-05-01 08:48:57 UTC (rev 623) @@ -27,7 +27,7 @@ #firehose .story .generaltitle .title a { color: #fff !important; } -li.comment .title h4 a, -a[name] { +li.comment .title h4 a +{ text-decoration: none; } Modified: images/css/slashdot_linux.css.jp =================================================================== --- images/css/slashdot_linux.css.jp 2008-05-01 08:42:14 UTC (rev 622) +++ images/css/slashdot_linux.css.jp 2008-05-01 08:48:57 UTC (rev 623) @@ -1,4 +1,4 @@ -li.comment .title h4 a, -a[name] { +li.comment .title h4 a +{ text-decoration: none; } From svnnotify @ sourceforge.jp Thu May 1 18:34:31 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 18:34:31 +0900 Subject: [Slashdotjp-dev 1097] [624] * Change RSS item description suffix Message-ID: <1209634471.638077.15051.nullmailer@users.sourceforge.jp> Revision: 624 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=624 Author: tach Date: 2008-05-01 18:34:31 +0900 (Thu, 01 May 2008) Log Message: ----------- * Change RSS item description suffix - use template "rss_item_description;misc;default" to change description Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm slashjp/branches/2.5.0.192/debian/changelog Added Paths: ----------- slashjp/branches/2.5.0.192/themes/slashcode/templates/rss_item_description;misc;default -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm 2008-05-01 08:48:57 UTC (rev 623) +++ slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm 2008-05-01 09:34:31 UTC (rev 624) @@ -28,6 +28,7 @@ use strict; use Slash; use Slash::Utility; +use Slash::Display; use XML::RSS; use base 'Slash::XML'; use vars qw($VERSION); @@ -453,8 +454,11 @@ if ($version >= 1.0) { my $desc = $self->rss_item_description($item->{description} || $story->{introtext}); if ($desc) { - $encoded_item->{description} = $desc; - $encoded_item->{description} .= "

Read more of this story at $constants->{sitename}.

" if $action; + $encoded_item->{description} = slashDisplay("rss_item_description", { + desc => $desc, + more => $story->{bodytext}, + link => $action, + }, { Return => 1, Nocomm => 1 }); # add poll if any $encoded_item->{description} .= pollbooth($story->{qid},1, 0, 1) if $story->{qid}; } Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-05-01 08:48:57 UTC (rev 623) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-05-01 09:34:31 UTC (rev 624) @@ -1,3 +1,10 @@ +slash (2.5.0.192-11) unstable; urgency=low + + * Change RSS item description suffix + - use template "rss_item_description;misc;default" to change description + + -- Taku YASUI Thu, 1 May 2008 09:33:34 +0000 + slash (2.5.0.192-10) unstable; urgency=low * Fix to take discussion id from journal-submission Added: slashjp/branches/2.5.0.192/themes/slashcode/templates/rss_item_description;misc;default =================================================================== --- slashjp/branches/2.5.0.192/themes/slashcode/templates/rss_item_description;misc;default (rev 0) +++ slashjp/branches/2.5.0.192/themes/slashcode/templates/rss_item_description;misc;default 2008-05-01 09:34:31 UTC (rev 624) @@ -0,0 +1,29 @@ +__skin__ +default +__description__ +これがそのまま description に入り、XML::RSS モジュールに渡される + + * desc - description 本文 + * more - 本文に続きがあるときにはその続き + * link - URL + * comment_link - コメントを書くときの URL +__title__ +RSS アイテムの description +__page__ +misc +__lang__ +en_US +__name__ +rss_item_description +__template__ +[% desc %][% IF link %] +

+[% IF more && more.length > 0; "続きの" _ more.length _ "バイトを読む..."; ELSE; "続きを読む..."; END %] +[% IF comment_link %] | コメントする[% END %] +

[% END %] + + +__seclev__ +10000 +__version__ + From svnnotify @ sourceforge.jp Thu May 1 21:06:36 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 21:06:36 +0900 Subject: [Slashdotjp-dev 1098] [625] * Add feature to change whether nexus topics will be shown or not on topic Message-ID: <1209643596.808077.2351.nullmailer@users.sourceforge.jp> Revision: 625 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=625 Author: tach Date: 2008-05-01 21:06:36 +0900 (Thu, 01 May 2008) Log Message: ----------- * Add feature to change whether nexus topics will be shown or not on topic list - use $constants->{topiclist_dont_show_nexuses} Modified Paths: -------------- slashjp/branches/2.5.0.192/debian/changelog slashjp/branches/2.5.0.192/sql/mysql/defaults.sql slashjp/branches/2.5.0.192/themes/slashcode/htdocs/topics.pl -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-05-01 09:34:31 UTC (rev 624) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-05-01 12:06:36 UTC (rev 625) @@ -2,8 +2,11 @@ * Change RSS item description suffix - use template "rss_item_description;misc;default" to change description + * Add feature to change whether nexus topics will be shown or not on topic + list + - use $constants->{topiclist_dont_show_nexuses} - -- Taku YASUI Thu, 1 May 2008 09:33:34 +0000 + -- Taku YASUI Thu, 1 May 2008 12:05:31 +0000 slash (2.5.0.192-10) unstable; urgency=low Modified: slashjp/branches/2.5.0.192/sql/mysql/defaults.sql =================================================================== --- slashjp/branches/2.5.0.192/sql/mysql/defaults.sql 2008-05-01 09:34:31 UTC (rev 624) +++ slashjp/branches/2.5.0.192/sql/mysql/defaults.sql 2008-05-01 12:06:36 UTC (rev 625) @@ -1142,6 +1142,7 @@ INSERT IGNORE INTO vars (name, value, description) VALUES ('rss_use_story_shtml','0','Use ${sid}.shtml for RSS/RDF link'); INSERT IGNORE INTO vars (name, value, description) VALUES ('update_journal_story_discussion_to_story','0','Update discussion of journal-story title/url to story title/url'); INSERT IGNORE INTO vars (name, value, description) VALUES ('firehose_disable_to_show_publicized_journals','1','Do not show publicized(story-submitted) journals as firehose item'); +INSERT IGNORE INTO vars (name, value, description) VALUES ('topiclist_dont_show_nexuses','1','Do not show nexus topics on topic list'); UPDATE vars SET value='text/html; charset=UTF-8' WHERE name='content_type_webpage'; UPDATE vars SET value='0' WHERE name='draconian_charset'; UPDATE vars SET value='UTF-8' WHERE name='rdfencoding'; Modified: slashjp/branches/2.5.0.192/themes/slashcode/htdocs/topics.pl =================================================================== --- slashjp/branches/2.5.0.192/themes/slashcode/htdocs/topics.pl 2008-05-01 09:34:31 UTC (rev 624) +++ slashjp/branches/2.5.0.192/themes/slashcode/htdocs/topics.pl 2008-05-01 12:06:36 UTC (rev 625) @@ -67,6 +67,10 @@ $topics = \%new_topics; } + foreach my $id ($reader->getNexusTids()) { + delete($topics->{$id}) if ($constants->{topiclist_dont_show_nexuses}); + } + slashDisplay('listTopics', { title => getData('current_topics'), width => '90%', From svnnotify @ sourceforge.jp Thu May 1 23:30:15 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 23:30:15 +0900 Subject: [Slashdotjp-dev 1099] [626] * Add feature to change automatic tag stories to use topic. textname instead Message-ID: <1209652215.185044.24488.nullmailer@users.sourceforge.jp> Revision: 626 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=626 Author: tach Date: 2008-05-01 23:30:14 +0900 (Thu, 01 May 2008) Log Message: ----------- * Add feature to change automatic tag stories to use topic.textname instead of topic.keyword - use $constants->{autoaddstorytopics_use_textname} Modified Paths: -------------- slashjp/branches/2.5.0.192/debian/changelog slashjp/branches/2.5.0.192/plugins/Admin/admin.pl slashjp/branches/2.5.0.192/plugins/Tags/mysql_dump.sql -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-05-01 12:06:36 UTC (rev 625) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-05-01 14:30:14 UTC (rev 626) @@ -5,8 +5,11 @@ * Add feature to change whether nexus topics will be shown or not on topic list - use $constants->{topiclist_dont_show_nexuses} + * Add feature to change automatic tag stories to use topic.textname instead + of topic.keyword + - use $constants->{autoaddstorytopics_use_textname} - -- Taku YASUI Thu, 1 May 2008 12:05:31 +0000 + -- Taku YASUI Thu, 1 May 2008 14:27:42 +0000 slash (2.5.0.192-10) unstable; urgency=low Modified: slashjp/branches/2.5.0.192/plugins/Admin/admin.pl =================================================================== --- slashjp/branches/2.5.0.192/plugins/Admin/admin.pl 2008-05-01 12:06:36 UTC (rev 625) +++ slashjp/branches/2.5.0.192/plugins/Admin/admin.pl 2008-05-01 14:30:14 UTC (rev 626) @@ -2542,7 +2542,7 @@ for my $tid (keys %$chosen_hr) { next unless $chosen_hr->{$tid} > 0; # must have weight next unless $tree->{$tid}{image}; # must have an image - my $kw = $tree->{$tid}{keyword}; + my $kw = $constants->{autoaddstorytopics_use_textname} ? $tree->{$tid}{textname} : $tree->{$tid}{keyword}; next unless $tagsdb->tagnameSyntaxOK($kw); # must be a valid tagname $tt{$kw} = 1; } Modified: slashjp/branches/2.5.0.192/plugins/Tags/mysql_dump.sql =================================================================== --- slashjp/branches/2.5.0.192/plugins/Tags/mysql_dump.sql 2008-05-01 12:06:36 UTC (rev 625) +++ slashjp/branches/2.5.0.192/plugins/Tags/mysql_dump.sql 2008-05-01 14:30:14 UTC (rev 626) @@ -53,3 +53,5 @@ #INSERT INTO tagboxes VALUES (NULL, 'tag_count', 'user', '1.0', 0, NULL); +-- for slashdot.jp +INSERT IGNORE INTO vars (name, value, description) VALUES ('autoaddstorytopics_use_textname', '1', 'Use "textname" instead of "keyword" for Auto-add tags for story topic'); From svnnotify @ sourceforge.jp Thu May 1 23:53:10 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 01 May 2008 23:53:10 +0900 Subject: [Slashdotjp-dev 1100] [627] [svn-buildpackage] Tagging slash (2.5.0.192-11) Message-ID: <1209653590.829796.6387.nullmailer@users.sourceforge.jp> Revision: 627 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=627 Author: tach Date: 2008-05-01 23:53:10 +0900 (Thu, 01 May 2008) Log Message: ----------- [svn-buildpackage] Tagging slash (2.5.0.192-11) Added Paths: ----------- slashjp/tags/2.5.0.192-11/ -------------- next part -------------- Copied: slashjp/tags/2.5.0.192-11 (from rev 626, slashjp/branches/2.5.0.192) From svnnotify @ sourceforge.jp Thu May 8 18:44:36 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 08 May 2008 18:44:36 +0900 Subject: [Slashdotjp-dev 1101] [628] * Add mobile mode Message-ID: <1210239876.428871.31140.nullmailer@users.sourceforge.jp> Revision: 628 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=628 Author: tach Date: 2008-05-08 18:44:36 +0900 (Thu, 08 May 2008) Log Message: ----------- * Add mobile mode - Use "mobile_enabled" constant to use mobile mode - force mobile mode when the user-agent matches "mobile_useragent_regex" or URL arg includes "m=1" - getCurrentUser('mobile') is true when mobile mode has been enabled Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/DB/MySQL/MySQL.pm slashjp/branches/2.5.0.192/Slash/Display/Display.pm slashjp/branches/2.5.0.192/Slash/Utility/Environment/Environment.pm slashjp/branches/2.5.0.192/debian/changelog slashjp/branches/2.5.0.192/sql/mysql/defaults.sql -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/DB/MySQL/MySQL.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/DB/MySQL/MySQL.pm 2008-05-01 14:53:10 UTC (rev 627) +++ slashjp/branches/2.5.0.192/Slash/DB/MySQL/MySQL.pm 2008-05-08 09:44:36 UTC (rev 628) @@ -541,6 +541,9 @@ my $theme = $user->{simpledesign} ? "light" : $user->{css_theme}; my $constants = getCurrentStatic(); + # force mobile theme + $theme = 'mobile' if ($user->{mobile}); + my $expire_time = $constants->{css_expire} || 3600; $expire_time += int(rand(60)) if $expire_time; _genericCacheRefresh($self, 'css', $expire_time); @@ -9486,6 +9489,9 @@ $skin ||= 'default'; } + # change to mobile skin + $skin = 'm' if (getCurrentUser('mobile')); + #Now, lets figure out the id #name|page|skin => name|page|default => name|misc|skin => name|misc|default # That frat boy march with a paddle Modified: slashjp/branches/2.5.0.192/Slash/Display/Display.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/Display/Display.pm 2008-05-01 14:53:10 UTC (rev 627) +++ slashjp/branches/2.5.0.192/Slash/Display/Display.pm 2008-05-08 09:44:36 UTC (rev 628) @@ -227,6 +227,7 @@ my $show_comm = $constants->{template_show_comments} ? 1 : 0; $show_comm &&= 0 if $opt->{Nocomm} && $constants->{template_show_comments} < 2; + $show_comm &&= 0 if $user->{mobile} && $constants->{template_show_comments} < 2; $out = "\n\n\n\n$out\n\n\n\n" if $show_comm; Modified: slashjp/branches/2.5.0.192/Slash/Utility/Environment/Environment.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/Utility/Environment/Environment.pm 2008-05-01 14:53:10 UTC (rev 627) +++ slashjp/branches/2.5.0.192/Slash/Utility/Environment/Environment.pm 2008-05-08 09:44:36 UTC (rev 628) @@ -1624,6 +1624,19 @@ } $constants->{tweak_japanese} and $user->{aton} = ''; + # mobile theme for slashdot.jp + if ($constants->{mobile_enabled}) { +#print STDERR $r->header_in('user-agent') . " =~ $constants->{mobile_useragent_regex}\n"; + if ($constants->{mobile_useragent_regex} && + $r->header_in('user-agent') =~ $constants->{mobile_useragent_regex}) { + $user->{mobile} = 1; +#print STDERR "MOBILE SKIN MATCH: " . $r->header_in('user-agent') . "\n"; + } elsif ($r->args() =~ m{\bm=[1-9a-zA-Z]}) { + $user->{mobile} = 1; +#print STDERR "FORCE MOBILE MODE: " . $r->args() . "\n"; + } + } + if ($uri =~ m[^/$]) { $user->{currentPage} = 'index'; } elsif ($uri =~ m{\b([^/]+)\.pl\b}) { Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-05-01 14:53:10 UTC (rev 627) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-05-08 09:44:36 UTC (rev 628) @@ -1,3 +1,13 @@ +slash (2.5.0.192-12) unstable; urgency=low + + * Add mobile mode + - Use "mobile_enabled" constant to use mobile mode + - force mobile mode when the user-agent matches "mobile_useragent_regex" + or URL arg includes "m=1" + - getCurrentUser('mobile') is true when mobile mode has been enabled + + -- Taku YASUI Thu, 8 May 2008 09:30:11 +0000 + slash (2.5.0.192-11) unstable; urgency=low * Change RSS item description suffix Modified: slashjp/branches/2.5.0.192/sql/mysql/defaults.sql =================================================================== --- slashjp/branches/2.5.0.192/sql/mysql/defaults.sql 2008-05-01 14:53:10 UTC (rev 627) +++ slashjp/branches/2.5.0.192/sql/mysql/defaults.sql 2008-05-08 09:44:36 UTC (rev 628) @@ -1143,6 +1143,8 @@ INSERT IGNORE INTO vars (name, value, description) VALUES ('update_journal_story_discussion_to_story','0','Update discussion of journal-story title/url to story title/url'); INSERT IGNORE INTO vars (name, value, description) VALUES ('firehose_disable_to_show_publicized_journals','1','Do not show publicized(story-submitted) journals as firehose item'); INSERT IGNORE INTO vars (name, value, description) VALUES ('topiclist_dont_show_nexuses','1','Do not show nexus topics on topic list'); +INSERT IGNORE INTO vars (name, value, description) VALUES ('mobile_enabled','0','Use mobile mode (1: enable, 0: disable)'); +INSERT IGNORE INTO vars (name, value, description) VALUES ('mobile_useragent_regex','','User-Agent regex to force mobile mode'); UPDATE vars SET value='text/html; charset=UTF-8' WHERE name='content_type_webpage'; UPDATE vars SET value='0' WHERE name='draconian_charset'; UPDATE vars SET value='UTF-8' WHERE name='rdfencoding'; From svnnotify @ sourceforge.jp Thu May 8 21:22:02 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 08 May 2008 21:22:02 +0900 Subject: [Slashdotjp-dev 1102] [629] add robots.txt Message-ID: <1210249322.910070.19986.nullmailer@users.sourceforge.jp> Revision: 629 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=629 Author: tach Date: 2008-05-08 21:22:02 +0900 (Thu, 08 May 2008) Log Message: ----------- add robots.txt Added Paths: ----------- images/robots.txt -------------- next part -------------- Added: images/robots.txt =================================================================== --- images/robots.txt (rev 0) +++ images/robots.txt 2008-05-08 12:22:02 UTC (rev 629) @@ -0,0 +1,64 @@ +# robots.txt for slashdot.jp +# $Id: robots.txt,v 1.5 2003/08/29 15:21:08 jamie Exp $ +# +# "Any empty [Disallow] value, indicates that all URLs can be retrieved. +# At least one Disallow field needs to be present in a record." + +User-agent: Mediapartners-Google +Disallow: + +User-agent: Googlebot +Crawl-delay: 100 +Disallow: /firehose.pl +Disallow: /submit.pl +Disallow: /users.pl +Disallow: /zoo.pl +Disallow: firehose.pl +Disallow: submit.pl +Disallow: users.pl +Disallow: zoo.pl + +User-agent: Slurp +Crawl-delay: 100 +Disallow: + +User-agent: Yahoo-NewsCrawler +Disallow: + +User-Agent: msnbot +Crawl-delay: 100 +Disallow: + +User-agent: * +Crawl-delay: 100 +Disallow: /authors.pl +Disallow: /index.pl +Disallow: /article.pl +Disallow: /comments.pl +Disallow: /firehose.pl +Disallow: /journal.pl +Disallow: /messages.pl +Disallow: /metamod.pl +Disallow: /users.pl +Disallow: /search.pl +Disallow: /submit.pl +Disallow: /pollBooth.pl +Disallow: /pubkey.pl +Disallow: /topics.pl +Disallow: /zoo.pl +Disallow: authors.pl +Disallow: index.pl +Disallow: article.pl +Disallow: comments.pl +Disallow: firehose.pl +Disallow: journal.pl +Disallow: messages.pl +Disallow: metamod.pl +Disallow: users.pl +Disallow: search.pl +Disallow: submit.pl +Disallow: pollBooth.pl +Disallow: pubkey.pl +Disallow: topics.pl +Disallow: zoo.pl +Disallow: /i From svnnotify @ sourceforge.jp Thu May 8 21:22:21 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 08 May 2008 21:22:21 +0900 Subject: [Slashdotjp-dev 1103] [630] fix search result view Message-ID: <1210249341.903706.20244.nullmailer@users.sourceforge.jp> Revision: 630 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=630 Author: tach Date: 2008-05-08 21:22:21 +0900 (Thu, 08 May 2008) Log Message: ----------- fix search result view Modified Paths: -------------- images/css/slashdotjp.css -------------- next part -------------- Modified: images/css/slashdotjp.css =================================================================== --- images/css/slashdotjp.css 2008-05-08 12:22:02 UTC (rev 629) +++ images/css/slashdotjp.css 2008-05-08 12:22:21 UTC (rev 630) @@ -194,7 +194,8 @@ } div.search-results { - margin: 5px; + margin: 1.2em 5px; + line-height: 1.5; } .search-results .intro { From svnnotify @ sourceforge.jp Thu May 8 21:28:11 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Thu, 08 May 2008 21:28:11 +0900 Subject: [Slashdotjp-dev 1104] [631] add some disallow Message-ID: <1210249691.651680.24438.nullmailer@users.sourceforge.jp> Revision: 631 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=631 Author: tach Date: 2008-05-08 21:28:11 +0900 (Thu, 08 May 2008) Log Message: ----------- add some disallow Modified Paths: -------------- images/robots.txt Property Changed: ---------------- images/robots.txt -------------- next part -------------- Modified: images/robots.txt =================================================================== --- images/robots.txt 2008-05-08 12:22:21 UTC (rev 630) +++ images/robots.txt 2008-05-08 12:28:11 UTC (rev 631) @@ -1,5 +1,5 @@ # robots.txt for slashdot.jp -# $Id: robots.txt,v 1.5 2003/08/29 15:21:08 jamie Exp $ +# $Id$ # # "Any empty [Disallow] value, indicates that all URLs can be retrieved. # At least one Disallow field needs to be present in a record." @@ -20,14 +20,35 @@ User-agent: Slurp Crawl-delay: 100 -Disallow: +Disallow: /firehose.pl +Disallow: /submit.pl +Disallow: /users.pl +Disallow: /zoo.pl +Disallow: firehose.pl +Disallow: submit.pl +Disallow: users.pl +Disallow: zoo.pl User-agent: Yahoo-NewsCrawler -Disallow: +Disallow: /firehose.pl +Disallow: /submit.pl +Disallow: /users.pl +Disallow: /zoo.pl +Disallow: firehose.pl +Disallow: submit.pl +Disallow: users.pl +Disallow: zoo.pl User-Agent: msnbot Crawl-delay: 100 -Disallow: +Disallow: /firehose.pl +Disallow: /submit.pl +Disallow: /users.pl +Disallow: /zoo.pl +Disallow: firehose.pl +Disallow: submit.pl +Disallow: users.pl +Disallow: zoo.pl User-agent: * Crawl-delay: 100 Property changes on: images/robots.txt ___________________________________________________________________ Name: svn:keywords + Author Date Id Revision From svnnotify @ sourceforge.jp Fri May 9 12:22:06 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 09 May 2008 12:22:06 +0900 Subject: [Slashdotjp-dev 1105] [632] enable mobile mode at only CGI Message-ID: <1210303326.260710.31488.nullmailer@users.sourceforge.jp> Revision: 632 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=632 Author: tach Date: 2008-05-09 12:22:06 +0900 (Fri, 09 May 2008) Log Message: ----------- enable mobile mode at only CGI Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/Utility/Environment/Environment.pm -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/Utility/Environment/Environment.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/Utility/Environment/Environment.pm 2008-05-08 12:28:11 UTC (rev 631) +++ slashjp/branches/2.5.0.192/Slash/Utility/Environment/Environment.pm 2008-05-09 03:22:06 UTC (rev 632) @@ -1625,7 +1625,7 @@ $constants->{tweak_japanese} and $user->{aton} = ''; # mobile theme for slashdot.jp - if ($constants->{mobile_enabled}) { + if ($constants->{mobile_enabled} && $ENV{GATEWAY_INTERFACE}) { #print STDERR $r->header_in('user-agent') . " =~ $constants->{mobile_useragent_regex}\n"; if ($constants->{mobile_useragent_regex} && $r->header_in('user-agent') =~ $constants->{mobile_useragent_regex}) { From svnnotify @ sourceforge.jp Fri May 9 12:56:01 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 09 May 2008 12:56:01 +0900 Subject: [Slashdotjp-dev 1106] [633] modify search.pl rss Message-ID: <1210305361.072014.20443.nullmailer@users.sourceforge.jp> Revision: 633 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=633 Author: tach Date: 2008-05-09 12:56:00 +0900 (Fri, 09 May 2008) Log Message: ----------- modify search.pl rss Modified Paths: -------------- faq/trunk/code.shtml -------------- next part -------------- Modified: faq/trunk/code.shtml =================================================================== --- faq/trunk/code.shtml 2008-05-09 03:22:06 UTC (rev 632) +++ faq/trunk/code.shtml 2008-05-09 03:56:00 UTC (rev 633) @@ -46,14 +46,27 @@
  • エントリ数トップ30の日記書き:http://slashdot.jp/journal.pl?op=top&type=count&content_type=rss
  • --> -

    いろいろな情報を検索できるsearch.plでは検索結果をRSSで得られます。

    +

    いろいろな情報を検索できるsearch.plでは検索結果をRSSで得られます。 +検索キーワードを入力しなければ、最新のアイテムをRSSで取得できます。 +検索キーワードを指定した場合、「&order=order=%40cdate+NUMD」を付けることで、新しい順になります。

    -

    これらはいずれもかなり重い処理なので、最低でも30分間隔でお願いします。

    +

    キーワードはURLエンコードする必要があるため、初めに search.pl +で検索結果を作ってから、「&content_type=rss」を付けるとよいでしょう。 +これらはいずれもかなり重い処理なので、最低でも30分間隔でお願いします。

    小技

    他にもいざという時に便利な小技がふたつある。ひとつは、ほぼ全てのページで有効な技で、ページのパラメタにsimpledesign=1またはlowbandwidth=1を追加することでそのページだけ、強制的に異なるモードで表示させることができる(両方を指定することもできる)。普段は通常モードだが、出先でAirH''で回線が細い時などに便利だ()。もうひとつは日記でtheme=liquidみたいにテーマ名を指定することで、読み手が自由にテーマ選べる()。liquidテーマの縞々が見づらいと思った時や日記解析スクリプトを各テーマに対応させたくない時に便利だ。もともとはどちらもデバッグ用の小技なので、機能拡張とか設定保存の予定はない。

    From svnnotify @ sourceforge.jp Fri May 9 13:01:27 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 09 May 2008 13:01:27 +0900 Subject: [Slashdotjp-dev 1107] [634] add class="feed" Message-ID: <1210305687.402686.25331.nullmailer@users.sourceforge.jp> Revision: 634 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=634 Author: tach Date: 2008-05-09 13:01:27 +0900 (Fri, 09 May 2008) Log Message: ----------- add class="feed" Modified Paths: -------------- faq/trunk/code.shtml -------------- next part -------------- Modified: faq/trunk/code.shtml =================================================================== --- faq/trunk/code.shtml 2008-05-09 03:56:00 UTC (rev 633) +++ faq/trunk/code.shtml 2008-05-09 04:01:27 UTC (rev 634) @@ -51,17 +51,17 @@ 検索キーワードを指定した場合、「&order=order=%40cdate+NUMD」を付けることで、新しい順になります。

    キーワードはURLエンコードする必要があるため、初めに search.pl From svnnotify @ sourceforge.jp Fri May 9 13:20:03 2008 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Fri, 09 May 2008 13:20:03 +0900 Subject: [Slashdotjp-dev 1108] [635] minor fix Message-ID: <1210306803.975880.5609.nullmailer@users.sourceforge.jp> Revision: 635 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=635 Author: tach Date: 2008-05-09 13:20:03 +0900 (Fri, 09 May 2008) Log Message: ----------- minor fix Modified Paths: -------------- faq/trunk/code.shtml -------------- next part -------------- Modified: faq/trunk/code.shtml =================================================================== --- faq/trunk/code.shtml 2008-05-09 04:01:27 UTC (rev 634) +++ faq/trunk/code.shtml 2008-05-09 04:20:03 UTC (rev 635) @@ -35,12 +35,14 @@

    その他のRSSフィード

    -

    ヘッドライン以外にも、各種ページの呼び出しに content_type=rss をつけることによって、結果をRSS形式で得ることができます。

    +

    ヘッドライン以外にも、各種ページの呼び出しに「&content_type=rss」をつけることによって、結果をRSS形式で得ることができます。

    例えば日記では特定ユーザのエントリ一覧が得られます。