Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 1918:ee0eaf3e3d2d
merge
author | KAMADA Kei <c110206@f.koeki-u.ac.jp> |
---|---|
date | Wed, 29 May 2013 00:53:43 +0900 |
parents | f7e27877a422 |
children | c6ef51735992 |
files | 0417.html 0422.html 0522.html 0528.html blog.html blog.rb template.txt |
diffstat | 7 files changed, 240 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/0417.html Wed May 29 00:53:43 2013 +0900 @@ -0,0 +1,39 @@ +<html lang="ja"> +<head> +<title>SKIP - Shonai Koeki Information Project</title> +<link rel="stylesheet" type="text/css" href="demo.css"> +</head> +<body> +<div class="title"> +<a href="skip-demo.html"><img src="skip.png" width="439" height="281"></a> +<img src="skip-kamo-small.png" width="295" height="236"> +</div> +<div class="menu"> +<table> + <tr> + <td><pre><a href="gaiyou.html"><img src="home128.png"> +概要</a></pre></td> + <td><pre><a href="program.html"><img src="program128.png"> +プログラム</a></pre></td> + <td><pre><a href="girl.html"><img src="kirari128.png"> +きらりびと</a></pre></td> + <td><pre><a href="blog.html"><img src="blog128.png"> +ブログ</a></pre></td> + </tr> +</table> +<h1>SKIP*BLOG</h1> +<div class="blog_content"> +<h4>*2013-04-17*</h4> +<h2>今日のサークル活動</h2> +<p>今日の活動は、フランス風郷土料理店ル・ポットフーの食事会においてどんな質問をするのかを決めました。 + +みんな、食事の費用は実費だからね、そこは忘れないで…。</p> +<p class="photo_L"> +</p> +<h4>Writer:Kei Kamada</h4> +</div> +<div class="footer"> +東北公益文科大学 SKIP +</div> +</body> +</html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/0422.html Wed May 29 00:53:43 2013 +0900 @@ -0,0 +1,41 @@ +<html lang="ja"> +<head> +<title>SKIP - Shonai Koeki Information Project</title> +<link rel="stylesheet" type="text/css" href="demo.css"> +</head> +<body> +<div class="title"> +<a href="skip-demo.html"><img src="skip.png" width="439" height="281"></a> +<img src="skip-kamo-small.png" width="295" height="236"> +</div> +<div class="menu"> +<table> + <tr> + <td><pre><a href="gaiyou.html"><img src="home128.png"> +概要</a></pre></td> + <td><pre><a href="program.html"><img src="program128.png"> +プログラム</a></pre></td> + <td><pre><a href="girl.html"><img src="kirari128.png"> +きらりびと</a></pre></td> + <td><pre><a href="blog.html"><img src="blog128.png"> +ブログ</a></pre></td> + </tr> +</table> +<h1>SKIP*BLOG</h1> +<div class="blog_content"> +<h4>*2013-04-22*</h4> +<h2>桜が咲きました^^</h2> +<p>日和山公園。夜桜がとてもキレイでした。写真はGIMPで加工したよ。よく見 +るとキャンパス画になっているでしょ?それにこんなにピンクじゃなかったよ +(笑) +</p> +<p class="photo_L"> +<img src="sakura.jpg" width="640" height="480"> +</p> +<h4>Writer:Kei Kamada</h4> +</div> +<div class="footer"> +東北公益文科大学 SKIP +</div> +</body> +</html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/0522.html Wed May 29 00:53:43 2013 +0900 @@ -0,0 +1,38 @@ +<html lang="ja"> +<head> +<title>SKIP - Shonai Koeki Information Project</title> +<link rel="stylesheet" type="text/css" href="demo.css"> +</head> +<body> +<div class="title"> +<a href="skip-demo.html"><img src="skip.png" width="439" height="281"></a> +<img src="skip-kamo-small.png" width="295" height="236"> +</div> +<div class="menu"> +<table> + <tr> + <td><pre><a href="gaiyou.html"><img src="home128.png"> +网荀</a></pre></td> + <td><pre><a href="program.html"><img src="program128.png"> +違</a></pre></td> + <td><pre><a href="girl.html"><img src="kirari128.png"> +潟</a></pre></td> + <td><pre><a href="blog.html"><img src="blog128.png"> +</a></pre></td> + </tr> +</table> +<h1>SKIP*BLOG</h1> +<p>SKIP羇糸怨鐚帥с潟恰贋違鐚</p> +<div class="blog_content"> +<h4>*2013-05-22*</h4> +<h2>鴻</h2> +<p>糸≪若絨壕祉祉</p> +<p class="photo-L"> +<img src="photo1.jpeg" width="640" height="480"></p> +<h4>Writer:nanochan</h4> +</div> +<div class="footer"> +怨腱紊у SKIP +</div> +</body> +</html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/0528.html Wed May 29 00:53:43 2013 +0900 @@ -0,0 +1,38 @@ +<html lang="ja"> +<head> +<title>SKIP - Shonai Koeki Information Project</title> +<link rel="stylesheet" type="text/css" href="demo.css"> +</head> +<body> +<div class="title"> +<a href="skip-demo.html"><img src="skip.png" width="439" height="281"></a> +<img src="skip-kamo-small.png" width="295" height="236"> +</div> +<div class="menu"> +<table> + <tr> + <td><pre><a href="gaiyou.html"><img src="home128.png"> +网荀</a></pre></td> + <td><pre><a href="program.html"><img src="program128.png"> +違</a></pre></td> + <td><pre><a href="girl.html"><img src="kirari128.png"> +潟</a></pre></td> + <td><pre><a href="blog.html"><img src="blog128.png"> +</a></pre></td> + </tr> +</table> +<h1>SKIP*BLOG</h1> +<div class="blog_content"> +<h4>*2013-05-29*</h4> +<h2>ャ羇糸</h2> +<p>ャ祉若ч篋篌с鐚 +1250綽鐚</p> +<p class="photo_L"> +</p> +<h4>Writer:Kei Kamada</h4> +</div> +<div class="footer"> +怨腱紊у SKIP +</div> +</body> +</html>
--- a/blog.html Fri May 17 19:28:32 2013 +0900 +++ b/blog.html Wed May 29 00:53:43 2013 +0900 @@ -1,7 +1,7 @@ <html lang="ja"> <head> <title>SKIP - Shonai Koeki Information Project</title> -<link rel="stylesheet" type="text/css" href="skip.css"> +<link rel="stylesheet" type="text/css" href="demo.css"> </head> <body> <div class="title"> @@ -22,21 +22,13 @@ </tr> </table> <h1>SKIP*BLOG</h1> -<p>SKIPの活動報告をしていきます!</p> -<p>サークル活動、サークル員の日常を更新中!</p> -<div class="blog_content"> -<h4>*2013年4月24日(水)*</h4> -<h2>桜、咲きました。</h2> -<p>日和山公園。そしてGIMPで加工したよ。本当はこんなにピンクじゃないよ。</p> -<img src="sakura.jpg" width="640" height="480"> -<h4>Writer:Kei KAMADA</h4> -</div> -<div class="blog_content"> -<h4>*2013年4月24日(水)*</h4> -<h2>今日のサークル活動</h2> -<p>今日の活動は、フランス風郷土料理店ル・ポットフーの食事会においてどんな質問をするのかを決めました。</p> -<p>みんな、食事の費用は実費だからね、そこは忘れないで…。</p> -<h4>Writer:Kei KAMADA</h4> +<div class="link"> +<pre> +<a href="0529.html">5月29日</a> +<a href="0528.html">5月28日</a> +<a href="0422.html">4月24日</a> +<a href="0417.html">4月17日</a> +</pre> </div> <div class="footer"> 東北公益文科大学 SKIP
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/blog.rb Wed May 29 00:53:43 2013 +0900 @@ -0,0 +1,39 @@ +#!/usr/bin/ruby +# coding: euc-jp + +require 'date' + +day = Date.today + +STDERR.print "帥ゃ:" +title = gets.chomp + +comment = "" +STDERR.puts "潟<潟(帥茵с障)" +while true + com1 = gets + if com1 == ".\n" || com1 == nil then # nilC-dуュ腟篋 + break + end + comment += com1 +end + +STDERR.print "≪若:" +photo = gets.chomp +if photo != "" then + photo = '<img src="'+photo+'" width="640" height="480">' +end + +STDERR.print "吾篋:" +writer = gets.chomp + +open("template.txt", "r") do |cm| + while x = cm.gets + x.gsub!("%day%", day.to_s) + x.gsub!("%title%", title) + x.gsub!("%comment%", "<p>"+comment.chomp+"</p>") + x.gsub!("%photo%", photo) + x.gsub!("%writer%", writer) + print x + end +end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/template.txt Wed May 29 00:53:43 2013 +0900 @@ -0,0 +1,37 @@ +<html lang="ja"> +<head> +<title>SKIP - Shonai Koeki Information Project</title> +<link rel="stylesheet" type="text/css" href="demo.css"> +</head> +<body> +<div class="title"> +<a href="skip-demo.html"><img src="skip.png" width="439" height="281"></a> +<img src="skip-kamo-small.png" width="295" height="236"> +</div> +<div class="menu"> +<table> + <tr> + <td><pre><a href="gaiyou.html"><img src="home128.png"> +网荀</a></pre></td> + <td><pre><a href="program.html"><img src="program128.png"> +違</a></pre></td> + <td><pre><a href="girl.html"><img src="kirari128.png"> +潟</a></pre></td> + <td><pre><a href="blog.html"><img src="blog128.png"> +</a></pre></td> + </tr> +</table> +<h1>SKIP*BLOG</h1> +<div class="blog_content"> +<h4>*%day%*</h4> +<h2>%title%</h2> +%comment% +<p class="photo_L"> +%photo%</p> +<h4>Writer:%writer%</h4> +</div> +<div class="footer"> +怨腱紊у SKIP +</div> +</body> +</html>