Oct 07, 2004 [去年の今ごろ]
categoryについて
情報を整理して公表するとなると、つまりBlog形式でお送りすることになると書くもの全てをcategorizeする必要があるのでした。
categoryをどんどん増やしていったらわかりづらくなるので意味がない。当面は必要なものだけで分類していくつもり。
とりあえず、
- 日記
- Debian
- 音楽
こんなんで。
Posted at 02:42 - permalink - category: Blosxom - comments(226) - tags: blosxom
yukiwikixプラグインの導入
試行錯誤の結果yukiwikixを導入することができた。つまづきやすい初心者のyukiwikixプラグイン導入記録です。
code_utf8でつまづく
まず何も考えずにyukiwikixとプラグイン中で使用されているcode_utf8をyu-ji's blogさんからダウンロードしてblosxomのpluginsディレクトリに入れた。(それぞれのperlソースをEUCに変換しておいた。)
説明をよく読まずにとりあえず試したのがまずかった。code_utf8を入れてからBlosxomのコンテンツ(EUC-JPで統一)の文字化けが起こったのだ。code_utf8がblosxomの文字コードをutf8に変換して出力するプラグインだと気づくのはだいぶ後のこと。
説明をよく読むとcode_utf8は必要ないのでpluginsディレクトリから削除した。すると今度は文字化けが起こらず(当たり前)にBlosxomが表示された。
改行コードでつまづく
記事に<yukiwikix>タグを書き込んで保存すると…、ちゃんとテキストが整形されてる〜と思ったら、整形されていたのは記事の1段落目だけ(タイトルと、文頭〜改行までのこと)。残りの段落は何故か引用形式として整形されていた。
ここで頭を悩ますこと1時間半(講義一コマぶん)。
yukiwikiでは行頭にスペースがあると引用形式に整形される。何かのコードがスペースと解釈されているのではないか、と見当をつけて原因を探る。行(段落)付近にあるコードといえば、改行コード。不具合があった記事の改行コードはCR+LF(0dh,0ah)でした。
yukiwikixのソースの改行コードはLFでした。つまりyukiwikixはLFコードのみを処理して、おそらく行き場を失ったCRが引用整形を引き起こしていた。
そこで記事の改行コードをLFにして更新してみたら万事うまくいったのでした。
万事うまくいったかに見えたyukiwikixの導入はwikieditishによる新規エントリの作成によって新たな問題を呼んだ。行末への改行コードの二重付加はwikieditishで新規エントリを作成するたびに起こっていた。
各行に、
0D 0D 0A 0D 0D 0A cr cr lf cr cr lf
こんな感じで。だから整形の際に毎回先と同じ問題が発生する。
対処としてwikieditishの
$title = param('title'); $body = param('body');
のあとに
#escape $title =~ s/\x0d\x0a|\x0d|\x0a/\n/g; $body =~ s/\x0d\x0a|\x0d|\x0a/\n/g;
と付け加えて改行コードの統一を行わせることにした。一応、スッキリな改行になりました。
この記事へのコメント
Posted at 02:21 - permalink - category: Blosxom - comments(0) - tags: blosxom
Oct 06, 2004 [去年の今ごろ]
wikieditish_extのテスト
動くかな。 画像は貼り付けられるかな。この記事へのコメント
- Trackback from Tramadol. :
- [Tramadol.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Tramadol. :
- [Tramadol.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Ambien. :
- [Ambien.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Snorting concerta adderall. :
- [Maxium dose of adderall xr for an adult. Buy adderall. Buy adderall online no prescription needed. Buy adderall without a prescription. Adderall side effects. Adderall san antonio. Adderall.]
- Trackback from Viagra cialis levitra buy cheap cialis buy ciali. :
- [Levitra cialis viagra comparison. Buy cialis. Drug called cialis. Cialis.]
- Trackback from How long does xanax stay in your system. :
- [Xanax online.]
- Trackback from Cheapest tramadol. :
- [Tramadol. What is the street value for tramadol.]
- Trackback from Paxil. :
- [Side effects of paxil cr. Paxil cr faqs. Paxil dosage. Paxil side effects. Paxil settlement. Paxil. Bipolar and paxil.]
- Trackback from Viagra. :
- [Buy viagra online. Viagra. Viagra online. Cheap viagra.]
- Trackback from Cialis. :
- [Cialis online. Buy cialis. Cialis.]
- Trackback from Phentermine. :
- [Phentermine online. Buy phentermine. Phentermine. Xenical hgh phentermine quit smoking detox. Phentermine pharmacy.]
- Trackback from Paxil. :
- [Paxil birth defect lawsuit. Buy paxil cheap. Paxil. Paxil vs cymbalta. Physical side effects of paxil.]
- Trackback from Paxil side effects. :
- [Paxil withdrawl.]
- Trackback from Soma. :
- [Buy soma tablets. Cheap soma. Soma. Soma buy soma cheap soma soma online. Drug soma.]
- Trackback from Paxil. :
- [Paxil withdrawal. Paxil side effects of the drug. Safest way to get off paxil. Paxil. Buy paxil online. Paxil and insomnia.]
- Trackback from Ambien cr 12.5 photo. :
- [Ambien cr and alcohol. Ambien. Ambien and the menstrual cycle.]
- Trackback from Buy ambien. :
- [Ambien cr 12.5 photo. Which is better ambien cr or lunestra.]
- Trackback from Xanax. :
- [Buy xanax. Xanax.]
- Trackback from Ambien online. :
- [Ambien and pregnancy. Ambien. Ambien addiction. Ambien cr.]
- Trackback from Viagra. :
- [Viagra. Viagra generic.]
- Trackback from Fioricet. :
- [Fioricet. Butalbital fioricet com i. Advanced book by fioricet guest powered. Fioricet medications.]
- Trackback from Free viagra. :
- [Viagra affects on women. Viagra for women. Indian viagra. Re viagra cello. Discount viagra. Buy viagra uk.]
- Trackback from Adderall 7.5 image. :
- [Adderall without prescription.]
- Trackback from Soma without prescription. :
- [Prescription drug called soma. Soma online sales. Soma. Soma ironman. Soma cannabis.]
- Trackback from When was xanax created. :
- [Xanax online without prescription. Xanax. Cheap xanax online buy cheap xanax buy cheap xanax.]
- Trackback from Extract codeine from fioricet. :
- [Fioricet watson. Fioricet. Generic fioricet online. Buy fioricet.]
- Trackback from Phentermine. :
- [Discount phentermine. Phentermine diet pills.]
- Trackback from Adderall side effects. :
- [Adderall amphetamine. Adderall.]
- Trackback from No prescription adderall. :
- [Adderall make knees numb. Buy adderall. Adderall no prescription. Adderall amphetamine. Adderall 15 mg. Adderall.]
- Trackback from Ambien. :
- [Ambien next day delivery us. Ambien. Generic ambien. Buy ambien online cod.]
- Trackback from Cialis. :
- [Cialis how it works. Viagra vs. cialis.]
- Trackback from Cialis. :
- [Cialis drug contraindications. Cialis.]
- Trackback from Fioricet. :
- [Info on fioricet abuse. Fioricet. Fioricet online. Buy fioricet full information amp low prices.]
- Trackback from Adderall prescription. :
- [Adderall. Buy adderall no prescription.]
- Trackback from Cialis. :
- [Drug called cialis. Buy cialis. Taking viagra with cialis. Cialis.]
- Trackback from Buy generic cialis. :
- [Generic cialis.]
- Trackback from Viagra. :
- [Viagra. Viagra without a prescription.]
- Trackback from Adderall and kidney pain. :
- [Adderall. Adderall in mexico.]
- Trackback from Tramadol. :
- [What is tramadol used for. Tramadol hcl. Tramadol. Tramadol cheap no rx.]
- Trackback from Xanax. :
- [Hysbysfwrdd cymrux xanax cheap phentermine. Buy xanax. Xanax. Xanax online. Geniric xanax. Xanax side effects.]
- Trackback from Ambien. :
- [Where can i buy ambien for next day delivery.]
- Trackback from Ambien side effects. :
- [Ambien online. Discount ambien. Ambien hallucinations dizziness.]
- Trackback from Lower back pain and adderall. :
- [Purchase adderall without prescription. What is adderall. Kidney pain and adderall. Adderall without a prescription. Adderall 15 mg. Adderall. Adderall addiction.]
- Trackback from Canine tramadol. :
- [Tramadol fda. Buy tramadol. Tramadol.]
- Trackback from Buy phentermine online. :
- [Phentermine.]
- Trackback from Cialis daily use. :
- [Buy cialis online. Buy cialis. Cialis.]
- Trackback from Compare phentermine price. :
- [Buy phentermine. Phentermine. Diet tablets phentermine. Phentermine pill. Phentermine ingredient.]
- Trackback from Adderall. :
- [Buy adderall online. Buy adderall without a prescription. Adderall sideaffects. Adderall withdrawal. Adderall. Buy adderall no prescription.]
- Trackback from http://saunders.rit.edu/albums/20030504/upskirts-live-tv.html :
- [P5pWSt0 | sexi web cam ]
- live chat room sex:
- P5pWSf0 free online porn movies http://old.alumni.indiana.edu/surveys/.svdata/2/free-online-porn-movies.html strip free films webcam http://old.alumni.indiana.edu/surveys/.svdata/1/strip-free-films-webcam.html livechat sex cam http://spirit.dos.uci.edu/paintball/Themes/.lightroom/mastubation-webcam-video.html live web cam http://old.alumni.indiana.edu/surveys/.svdata/1/webcam-thong-free-video.html cam chat free online http://spirit.dos.uci.edu/paintball/Themes/.lightroom/cam-chat-free-online.html live porn web cams http://saunders.rit.edu/albums/20030504/webcam-hot-girls.html web cam pics http://old.alumni.indiana.edu/surveys/.svdata/1/free-sex-watch-online.html online sex video chat http://spirit.dos.uci.edu/paintball/Themes/.lightroom/online-sex-video-chat.html upskirts live tv http://saunders.rit.edu/albums/20030504/upskirts-live-tv.html cam sex videos http://spirit.dos.uci.edu/paintball/Themes/.lightroom/cam-sex-videos.html free live stream http://spirit.dos.uci.edu/paintball/Themes/.lightroom/free-wiew-cam.html live lesbian spycams http://old.alumni.indiana.edu/surveys/.svdata/2/live-lesbian-spycams.html live girl cam http://old.alumni.indiana.edu/surveys/.svdata/1/live-sex-show.html islive webcam chat http://spirit.dos.uci.edu/paintball/Themes/.lightroom/islive-webcam-chat.html www v cam com http://spirit.dos.uci.edu/paintball/Themes/.lightroom/www-v-cam-com.html divx porn streaming free http://old.alumni.indiana.edu/surveys/.svdata/1/divx-porn-streaming-free.html cam to cam chats http://old.alumni.indiana.edu/surveys/.svdata/2/cam-to-cam-chats.html masterlive com streaming http://spirit.dos.uci.edu/paintball/Themes/.lightroom/masterlive-com-streaming.html live sexy com http://saunders.rit.edu/albums/20030504/live-sexy-com.html view sex webcams http://saunders.rit.edu/albums/20030504/view-sex-webcams.html sex cams on line http://old.alumni.indiana.edu/surveys/.svdata/2/free-spy-cams-live.html live chat room sex http://saunders.rit.edu/albums/20030504/streaming-sex-tv.html sexcam live free http://spirit.dos.uci.edu/paintball/Themes/.lightroom/fucking-boobs-cam.html fre sex online tv http://spirit.dos.uci.edu/paintball/Themes/.lightroom/orgasm-video-online.html
- Trackback from Xanax. :
- [Order xanax online. Buy xanax without prescription. Xanax. Xanax with herbal medicines. No prescription xanax. Xanax effect. Xanax 2mg.]
- Trackback from Cialis. :
- [Pharmacy cialis.]
- Trackback from Xanax. :
- [Xanax. Xanax without a prescription. Xanax 2 milligram.]
- Trackback from Cialis purchase. :
- [Cialis.]
- Trackback from Viagra effects. :
- [Viagra. Female viagra. Your viagra onlinne guide. The new viagra. Try viagra for free.]
- Trackback from Ambien cr addiction. :
- [Is ambien safe to take during early pregnancy. Ambien ld-50. Ambien. Ambien overnight. Ambien side effects.]
- Trackback from Xanax. :
- [Xanax.]
- Trackback from Cialis. :
- [Buy cialis. Cheapest cialis. Taking viagra with cialis. Online pharmacy cialis on line. Cialis.]
- Trackback from Picture of phentermine. :
- [Adipex phentermine vs. Phentermine. Abuse phentermine. Phentermine information.]
- Trackback from Adderall side effects. :
- [Buy adderall. Buy adderall without a prescription. Buy adderall online no prescription needed. Adderall prescription. Adderall. Pictures of adderall xr. Generic adderall.]
- Trackback from Ambien. :
- [Ambien. Buy ambien online cod. Ambien coupon abate.]
- Trackback from Mg buy phentermine. :
- [Phentermine online. Cheap phentermine. Cheap 37 5 phentermine. Phentermine. Phentermine yellow. Cheapest phentermine. Best price for phentermine.]
- Trackback from Cialis. :
- [Taking viagra with cialis. Cialis.]
- Trackback from Buy adderall online no prescription needed. :
- [Buy adderall. Adderall and migraines. Adderall.]
- Trackback from Buy cheap phentermine online. :
- [Cheap phentermine. Phentermine.]
- Trackback from Ambien online. :
- [Purchasing ambien online. Ambien sleeping pill. Ambien latest side effects. Ambien. Ambien empty stomach. Ambien cr addiction. Buy ambien 10.]
- Trackback from Ambien and the menstrual cycle. :
- [Ambien verses temacetam. Ambien next day delivery where us.]
- Trackback from Tramadol cod. :
- [Tramadol 93. Cheap tramadol. Tramadol. Ultram tramadol.]
- Trackback from Ambien cr addiction. :
- [Ambien us pharmacy. Ambien. Ambien cr. Buy ambien without prescription.]
- Trackback from Drugs detected on drug test ambien. :
- [Online meds no prescription ambien. Ambien. Cheaper ambien prescription. Ambien and the menstrual cycle. Ambien lethal. Addiction to ambien.]
- Trackback from Discount ambien. :
- [Wellbutrin together with ambien suicide. Ambien ld-50. Ambien.]
- Trackback from Ambien. :
- [Ambien online. Ambien. Buy ambien 12.5 mgm overnight mail md consultation. Generic ambien. Ambien and the menstrual cycle. Ambien cr.]
- Trackback from Generic ambien available. :
- [Buy ambien without a prescription. Ambien cr and alcohol. Ambien latest side effects. Ambien. Ambien onlilne overnite shipping. Will ambien show up in a urine test. Ambien lethal.]
- Trackback from Adderall. :
- [Adderall xr. Adderall no prescription. Inject adderall. How while on adderall xr. Adderall.]
- Trackback from Ambien side effects. :
- [Ambien sleeping pill. Ambien addiction.]
- Trackback from Adderall withdrawal. :
- [Adderall side effects. Adderall abuse. Adderall treating anxiety in adults. Adderall like effect. Adderall. Snort adderall xr.]
- Trackback from Cialis. :
- [Buy cialis.]
- Trackback from Ambien. :
- [Ambien sleeping pill. Ambien. Buy ambien online. Long term ambien. Buy ambien cr. Ambien side effects.]
Posted at 13:23 - permalink - category: Blosxom - comments(87) - tags: blosxom
Blosxom 導入編
寝ぼけていても構わずBlosxomの導入を続ける。Pluginが動作する設定ができてからそれぞれの動作を確認していた。
中でも特に設定がむずかしい(oganeにとって)のがwikieditishだ。まず、Rename機能が意図しない場面で機能するのに困った。Renameは特に必要がないのでソース中の処理が記述してある部分をまるまる飛ばす。
次の問題は画像を添付して記事を保存した際に二つの記事ファイルhoge.txtほよびhoge.(ドット以降の拡張子がない)が生成されるというものだ。これはwikieditish_ext内にある、画像アンカーを追加する処理に問題があると思い調べてみたところ、
wikieditish内で参照されている、
my $file_extension = $blosxom::wikieditish_file_extension;
$blosxom::wikieditish_file_extensionが本家wikieditishの方にはないことがわかった。他の変数名では$file_extensionが似てたのでそこを参照するように訂正。生成されるファイルは一つだけになった。
my $file_extension = $blosxom::file_extension;
画像ファイルはアップロードできたし、imgタグもしっかり挿入されるようになったけど画像が表示されない。これは大体検討がつく問題だ。いわゆるwakwakのwebサーバの仕様によるもの。画像の保存されるディレクトリを変更しなきゃ。
wikieditish_extのファイル保存先を変更し、応急処置的な変更も加えてなんとか画像を表示することができた。
基本的な編集機能は今日のうちに勉強できたから、次は体裁。
Blogの醍醐味であるtrackback機能を取り入れるためにwriteback pluginを導入。実はこれがどうなるのかよくわからない。
flavourを書き換えてtdiaryの「今日のなんでやねん」テーマを適用してみた。
この記事へのコメント
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Adderall. :
- [Adderall.]
- Trackback from Tramadol. :
- [Tramadol.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Viagra. :
- [Viagra.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Pictures of soma 750 mg.. :
- [Buy soma tablets. Temp soma. Soma next day. Soma. Soma ironman. Drug soma. Soma in urine.]
- Trackback from Ambien overnight. :
- [Which is better ambien cr or lunestra. Generic ambien.]
- Trackback from Phentermine. :
- [Phentermine no prescription. Phentermine forum.]
- Trackback from Ship free viagra sample. :
- [Viagra. Generic viagra. Viagra england. Discount viagra.]
- Trackback from Snorting adderall effects. :
- [Adderall xr. Adderall no prescription. Adderall. Buy adderall no prescription.]
- Trackback from Phentermine information. :
- [Phentermine. Lowest price for phentermine.]
- Trackback from Buy phentermine diet pill. :
- [Phentermine.]
- Trackback from Ambien. :
- [Ambien sleeping pill. Ambien. Will ambien show up in a urine test. Ambien side effects. Discount ambien. Ambien cr side effects.]
- Trackback from Viagra on line. :
- [Viagra. Viagra marketing. Re viagra cello.]
- Trackback from Ambien. :
- [Ambien. Ambien cr color.]
- Trackback from Paxil side effects. :
- [Are there any recent paxil lawsuits. How long will it take paxil to leave the body. Paxil. How to get off paxil.]
- Trackback from Adderall no prescription. :
- [Buy adderall online. Adderall side effects. Adderall withdrawal. Adderall.]
- Trackback from Ambien withdrawal dangers. :
- [Ambien us pharmacy. Ambien. Ambien side effects.]
- Trackback from Buy ambien online no prescription. :
- [Ambien. Ambien on line. Ambien vs lunestra. Ambien cr. Buy ambien.]
- Trackback from Phentermine online pharmacy. :
- [Phentermine 37 5mg. Phentermine. Phentermine mg. Herbal phentermine.]
- Trackback from Is ambien safe to take during early pregnancy. :
- [Generic ambien.]
- Trackback from Buy phentermine. :
- [Phentermine 37 5mg. Phentermine. Buy phentermine online. Phentermine forum. Herbal phentermine. Phentermine tablet.]
Posted at 13:12 - permalink - category: Blosxom - comments(24) - tags: blosxom
ページを移動。
これまでの記事。
2007 | 12 | 11 | 10 | 9 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
2006 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
2005 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
2004 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
2003 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
2002 | 12 |
この記事へのコメント
replica bags http://www.itbag-china.com
wholesale bags http://www.googletest.com
fake oakleys http://www.floormingo.us/
cheap oakley sunglasses http://www.mwgrips.us/
cheap oakley http://www.peakent.us/
Vanessa Bruno Pas cher http://www.ragakitty.fr/
cheap oakley sunglasses http://cheapoakleys.displayproducts.us/
Cheap oakleys http://cheapoakleys.joebrooksbrazil.com/