<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/xml.xsl" type="text/xsl"?><feed xmlns="http://www.w3.org/2005/Atom">
  <title>nulog, NULL::something : out of the headphone &gt; 2004 &gt; August &gt; 04</title>
  <link href="http://lowreal.net/logs/2004/08/04"/>
  <icon>http://lowreal.net/img/banner.png</icon>
  <link rel="self" type="application/atom+xml" href="http://lowreal.net/logs/2004/08/04.atom"/>
  <link rel="alternate" type="application/xhtml+xml" href="http://lowreal.net/logs/2004/08/04.xhtml"/>
  <updated>2004-08-04T22:56:01+09:00</updated>
  <author>
    <name>cho45(砂糖)</name>
  </author>
  <id>http://lowreal.net/2004/08/04</id>
  <entry>
    <title>デュラララ！！ / 成田良悟</title>
    <link rel="alternate" type="text/html" href="http://lowreal.net/logs/2004/08/04/1.html"/>
    <link rel="alternate" type="application/xml+xhtml" href="http://lowreal.net/logs/2004/08/04/1.xhtml"/>
    <updated>2004-08-04T01:40:19+09:00</updated>
    <published>2004-08-04T01:40:19+09:00</published>
    <id>http://lowreal.net/2004/08/04/1</id>
    <category term="book"/>
    <content type="xhtml" xml:base="http://lowreal.net/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>読み終わりー。やばいねこれ。面白かった。内容的に成田良悟的世界のつながりみたいのがあって、「仕掛け」がちゃんと作ってあるから面白い。じわじわ気づき始めたところで丁度文中に真が出てくるからリズムが乱れないし、てきとーに読んでも混乱しない。いやーこれヒット</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>PHP - apache_request_headers()</title>
    <link rel="alternate" type="text/html" href="http://lowreal.net/logs/2004/08/04/2.html"/>
    <link rel="alternate" type="application/xml+xhtml" href="http://lowreal.net/logs/2004/08/04/2.xhtml"/>
    <updated>2004-08-04T02:19:50+09:00</updated>
    <published>2004-08-04T02:19:50+09:00</published>
    <id>http://lowreal.net/2004/08/04/2</id>
    <category term="prog"/>
    <content type="xhtml" xml:base="http://lowreal.net/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p><abbr title="PHP: Hypertext Preprocessor">PHP</abbr> で If-Modified-Since を取得したい。<code>apache_request_headers()</code> を使うみたいだけど、関数名に apache とついてる通り Apache モジュールとして動いていないとこの関数は使えない。自分はローカルテストするとき AnHTTPD+<abbr title="Common Gateway Interface">CGI</abbr>版<abbr title="PHP: Hypertext Preprocessor">PHP</abbr> なので普通のコーディングしてテストしようとするとエラーがでる。こりゃどうすりゃいいやら。環境変数には If-Modified-Since とか入ってないような……？　<abbr title="Common Gateway Interface">CGI</abbr> だと <abbr title="Hyper Text Transfer Protocol">HTTP</abbr> ヘッダが取得できないなんて話はないだろうし……わかんねー</p>
        <ins datetime="2004-08-04T02:53:22+09:00">
          <p>とりあえず普通の <abbr title="Common Gateway Interface">CGI</abbr> と同じように <code> $_SERVER["HTTP_IF_MODIFIED_SINCE"]</code> のようにしてみる……</p>
          <p>
            <del datetime="2004-08-04T03:10:15+09:00" title="Apache でも入ってない">AnHTTPD が環境変数渡してないってこともありえないこともない……？</del>
          </p>
        </ins>
        <ins datetime="2004-08-04T03:02:56+09:00">
          <p><code>header("HTTP/1.1 304 Not Modified");</code> では OK だけど <code>header("Status: 304 Not Modified");</code> ではダメだった……何故だ。他のとこでステータスコード送るときは大丈夫っぽいのになぁ。</p>
        </ins>
        <ins datetime="2004-08-04T03:15:52+09:00">
          <p>関係ないけど lftp ってファイルサイズ見てるんだなぁ？　ファイルサイズ変えないとアップロードしてくれない。</p>
        </ins>
        <p>I want to get If-Modified-Since header on <abbr title="PHP: Hypertext Preprocessor">PHP</abbr>. Though one use <code>apache_request_headers()</code> usually, as include `apache' in function name this is only used in mod_php. I use AnHTTPD + <abbr title="Common Gateway Interface">CGI</abbr><abbr title="PHP: Hypertext Preprocessor">PHP</abbr> on localhost, so no function error always happen. How can I do? Environment variable does not have If-Modified-Since or something like that in it? </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>msxsl | xmllint</title>
    <link rel="alternate" type="text/html" href="http://lowreal.net/logs/2004/08/04/3.html"/>
    <link rel="alternate" type="application/xml+xhtml" href="http://lowreal.net/logs/2004/08/04/3.xhtml"/>
    <updated>2004-08-04T03:19:17+09:00</updated>
    <published>2004-08-04T03:19:17+09:00</published>
    <id>http://lowreal.net/2004/08/04/3</id>
    <category term="web"/>
    <content type="xhtml" xml:base="http://lowreal.net/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p><a href="http://lowreal.net/logs//2004/08/02.atom/5">サイト全体を <abbr title="Extensible Markup Language">XML</abbr> + <abbr title="XSL Transformations">XSLT</abbr> 化？</a> の続き。ファイル名から判断して msxsl に突っ込むスクリプトを書く。具体的には <samp>index</samp>.<samp>html</samp>.xml というファイルがあったら 2<samp>html</samp>.xsl を使って <samp>index</samp>.<samp>html</samp> に出力するというもの。</p>
        <p>書いたはいいとして、何故か実行するたびにエラーがでたりでなかったり……パイプの使い方を間違っているんだろうかとかなんとか思ったり思わなかったり。</p>
        <p>xyzzy で CDATA 領域に <code>--</code> が奇数個あるとそれ以降ファイルの最後までコメントとみなされて困る……</p>
        <p>Sequel of <a href="http://lowreal.net/logs//2004/08/02.atom/5">whole site built by <abbr title="Extensible Markup Language">XML</abbr> + <abbr title="XSL Transformations">XSLT</abbr> ?</a>. wrote a script which interpret filename and run msxsl. Concretely speaking if <samp>index</samp>.<samp>html</samp>.xml exists, use 2<samp>html</samp>.xsl and output transformed xml to <samp>index</samp>.<samp>html</samp> in same directory. </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>ｵﾝﾄﾞｩﾙ 先生</title>
    <link rel="alternate" type="text/html" href="http://lowreal.net/logs/2004/08/04/4.html"/>
    <link rel="alternate" type="application/xml+xhtml" href="http://lowreal.net/logs/2004/08/04/4.xhtml"/>
    <updated>2004-08-04T11:12:21+09:00</updated>
    <published>2004-08-04T11:12:21+09:00</published>
    <id>http://lowreal.net/2004/08/04/4</id>
    <category term="net"/>
    <content type="xhtml" xml:base="http://lowreal.net/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p><a href="http://homepage2.nifty.com/yos~/DJ.htm">ｵﾝﾄﾞｩﾙ 先生</a>, <a href="http://homepage2.nifty.com/yos~/DJ2.htm">ﾀﾞﾃﾞｨｬｰﾅ先生</a>. まじで笑たー</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>スタスタ</title>
    <link rel="alternate" type="text/html" href="http://lowreal.net/logs/2004/08/04/5.html"/>
    <link rel="alternate" type="application/xml+xhtml" href="http://lowreal.net/logs/2004/08/04/5.xhtml"/>
    <updated>2004-08-04T22:56:01+09:00</updated>
    <published>2004-08-04T22:56:01+09:00</published>
    <id>http://lowreal.net/2004/08/04/5</id>
    <category term="self"/>
    <content type="xhtml" xml:base="http://lowreal.net/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>今日一日どういうスタイル書こうか考えていたけど、全く思いつかず……よく考えると特にテーマがあるってわけじゃないし、なんか根本的に間違っている気がしないでもない。</p>
        <p>Thought new idea about my site <abbr title="Cascading Style Sheets">CSS</abbr>, but no idea at all. As Anew think it's not to say that my site have a regular theme, so I feel like I'm wrong fundamentally.</p>
      </div>
    </content>
  </entry>
</feed>
