<?xml version="1.0" encoding="EUC-JP"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="ja-JP">
<channel rdf:about="http://piyofactory.com/diary/index.rdf">
<title>piyofactory blog</title>
<link>http://piyofactory.com/diary/</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/" />
<description></description>
<dc:creator>piyo</dc:creator>
<image rdf:resource="http://piyofactory.com/images/logo-blue-m.gif" />
<items><rdf:Seq>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070817"/>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070408"/>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070329"/>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070307"/>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070127"/>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070124"/>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070120"/>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070119"/>
<rdf:li rdf:resource="http://piyofactory.com/diary/?date=20070118"/>
</rdf:Seq></items>
</channel>
<image rdf:about="http://piyofactory.com/images/logo-blue-m.gif">
<title>piyofactory blog</title>
<url>http://piyofactory.com/images/logo-blue-m.gif</url>
<link>http://piyofactory.com/diary/</link>
</image>
<item rdf:about="http://piyofactory.com/diary/?date=20070817">
<title>media print</title>
<link>http://piyofactory.com/diary/?date=20070817</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070817" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-08-17T10:39:34+09:00</dc:date>
<dc:subject>スタイルシート</dc:subject>
<content:encoded><![CDATA[<div class="section">

<p>[スタイルシート] 印刷したくないとき</p>
</div><div class="section">

<h3>&lt;style type="text/css"&gt;</h3>
<p>&lt;!--</p>
<p>table { font-size: 10pt; }</p>
<p>@media print {</p>
<p>.noprint{display:none;}</p>
<p>}</p>
<p>--&gt;</p>
<p>&lt;/style&gt;</p>
<p>&lt;div class="noprint"&gt;hoge&lt;/div&gt;</p>

</div><p></p>
]]></content:encoded>
</item>
<item rdf:about="http://piyofactory.com/diary/?date=20070408">
<title>携帯で地図を表示</title>
<link>http://piyofactory.com/diary/?date=20070408</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070408" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-04-08T05:14:58+09:00</dc:date>
<dc:subject>Linux</dc:subject>
<content:encoded><![CDATA[<div class="section">

<p>[Linux] google mapsを利用して携帯で地図を表示。</p>
</div><div class="section">

<img src="./images/20070408_0.jpg" alt="画像の説明"  class="none">
</div><p></p>
]]></content:encoded>
</item>
<item rdf:about="http://piyofactory.com/diary/?date=20070329">
<title>a2ps ps2pdfでPDFファイル作成</title>
<link>http://piyofactory.com/diary/?date=20070329</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070329" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-03-29T07:58:38+09:00</dc:date>
<dc:subject>Linux</dc:subject>
<content:encoded><![CDATA[<div class="section">

<h3>[<a href="./?category=Linux">Linux</a>] a2ps ps2pdfでPDFファイル作成</h3>
<pre>
a2ps --encoding=euc-jp --delegate=no -o hoge.ps hoge.txt
ps2pdf -sPAPERSIZE=a4 hoge.ps hoge.pdf
久しぶりだわぁ。
cssがいっぱいあったので、印刷用にひとつにまとめ資料にする。
#!/bin/sh
for f in *.css
do
echo $f >> hoge.txt
cat -n >> hoge.txt
done
</pre>
</div><p></p>
]]></content:encoded>
</item>
<item rdf:about="http://piyofactory.com/diary/?date=20070307">
<title>fc2サーバをfc6に</title>
<link>http://piyofactory.com/diary/?date=20070307</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070307" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-03-07T00:11:41+09:00</dc:date>
<dc:subject>Linux</dc:subject>
<content:encoded><![CDATA[<div class="section">

<h3>[<a href="./?category=Linux">Linux</a>]安定稼動していた自宅dyndnsサーバのOSをfc6に変更。</h3>
<p>今回、デフォルトロケールをutf8にしてみる。</p>

</div><p></p>
]]></content:encoded>
</item>
<item rdf:about="http://piyofactory.com/diary/?date=20070127">
<title>vaio Z505 NRにTurbolinux FUJIをインストール</title>
<link>http://piyofactory.com/diary/?date=20070127</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070127" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-01-27T02:52:39+09:00</dc:date>
<dc:subject>Linux</dc:subject>
<content:encoded><![CDATA[<div class="section">

<h3>[<a href="./?category=Linux">Linux</a>]使わないでいたVAIO Z505 NRにTurbolinux FUJIをインストールした。</h3>
<p>AirHのMC-P300も使えるようになったので、mobile linuxの出来上がり。(^.^)v</p>

</div><div class="section">

<p>メモリーが128しかないので増設したい。</p>
</div><p></p>
]]></content:encoded>
</item>
<item rdf:about="http://piyofactory.com/diary/?date=20070124">
<title>tDiary を SoftBank携帯対応に</title>
<link>http://piyofactory.com/diary/?date=20070124</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070124" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-01-24T22:05:28+09:00</dc:date>
<dc:subject>tDiary</dc:subject>
<content:encoded><![CDATA[<div class="section">

<h3>[<a href="./?category=tDiary">tDiary</a>]tDiaryにSoftBank携帯でアクセスすると、PCと同じ表示になってしまうので tdiary.rbを変更した。</h3>
<p>self.user_agent = に |SoftBank| を追加。[:にぱっ:]　HTTP_USER_AGENT がポイント。</p>

</div><p></p>
]]></content:encoded>
</item>
<item rdf:about="http://piyofactory.com/diary/?date=20070120">
<title>tDiaryのテスト</title>
<link>http://piyofactory.com/diary/?date=20070120</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070120" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-01-20T05:39:21+09:00</dc:date>

<content:encoded><![CDATA[<div class="section">

<p>tDiaryの標準的な記述フォーマットで、本文にはHTMLで日記を記述します。とは言っても、普通の文章だけの日記を書く分にはHTMLを意識しなくても良いように、HTMLに対して改行や行頭文字に特別なルールを加えたものです。サブタイトルや段落を簡単に指定するためにこのような拡張をしてあります。</p>
</div><div class="section">

<p>以下のようなルールがあります。表示上の改行と実際の改行を区別するために、実際の改行には「↓」と書いてあります。</p>
</div><div class="section">

<p>サブタイトル(1)↓ </p>
</div><div class="section">

<h3>上記のように行頭から始まる行は、サブタイトルとなります。標準のスタイルシートでは、</h3>
太字で表示されます。サブタイトルから次の空改行までを「セクション」と呼び、サブタ
イトルの前にはセクションアンカーが付きます。↓ 
上の行やこの行のように、サブタイトル以降の行は通常の文章として認識されます。段落
がサブタイトルで始まっている場合には、文章の前にはセクションアンカーはつきません。↓ 
↓ 
　空改行があると、セクションの切り替えを意味します。このように、空白で文章を始め
ると、サブタイトル抜きでセクションが始まります。最初の段落の先頭にだけセクション
アンカーが付きます。サブタイトルのある場合ように太字にはなりません。↓ 
　サブタイトルで始まらなくても、2つ目の段落以降にはアンカーは付きません。↓ 
↓ 
<<pre>↓ 
このように行の最初が「<」で始まる段落がある場合、↓
そのセクションは全体が整形の対象にならなくなります。↓
次に空改行が現れるまで(つまり次のセクションまで)の文↓
章はそのままの形でHTML内に展開されます。リストやテー↓
ブルなどを使いたい場合等、HTMLタグをそのまま使いたい↓
場面に利用できます。セクションアンカーは付きません。↓ 
</pre>↓ 
↓ 
<<a href="hogehoge">サブタイトル(2)</a>↓ 
必然的に、HTMLタグで始まるサブタイトルがつけられないことになりますが、上記のよう
に「<<」で始まる場合にはそれを特別にサブタイトルと見なすようになっています。↓ 
</div><div class="section">

<p>上記の内容は、だいたい以下のように表示されます(このWikiではフォーマット済みのドキュメントを正確に再現できません)。</p>
</div><p></p>
]]></content:encoded>
</item>
<item rdf:about="http://piyofactory.com/diary/?date=20070119">
<title>theme blogのヘッダ・フッタ</title>
<link>http://piyofactory.com/diary/?date=20070119</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070119" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-01-19T00:54:11+09:00</dc:date>

<content:encoded><![CDATA[<div class="section">

<h3>[tDiary]theme blogのヘッダ・フッタ</h3>
<p>header部分</p>
<p>&lt;div class="adminmenu"&gt;&lt;%= navi_user %&gt;&lt;/div&gt;</p>
<p>&lt;h1&gt;piyofactory blog&lt;/h1&gt;</p>
<p>&lt;% unless @mode == 'day' %&gt;&lt;div class="main"&gt;&lt;% end %&gt;</p>

</div><div class="section">

<h3>footer部分</h3>
<p>&lt;% unless @mode == 'day' %&gt;</p>
<p>&lt;/div&gt;</p>
<p>&lt;div class="sidebar"&gt;</p>

</div><div class="section">

<h3>&lt;div class="sidemenu"&gt;最近の記事:&lt;/div&gt;</h3>
<p>&lt;%=recent_entry%&gt;</p>

</div><div class="section">

<h3>&lt;div class="sidemenu"&gt;最近の更新:&lt;/div&gt;</h3>
<p>&lt;%=whatsnew_list%&gt;</p>

</div><div class="section">

<h3>&lt;div class="sidemenu"&gt;記事リスト:&lt;/div&gt;</h3>
<p>&lt;%=archive%&gt;</p>

</div><div class="section">

<h3>&lt;/div&gt;</h3>
<p>&lt;% end %&gt;</p>
<p>&lt;div class="adminmenu"&gt;&lt;%= navi_admin %&gt;&lt;/div&gt;</p>

</div><p></p>
]]></content:encoded>
</item>
<item rdf:about="http://piyofactory.com/diary/?date=20070118">
<title>eruby、mod_rubyをインストール</title>
<link>http://piyofactory.com/diary/?date=20070118</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://piyofactory.com/diary/?date=20070118" />
<dc:creator>piyo</dc:creator>
<dc:date>2007-01-18T20:53:18+09:00</dc:date>

<content:encoded><![CDATA[<div class="section">
<h3>[tDiary] eruby をダウンロードして解凍</h3>
<p>./configure.rb --with-charset=EUC-JP</p>
<p>make</p>
<p>make istall</p>
<h3>mod_rubyをダウンロードして解凍</h3>
<p>./configure.rb  --enable-eruby --with-apxs=/usr/sbin/apxs</p>
<p>make</p>
<p>make install</p>
<p>httpd.confを編集。</p>
<p>apacheの再起動。</p>
<h3>href='hoge' だと上手く起動しない。</h3>
<p>urlを手打ちすると上手くいく・・・？</p>
<h3>ヘッダー</h3>
<div class="adminmenu"><span class="adminmenu"><a href="http://piyofactory.com">トップ</a></span>
<span class="adminmenu"><a href="./">最新</a></span>
</div>
<h1>piyofactory blog</h1>
<div class="main">
<h3>[tDiary] <div class="adminmenu"><span class="adminmenu"><a href="http://piyofactory.com">トップ</a></span>
<span class="adminmenu"><a href="./">最新</a></span>
</div></h3>
<h1>piyofactory blog</h1>
<div class="main">
</div><p></p>
]]></content:encoded>
</item>
</rdf:RDF>
