フリーCMSツールについて語るスレ2at PHPフリーCMSツールについて語るスレ2 - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト679:nobodyさん 10/02/01 01:30:41 あ投稿はFTPでコンテンツ.txt アップみたいなw 680:nobodyさん 10/02/01 01:33:57 とほほのWWW入門みたいなデザインが好きなんだよね俺 あれどうやって管理してるんだろ? 681:nobodyさん 10/02/01 02:18:05 >>678 PHPを使って自分で書いてみては? 自分は昔そうしてたけど。 682:nobodyさん 10/02/01 02:51:27 今MovableType使ってみたけど ファイル名決められたりしていいね >>681 そうするしかないかぁ 参考までに今は何使っているんですか? 683:nobodyさん 10/02/01 03:01:44 今はMediaWiki。PHPで遊んでた経験を活かして、色々改造済みだけど。 履歴とか権限云々は要らんのだけど、自動生成の目次とか、簡略文法とかは便利だから。 特にTemplateは多用してるし。 684:nobodyさん 10/02/01 04:47:25 >>678 つhttp://pc11.2ch.net/test/read.cgi/hp/1162287963/764 685:nobodyさん 10/02/01 06:32:45 >>684のスレの768が書いてるけど、XSLTって手も確かにあるね。 ざっと書くと、以下 test.xsl の内容 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:output encoding="utf-8" method="html" version="1.0" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" media-type="text/html" /> <xsl:template match="/"> <html> <head> <title><xsl:value-of select="/root/@title" /></title> </head> <body> <div style="margin-right: auto; margin-left: auto; width: 100%;"> <xsl:apply-templates select="/root/header" /> <div style="width: 100%; "> <xsl:apply-templates select="/root/content" /> <xsl:apply-templates select="/root/category" /> </div> <xsl:apply-templates select="/root/footer" /> </div> </body> </html> </xsl:template> <xsl:template match="header"> <div><xsl:copy-of select="node()" /></div></xsl:template> <xsl:template match="content"> <div style="float: left; width: 69%;"><xsl:copy-of select="node()" /></div></xsl:template> <xsl:template match="category"> <div style="float: right; width: 29%"><xsl:copy-of select="node()" /></div> </xsl:template> <xsl:template match="footer"><xsl:copy-of select="node()" /></xsl:template> </xsl:stylesheet> 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch