Apr 03, 2005 [去年の今ごろ]
一覧表示と個別表示の flavour を分離した。
これまで blosxom.cgi を開いたときに表示される一覧表示と各エントリの個別表示 (いわゆるパーマリンク) の flavour はどちらも *.html だったが、個別表示で表示される内容の一部を一覧表示と異なるものにするために flavour を分離した。*.html を *.htm にコピーし、 *.htm の方を一覧表示用とした。つまり *.htm には変更点はない。一方 *.html の変更点は以下のとおり。
- コメント欄を複数行にした。
- メモを削除した。
Posted at 00:46 - permalink - category: Blosxom - comments(3) - tags: blosxom
Mar 30, 2005 [去年の今ごろ]
RSS で配信するタイトルを変更
私は日記のエントリを書く際に日記の当該日の日付をタイトルとしています。つまり、2005年3月30日にあったことを書く日記のタイトルは「2005年3月30日」となります。しかし一般的なタイトル配信は日付ではなくトピックであると mixi で RSS 配信をはじめて気付いたので私もそれに倣うことにしました。
具体的には、日記のエントリからトピックとして見出しを検索し、もしそれがあれば RSS のタイトルとします。なければ日付をそのままタイトルとします。詳細は省略しますが story.rss の <title> に入れる文字列 $foreshortend::title を foreshortend プラグインの中で以下のように生成しました。
if ($path =~ m/diary/) { # 日記エントリか $title = $$body_ref; if ($title =~ m/<h3>(.*?)<\/h3>/i) { # 見出し $title = $1; } else { $title = $$title_ref; # 見出しがなければそのまま } } else { $title = $$title_ref; # 日記ではなければそのまま }
これで少しは内容がわかりそうなタイトルを配信できると思います[au_201]。
この記事へのコメント
- gu:
- Romancing Saga Special。
- Trackback from Tramadol. :
- [Tramadol.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Viagra. :
- [Viagra.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Paxil. :
- [Paxil cr faqs. Paxil cr. Paxil 30 milligram 60 prices. Paxil. Paxil withdrawal and skin irritations. What is paxil.]
- Trackback from Buy phentermine. :
- [Phentermine no prescription.]
- Trackback from Adderall side effects. :
- [Maxium dose of adderall xr for an adult. Buy adderall online. Snorting adderall effects. Mexican pharmacies adderall. Adderall. Adderall addiction.]
- Trackback from Buy cialis. :
- [Cialis.]
- Trackback from Viagra soft without a prescription. :
- [Viagra. Viagra canada. Free viagra. Free sample of viagra. Viagra uk. Viagra stories. Viagra clips.]
- Trackback from Xanax. :
- [Can you buy xanax without a prescription. Buy xanax without prescription in usa. Xanax. Generic xanax 2 mg no prescription. Xanax effect. Generic xanax.]
- Trackback from Long term ambien. :
- [Ambien. Ambien side affects. Ambien purchase omline. Ambien forum.]
- Trackback from Cialis and addiction. :
- [Generic cialis tadalafil mg pills nextag com. Cialis best price buy online. Cialis.]
- Trackback from Cialis. :
- [Generic cialis. Cheapest cialis. Cialis cheap. Cialis.]
- Trackback from Soma next day. :
- [Tempra soma. Soma. Pornstar soma. Drug soma. Soma online. Prescription medication side effects for soma.]
- Trackback from Phentermine free shipping. :
- [Cheap phentermine. Phentermine. Xenical hgh phentermine quit smoking detox. Phentermine online purchase. Phentermine diet. Phentermine blue.]
- Trackback from Phentermine 37 5mg. :
- [Phentermine.]
- Trackback from Phentermine free shipping. :
- [Cheap phentermine. Phentermine. Online phentermine. Buy phentermine diet pill.]
- Trackback from Phentermine. :
- [Phentermine. Buy cheap phentermine. Online phentermine.]
- Trackback from Phentermine result. :
- [Phentermine diet pill.]
- Trackback from Adderall. :
- [Buy adderall online. Adderall.]
- Trackback from Phentermine diet pill. :
- [Buy phentermine. Phentermine.]
- Trackback from Buy cialis. :
- [Drug called cialis. Cialis. Viagra vs. cialis.]
- Trackback from Viagra. :
- [Viagra. Viagra affects on women.]
- Trackback from Buy cheap phentermine. :
- [Phentermine.]
- Trackback from Phentermine. :
- [Phentermine. Mg buy phentermine. Abuse phentermine. Lowest price for phentermine. Phentermine no prescription.]
- Trackback from Ambien. :
- [Ambien. Ambien empty stomach. Ambien next day delivery. Ambien overnight.]
- Trackback from Order phentermine phentermine online. :
- [Phentermine. Phentermine no prescription.]
- Trackback from Uhi foundation forums xanax cheap phentermine. :
- [Buy cheap generic xanax. Xanax. Titel auteur datum xanax medication bmnwbbuk.]
- Trackback from Cialis attorneys. :
- [Cialis forum. Buy cialis phentermine. Buy cialis online. How cialis works. Cialis best price buy online. Cialis.]
- Trackback from Ambien online no prescription overnight delivery. :
- [Is ambien safe to take during early pregnancy. Ambien. Generic ambien. Ambien prescriptions. Long term ambien. Buy ambien cr.]
- Trackback from Buy adderall. :
- [Buy wholesale adderall. Adderall amphetamine. Smoking adderall.]
- Trackback from Cialis. :
- [Buy cialis.]
- Trackback from Cheap cialis. :
- [Buy generic cialis. Buy cialis order cialis buy cialis generic. Cialis best price buy online. Cialis generic. Cialis.]
- Trackback from No prescription xanax. :
- [Buy 180 xanax 2mg. Psyweb xanax. Xanax. Uhi foundation forums xanax cheap phentermine. Xanax with herbal medicines.]
- Trackback from Ambien next day delivery canada. :
- [Ambien. Ambien drug screen.]
- Trackback from Ambien online viagra. :
- [Ambien.]
- Trackback from Phentermine. :
- [Phentermine. Online phentermine. Drug phentermine.]
- Trackback from Lower back pain and adderall. :
- [Adderall.]
- Trackback from Ambien not working. :
- [Online meds no prescription ambien. Ambien online. Ambien cr addiction. Ambien cr. Ambien and brain injuries.]
- Trackback from Phentermine tablet. :
- [Discount phentermine. Cheap phentermine. Phentermine yellow. Phentermine free shipping. Pal pay phentermine.]
- wholesale bags:
- RSS で配信するタイトルを変更 - O'GANE'S EXPERIENCES
wholesale bags http://www.googletest.com
Posted at 08:22 - permalink - category: Blosxom - comments(43) - tags: blosxom
Mar 10, 2005 [去年の今ごろ]
headline flavor
各カテゴリのエントリのヘッドラインを表示する flavor を作成した。URL の後に index.headline と追加すると、指定したカテゴリの投稿日時、カテゴリ、タイトルの一覧を表示する。例えば、
http://park18.wakwak.com/~ogane/cgi-bin/blosxom.cgi/index.headline
と入力するとすべてのエントリのヘッドラインを、
http://park18.wakwak.com/~ogane/cgi-bin/blosxom.cgi/diary/index.headline
と入力すると日記カテゴリのヘッドラインを表示する。
その他の例
flavour
date.headline
<!-- $yr/$mo_num/$da $da -->
head.headline
<html> <head> <meta http-equiv="content-type" content="text/html; charset=EUC-JP"> <meta http-equiv="content-style-type" content="text/css"> <title>$blog_title - $categories::title</title> </head> <body> <h1><a href="$url">$blog_title</a> - $categories::title のヘッドライン</h1> <div style="font-family: monospaced, monospace;"> <dl>
story.headline
<dt> $yr/$mo_num/$da($dw) 『 <a href="$url" title="">$title</a> 』 </dt>
foot.headline
</dl> </div> <hr> </body> </html>
この記事へのコメント
- gu:
- 頭線すげー。感動した!
Posted at 23:04 - permalink - category: Blosxom - comments(1) - tags: blosxom
Firefox で XMLパースエラー
思い出したように Firefox を起動して Sage でこのサイトのフィードを読み込もうとしたところ、XMLパースエラーが起こり途中までしかフィードが読み込まれなかった。このエラーについてグーグルしてみたら XML ソースに & が含まれていると起こるらしいことがわかった。ちゃんと & でエスケープしてなくてはいけないらしい。
Firefox で、エラーが起こった XML のソースを開くとデバッグ画面が出てエラー箇所はすぐに判明した。親切だ。
Blosxom の RDFテンプレート story.rss を開いて確認するとイケナイ文字が含まれていたのは rss10 で生成される $description という変数だった。rss10 を開いて strip_html サブルーチンに & を & にする処理を追加。
$str =~ s!&!&!g;
Firefox で読み込み直したら XMLパースエラーは解消された。
この記事へのコメント
- gu:
- 流石Google様だ。
- wholesale bags:
- Firefox で XMLパースエラー - O'GANE'S EXPERIENCES
wholesale bags http://www.googletest.com
Posted at 02:01 - permalink - category: Blosxom - comments(2) - tags: blosxom
Mar 03, 2005 [去年の今ごろ]
writeback プラグインの日本語処理
トラックバックは、なかなかやってこない。完全に Blog コミュニケーションの蚊帳の外にあるうちのサイトです。さみしいので実験と称して手前でトラックバックを送信してみました。
wakwak のサーバからはトラックバックを送ることができないので Blog People の「ぶろっぐぴんぴん」というアプリケーションを利用しました。トラックバック送信元の URL 、タイトルやコメントを入力して、送信。わくわくしながら writeback欄を見てみるとなんと何も表示されていない。以前 writeback プラグインに手を加えたときにトラックバックに関する項目を表示しないようにしたのを忘れていました。
それを直して再度トラックバックを送ると今度は表示はされたものの、文字化けしてしまいました。どうやら「ぶろっぐぴんぴん」のトラックバックは UTF8 で送信されているようで、それを EUC で表示しようとするから文字化けがおこったようです。
解決策として、writebackプラグインで表示するときに文字コードを判別して EUC に変換するという方法をとりました。本当ならトラックバックが送られてファイルに記録されるときに変換してしまえばよいのですが今までのファイルとの互換性も考えて上の方法をとりました。
以下は writebackプラグインの変更部分です。文字コードの判別、変換には perl 5.8 以降の Encode モジュールを用いています。それについては Perl 5.8.x Unicode関連 を参考にしました。
まず Encode モジュールを使います宣言。
package writeback; use Encode qw(from_to); use Encode::Guess qw/euc-jp shift-jis/;
次に $writeback 行を出力する部分で文字コードの判別と変換を行います。
$writeback =~ s/\$writeback::(\w+)/$param{$1}/ge; my $guess = Encode::Guess::guess_encoding($writeback); unless(ref $guess){ Encode::from_to($writeback, "euc-jp", "euc-jp") }else{ $writeback = $guess->decode($writeback); $writeback = Encode::encode("euc-jp", $writeback); }
以上です。
これでどんな文字コードが送られてきても完璧に表示することができる、はずです。実験トラックバックお待ちしております。
この記事へのコメント
- Trackback from Birth defects and oxycontin use. :
- [Oxycontin. Oxycontin purdue legal news. Where to buy oxycontin.]
- Trackback from Percocet. :
- [Percocet. Percocet dangers of abuse. Cheap percocet. Difference in darvocet and percocet.]
- Trackback from Dosages for percocet. :
- [Drug interactions amantadine percocet. Long term use of percocet. Percocet. Cheap percocet. How long does percocet stay in your system.]
- Trackback from Buy cialis phentermine. :
- [Online pharmacy buy cialis. Buy cialis. Buy cialis in mexico. Cialis best price buy online. Buy cialis generic online.]
- Trackback from Phentermine diet pills. :
- [Phentermine diet pills. Phentermine diet pills buy online.]
- Trackback from Buy oxycontin. :
- [Buy oxycontin. Buy oxycontin online. Buy oxycontin pills.]
- Trackback from Cheap phentermine cod pharmacy online. :
- [Cheap phentermine. Cheap ... phentermine cod url. Buy cheap phentermine free fedex. Cheap phentermine no prescription. Cheap phentermine guaranteed best prices. Buy cheap phentermine mg tabs lowest prices. Cheap phentermine online. Cheap phentermine free shipping.]
- Trackback from Where to buy phentermine without prescription. :
- [No prescription phentermine. Phentermine online no prescription. Phentermine no prescription. Discount phentermine without a prescription.]
- Trackback from Alprazolam. :
- [Alprazolam from mexico. Alprazolam no prescription. Photos of alprazolam. Purchase alprazolam. Alprazolam.]
- Trackback from Phentermine. :
- [Phentermine. Diet tablets phentermine. Phentermine cheap. Effects phentermine.]
- Trackback from Percocet online. :
- [Buy percocet online no prescription.]
- Trackback from Xenical hgh phentermine quit smoking detox. :
- [Order phentermine.]
- Trackback from Percocet dosages. :
- [Dosages for percocet.]
- Trackback from Georgia oxycontin lawyers. :
- [Georgia oxycontin lawyers.]
- Trackback from Phentermine 37.5mg. :
- [Phentermine hydrochloride. Discount phentermine. Buy phentermine cod. Phentermine. Herbal phentermine. Buy phentermine diet pill. Phentermine cod.]
- Trackback from Buy oxycontin pills. :
- [Buy oxycontin. Buy oxycontin pills. Buy cheap oxycontin.]
- Trackback from Buy percocet online. :
- [Buy percocet online. Buy percocet online no prescription.]
- Trackback from Amoxicillin. :
- [My amoxicillin on line click here.]
- Trackback from Online hydrocodone. :
- [Easy way to buy hydrocodone online. Buy hydrocodone online without a prescription. Purchase hydrocodone online. Hydrocodone and online and prescriptions. Online pharmacy hydrocodone. Drugs online cheap hydrocodone buy.]
- Trackback from Cialis. :
- [Buy cialis. Cialis st. Cialis best price buy online. Cheapest generic cialis.]
- Trackback from Phentermine online. :
- [Cheap phentermine. Phentermine. Phentermine cheap. Phentermine 37.5. Get phentermine. Buy phentermine on line. Cheap phentermine diet pill.]
- Trackback from Oxycontin pdr. :
- [Oxycontin pdr.]
- Trackback from Compare phentermine price. :
- [Diet tablets phentermine. Cheapest phentermine online. Phentermine diet.]
- Trackback from Discount phentermine. :
- [Phentermine 37 5mg.]
- Trackback from Order percocet online. :
- [Order percocet online.]
- Trackback from Hartford oxycontin attorneys. :
- [Hartford oxycontin attorneys.]
- Trackback from Hydrocodone. :
- [Hydrocodone. Hydrocodone online. Hydrocodone extraction. Hydrocodone apap. Hydrocodone with no rx. Buy hydrocodone.]
- Trackback from Phentermine no doctor no prescription. :
- [Phentermine online prescription no doctor contact. Phentermine without doctor approval. Online phentermine without contacting doctor. Phentermine without doctor.]
- Trackback from Purchase hydrocodone online. :
- [Easy way to buy hydrocodone online. Buy hydrocodone online. Purchase hydrocodone online. Hydrocodone and online and prescriptions. Hydrocodone online without a script.]
- Trackback from Soma addiction and lying. :
- [Soma addiction and lying.]
- Trackback from Soma next day delievery. :
- [Soma next day. Soma next day delievery. Soma online next day.]
- Trackback from Percocet without prescription cheap. :
- [Percocet without a prescription cheap. Cheap percocet.]
- Trackback from Adderall xr headache. :
- [Adderall xr. Adderall abuse.]
- Trackback from Buy hydrocodone. :
- [Easy way to buy hydrocodone online. Buy hydrocodone online consultation. Buy hydrocodone no prescription. Buy hydrocodone without a prescription. Buy hydrocodone.]
- Trackback from Amoxicillin for acne. :
- [Amoxicillin for acne. Amoxicillin kills acne. Can amoxicillin be used for acne. Amoxicillin acne.]
- Trackback from Vicodin no prescription. :
- [No prescription vicodin. Vicodin no prescription. Vicodin without prescription. Vicodin no prior prescription.]
- Trackback from Vicodin consultation. :
- [Buy vicodin dr consultation. Vicodin consultation.]
- Trackback from Diet pills phentermine. :
- [Phentermine diet pills. Phentermine diet pills side effects.]
- Trackback from Percocet withdrawal symptoms. :
- [Long term use of percocet. How do you snort percocet. How long is percocet in your system.]
- Trackback from Percocet. :
- [Buy percocet. Percocet online. Fun with percocet. Percocet.]
- Trackback from Tramadol. :
- [Tramadol.]
- Trackback from http://www.cs.du.edu/~jhagler/BUTTONS/calc/free-live-webcam-girls.html :
- [4Toglt0 | sex show video ]
- cam live free:
- 4Toglf0 cam girls black http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/cam-girls-black.html free bbw hidden cam http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/free-bbw-hidden-cam.html free russian cams http://www.cs.du.edu/~mhampton/wa/girls-webcam-strip-free.html cam live free nude http://www.cs.du.edu/~mhampton/wa/cam-live-free-nude.html free trannies on cam http://www.cs.du.edu/~mhampton/wa/free-trannies-on-cam.html livechat sex free http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/livechat-sex-free.html webcam free sexy http://www.cs.du.edu/~mhampton/wa/webcam-free-sexy.html new hidden masturbation clips http://www.cs.du.edu/~jhagler/BUTTONS/calc/new-hidden-masturbation-clips.html hidden sex indian picture http://www.cs.du.edu/~jhagler/BUTTONS/calc/free-live-webcam-girls.html cam live free http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/web-stream-porn.html webcams free adult http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/webcams-free-adult.html hidden sex camera free http://www.cs.du.edu/~mhampton/wa/free-asian-cam-girls.html asian sex chat forums http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/asian-sex-chat-forums.html cameras sex free http://www.cs.du.edu/~jhagler/BUTTONS/calc/cameras-sex-free.html free sexy live stream http://www.cs.du.edu/~mhampton/wa/free-sexy-live-stream.html webcam xxx free stream http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/webcam-xxx-free-stream.html teens porn live http://www.cs.du.edu/~jhagler/BUTTONS/calc/full-sex-chat-cam.html cam hot live http://www.cs.du.edu/~jhagler/BUTTONS/calc/cam-hot-live.html free live sexyweb cam http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/free-live-sexyweb-cam.html free sexcam bbw http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/hidden-webcam-girl.html live free gay cams http://www.engineering.uiowa.edu/~mcclu/old/test/.ca/live-free-gay-cams.html
- Trackback from lasix :
- [soma cruz. buy soma. cheap soma. soma cruz. soma online. buy soma online. cheap soma. soma online. tramadol online. tramadol hcl. tramadol hcl. online tramadol. tramadol hcl. buy tramadol online. tramadol prescription. cheap tramadol. soma. cheap soma. generic soma. soma cruz. cheap soma. cheap soma. order soma. cheap soma. generic soma. soma online. generic soma. soma online. order soma. watson soma. soma. buy soma. buy soma. generic soma. akane soma. order soma. buy soma. soma cruz. watson soma. soma. soma online. cheap soma. soma carisoprodol. buy soma. buy soma online. generic soma. soma cruz. generic soma. buy soma. buy soma online. buy soma. order soma. soma cruz. buy soma. generic soma. soma. soma. generic soma. order tramadol. what is tramadol. buy tramadol online. what is tramadol. tramadol hydrochloride. tramadol hcl. tramadol hydrochloride. tramadol online. tramadol prescription. tramadol. online tramadol. tramadol online. order tramadol. order tramadol. what is tramadol. tramadol online. cheap tramadol. tramadol hcl. what is tramadol. tramadol. tramadol. tramadol hydrochloride. tramadol hydrochloride. tramadol hcl. tramadol prescription. buy soma. soma carisoprodol. generic soma. order soma. akane soma. watson soma. generic soma. soma online. soma. generic soma. buy soma online. akane soma. soma. buy soma. watson soma. order soma. soma online. buy soma. generic soma. soma online. order soma. cheap soma. soma cruz. generic soma. cheap soma. xanax order. buy xanax online. buy xanax online. buy xanax online. buy xanax. xanax online. buy xanax online. akane soma. soma online. soma. akane soma. buy soma online. soma carisoprodol. soma online. generic soma. buy soma. soma cruz. soma online. watson soma. soma cruz. buy soma. soma. cheap soma. tramadol. cheap tramadol. buy tramadol. order tramadol. online tramadol. buy tramadol online. buy tramadol online. what is tramadol. cheap tramadol. tramadol hydrochloride. tramadol online. cheap tramadol. tramadol online. what is tramadol. tramadol hydrochloride. buy tramadol. tramadol prescription. cheap tramadol. tramadol hcl. online tramadol. tramadol prescription. buy tramadol. tramadol hydrochloride. what is tramadol. tramadol online. cheap tramadol. buy tramadol. tramadol prescription. tramadol hcl. tramadol online. order tramadol. what is tramadol. order tramadol. tramadol hydrochloride. tramadol hydrochloride. tramadol prescription. tramadol online. order tramadol. online tramadol. tramadol hcl. what is tramadol. tramadol online. order tramadol. cheap tramadol. tramadol prescription. what is tramadol. buy tramadol. buy tramadol. online tramadol. tramadol hcl. buy tramadol. buy tramadol online. cheap tramadol. tramadol hydrochloride. tramadol hydrochloride. tramadol online. tramadol prescription. tramadol. buy tramadol online. tramadol. tramadol hydrochloride. tramadol hcl. buy tramadol online. tramadol online. tramadol online. buy tramadol online. tramadol. what is tramadol. tramadol prescription. tramadol online. tramadol. what is tramadol. cheap soma. soma. akane soma. watson soma. soma online. soma cruz. zithromax uses. zithromax antibiotic. zithromax uses. zithromax. zithromax z pack. zithromax side effects. zithromax antibiotic. zithromax side effects. online tramadol. tramadol prescription. tramadol hydrochloride. tramadol. tramadol hcl. tramadol. online tramadol. blood pressure medication aceon. aceon 4 mg. aceon europe. aceon pipe oegan. blood pressure medication aceon. actos side effects. actos escolares. actos sexuales. actos juridicos. what is acyclovir. acyclovir oral. acyclovir cml. acyclovir side effects. buy acyclovir. acyclovir dosage. adderall no prescription. adderall abuse. buy adderall. advil. advil overdose. advil ingredients. advil pm. aldactone acne. aldactone ciclo. what is aldactone. aldactone. tablette aldactone 50. aldara top. vulvar dysplasia aldara treatment. vulvar dysplasia aldara treatment. aldara top. alesse birth control pill. roberto alesse diritto comunitario. alesse reviews. alesse. alesse birth control pill. alesse acne. aleve medication. side effects of aleve. aleve. allegra versace. allegra beck versace. allegra side effects. allegra cole. buy alprazolam. alprazolam. buy alprazolam. anxiety alprazolam. alprazolam online. altace ramipril. altace more drug side effects. altace side effects. amaryl more drug side effects. actose and amaryl together. price amaryl. price amaryl. generic for amaryl. amaryl 2mg. cheap ambien. ambien overdose. ambien overdose. amoxicillin rash. amoxicillin dosage. side effects of amoxicillin. amoxicillin dosage. what is amoxil. amoxil 500. amoxil without prescription. amoxil 500mg. amoxil for cats. ansaid tablet. ansaid 100 mg. ansaid 100 mg. ansaid information. ansaid Aカzellikler. effet antabuse. antabuse. antabuse side effects. antabuse. antabuse no prescription. antidote for antabuse. aricept drug. aricept more drug uses. aricept more drug uses. aricept oral. pictures of arimidex. pictures of arimidex. arimidex for men. arimidex. arimidex. aristocort a. who uses aristocort. aristocort 0.1 cream. aristocort. aspirin overdose. aspirin side effects. aspirin mask. synthesis of aspirin. bayer aspirin. hydrocodone aspirin. atarax. atarax side effects. hives atarax. atarax 25mg. atenolol more drug side effects. what is atenolol. what is atenolol. ativan side effects. generic ativan. ativan lorazepam. generic ativan. generic ativan. buy ativan online. ativan drug class. ativan lorazepam. antibiotico augmentin glaxo. amoxicillin augmentin. augmentin 875. augmentin beschreibung. avandamet 4 500 mg tab. avandamet medication. avandamet 4 500 mg tab. fda avandia. avandia side effects. avandia recall. side effects of avandia. avandia news. what is avandia. azithromycin. azithromycin side effects. azithromycin tablets. azithromycin. azulfidine more drug uses. azulfidine more drug uses. azulfidine entab. azulfidine oral. maker azulfidine. bactrim. side effects of bactrim. what is bactrim. bactrim f. bactrim ds oral. bactroban mupirocin. bactroban more drug uses. bactroban ointment nostril. bactroban. bactroban more drug uses. what is bactroban cream used for. bactroban top. docbody contains betapace. betapace af. betapace. betapace arrythmia. adverse effects bextra. adverse effects bextra. bextra recall. bextra pain medication. adverse effects bextra. bextra attorney. bextra recall. biaxin xl side effects. biaxin xl pac. biaxin xl 500 mg. biaxin side effects. biaxin xl side effects. biaxin antibiotic. side effects of bupropion. bupropion side effects. side effects of bupropion. what is buspar. buspar. prescription buspar. buspar medication. buspirone hydrochloride. buspirone side effects. buspirone oral. buspirone. compare buspirone and chlordiazepoxide c fos. buspirone hcl 15 mg. buspirone hcl 15 mg. butalbital fioricet. butalbital compound. buy butalbital. butalbital more drug uses. butalbital compound. butalbital information. butalbital. en cok calan yabanci parcalar. calan forcat. calan blanes. calan forcat. calan forcat. capoten picture. capoten more drug side effects. capoten more drug side effects. capoten dosage for severe hypertension. capoten controls. capoten manufacturer. cardizem cd. side effects of cardizem. cardizem sr. side effects of cardizem. cardizem. side effects of cardizem la. side effect for cardura 4mg. cardura oral. cardura more for patients. cardura xl. cardura 2mg. cardura benicar. carisoprodol cheapest. carisoprodol information. what is carisoprodol. buy carisoprodol. carisoprodol online. casodex side effects. casodex. casodex losing effectiveness. casodex generic. casodex, psa. buy celebrex. celebrex dosage. buy celebrex. buy celebrex. celebrex dosage. drug celexa. buy celexa. celexa buy. celexa withdrawal symptoms. cephalexin oral. cephalexin more drug uses. what is cephalexin. urinary tract infection cephalexin. cephalexin 500mg. cephalexin antibiotic. cephalexin 500 mg. buy cialis. discount cialis. cialis. buy cialis online. generic cialis prices. barnaba giovanni di cipro. cipro and flagyl. cipro for strep throat. camera doppia metro cipro furio camillo. barnaba giovanni di cipro. contraindications for coreg and cipro. contraindications for coreg and cipro. ciprofloxacin 500mg. ciprofloxacin. what is ciprofloxacin used for. ciprofloxacin hcl. ciprofloxacin more drug uses. citalopram hbr. side effects of citalopram. side effects of citalopram. what is citalopram. citalopram more drug uses. clarinex syrup 126. clarinex side effects 144. claritin clarinex 179. allergy clarinex 292. clarinex side effects 144. generic clarinex 149. claritin clarinex 179. clarinex oral 49. claritin d 12 hour. claritin d 12 hour. claritin d. claritin hotel. claritin reditab. buy claritin. how does clomid work. side effects of clomid. clomid. clomid success stories. online clonazepam. clonazepam anti anxiety. clonazepam anti anxiety. buy clonazepam. clonazepam insomnia. online clonazepam. what is clonazepam. clonazepam side effects. clonazepam side effects. buy clonazepam online. buy codeine. buy codeine. codeine. tylenol codeine. tylenol codeine. promethazine with codeine. buy codeine without prescription. codeine cod. colchicine side effects. colchicine 0.6mg tab. colchicine without prescription. colchicine side effects. side effects of colchicine. colchicine more drug uses. liquid collagen. liquid collagen. collagen powder. what is collagen. collagen supplement. side effects of copegus. side effects copegus. pegasys copegus blurred vision. interferon copegus treatment. copegus drug. copegus dosages. copegus. coreg medication. coreg more drug side effects. coreg more drug side effects. coreg side effects. coreg. generic coreg. cozaar oral. cozaar oral. cozaar benefits and effects. cozaar medication. cozaar generic. side effects of cozaar. crestor side effects. side effects of crestor. crestor. cyclobenzaprine. cyclobenzaprine 10 mg. cyclobenzaprine. cyclobenzaprine side effects. cyclobenzaprine 10 mg. cyclobenzaprine hcl 10mg. cyklokapron and estrogen. cyklokapron and estrogen. cyklokapron tablets. cymbalta. cymbalta. side effects of cymbalta. cymbalta oral. cymbalta more drug side effects. cymbalta drug. generic cymbalta. cytotec online. cytotec online. cytotec abortion. cytotec miscarriage. cytotec online. aborto con cytotec. how to use cytotec for abortion. aborto con cytotec. danazol water solubility. danazol. danazol thrombocytopenic purpura. tratamiento danazol. tratamiento danazol. danazol e analogo gnrh. what is darvon. darvon cocktail. darvon cocktail. find darvon. buy darvon. deltasone buy animal. deltasone side effects. deltasone manufacturer. deltasone buy animal. deltasone manufacturer. desyrel oral. desyrel side effects. desyrel oral. desyrel side effects. desyrel insomnia. diabinese implementation. diabinese nursing implications. dietary guidelines for diabinese. cheap diazepam. diazepam online prescriptions overnight. order diazepam. buy diazepam online. diazepam online. order diazepam. didrex and online pharmacy. didrex online. cheap didrex. online pharmacies that have didrex cheap. didronel. didronel in otosclerosis. didronel osteoporosis. didronel osteonecrosis frequency. differin adapalene gel. differin side effects. differin. purging and differin. differin jel. diflucan one. cheap diflucan. buy diflucan. diflucan side effects. diflucan yeast infection. diovan side effects. diovan hct. diovan hct. diovan more drug side effects. what is doxycycline. doxycycline. doxycycline hyclate. doxycycline side effects. effexor xl. effexor xl. effexor withdrawl. effexor xl. efudex cream. efudex for skin tags. efudex for skin tags. efudex cream. efudex weeping. efudex without a prescription. elavil side effects. elavil overdose. what is elavil. what is elavil. elavil oral. generic elavil. emsam patch side effects. emsam more drug side effects. emsam. emsam patch side effects. emsam maoi patch. emsam more for patients. ephedra diet pill. ephedra products. ephedra. ephedrine weight loss products. ephedrine products. ephedrine weight loss products. ephedrine hydrochloride. ephedrine hcl. ephedrine weight loss products. estradiol side effects. estradiol. estradiol side effects. estradiol valerate. estradiol cream. side effects evista. evista more drug side effects. evista side effects. the drug evista. the drug evista. exelon patch. exelon. merger pseg exelon. exelon corp. exelon corporation. exelon vs aricept. buy famvir. famvir for bells palsy. famvir. feldene and side affects. feldene flas. feldene and side affects. feldene injection. feldene and side affects. feldene 20mg. feldene gel. feldene more drug uses. side effects of femara. femara and infertility. femara infertility. femara and infertility. femara and pregnancy. femara en esterilidad. fioricet no prescription. buy cheap fioricet. generic fioricet. fioricet on line. buy cheap fioricet. flexeril more drug uses. flexeril oral. flexeril overdose. flexeril drug. flomax more drug side effects. flomax side effects. drug flomax. flomax. flomax drug. flomax medication. flonase side effects. flonase dosage. flonase online. side effects of flonase. flovent hfa inhl. flovent hfa. flovent hfa. flovent side effects. fluconazole side effects. what is fluconazole. fluconazole side effects. what is fluconazole. fluconazole causes depression. fluconazole causes depression. fluconazole side effects. what is fluconazole. fluoxetine capsules. what is fluoxetine. what is fluoxetine. fluoxetine prozac. novo fluoxetine. prozac fluoxetine. alternative fosamax. side effects of fosamax. fosamax more drug side effects. fosamax plus d. geodon verapamil. geodon oral. geodon oral. geodon bipolar. geodon medicine. geodon verapamil. glucophage xl. glucophage. glucophage and pregnancy. phentermine and glucophage. glucophage weight loss. buy hydrocodone. hydrocodone without prescription. buy hydrocodone. buy hydrocodone online. online hydrocodone. hydrocodone online. backache and hytrin. effect of hytrin on sildenafil citrate. side effects of hytrin. hytrin rsd. side effects of hytrin. hytrin side effects. ibuprofen 800mg. ibuprofen for dogs. ibuprofen warnings. ibuprofen side effects. ibuprofen 800 mg. ibuprofen overdose. ibuprofen. discount imitrex. imitrex statdose. imitrex overnight. imitrex overnight. buy imitrex online. generic imitrex. cheap imovane. imovane zopiclone limovan sleep. imovane 7.5 mg. imovane zopiclone side effects. cheap kamagra. kamagra oral jelly. kamagra uk. smaak van kamagra. keflex oral. drug keflex. keflex more drug uses. keflex. keflex 500 mg. . . . kemadrin. . . klonopin oral. klonopin more drug uses. klonopin overdose. klonopin oral. klonopin drug. pharmacist survey nausea kytril. kytril sex. kytril. drug kytril side effects pregnancy. kytril sex. paid survey pharmacists kytril. lamictal side effects. lamictal side effects. lamictal depression. what is lamictal. lamictal bipolar. lamisil cream. lamisil oral. lamisil. generic lamisil. generic lamisil. discount lamisil no prescription. lariam effets secondaires. malaria lariam video. lariam and birth control pills. lariam. lasix side effects. lasix side effects. lasix for dogs. lasix side effects. ]
- wholesale bags:
- writeback プラグインの日本語処理 - O'GANE'S EXPERIENCES
wholesale bags http://www.googletest.com
Posted at 17:27 - permalink - category: Blosxom - comments(45) - tags: blosxom
Feb 24, 2005 [去年の今ごろ]
RSSの手なおし
このサイトの RSS フィードを RSS Validator に審査してもらった。
- dc:date の日付にタイムゾーンが指定されてない
- admin:errorReportsTo の mailto: に何も書いてない
と怒られた。
この記事へのコメント
- gu:
- めっ(`ω´)
- ogane:
- しゅん。ネビュラ(ry
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Viagra. :
- [Viagra.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Viagra. :
- [Viagra.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Cialis. :
- [Cialis.]
- Trackback from Tramadol. :
- [Tramadol.]
- Trackback from Tramadol. :
- [Tramadol.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Phentermine. :
- [Phentermine.]
- Trackback from Tramadol. :
- [Tramadol.]
- Trackback from Soma. :
- [Soma.]
- Trackback from Tramadol. :
- [Tramadol hydrochloride. Buy tramadol. Tramadol.]
- Trackback from Tramadol. :
- [What is tramadol used for.]
- Trackback from Does fioricet show up in blood work. :
- [Fioricet cheap. Fioricet. Fioricet long term use damage.]
- Trackback from Soma next day. :
- [Soma. Soma fm.]
- Trackback from Buy cheap phentermine online. :
- [Phentermine price. Phentermine. Phentermine no prescription. How does phentermine work. Cheap phentermine online. Phentermine diet.]
- Trackback from Cialis. :
- [Effectiveness comparison levitra cialis. Viagra vs cialis. Cialis 20mg. Buy cialis. Taking viagra with cialis. Cheap cialis. Cialis.]
- Trackback from Re viagra cello. :
- [Viagra. Viagra on line. Viagra lawyers. Online viagra. Taking viagra with cialis. Buy viagra in canada. Re viagra cello. Cheapest viagra prices.]
- Trackback from Viagra. :
- [Viagra. Viagra lawyers. Natural viagra alternatives. Viagra without a prescription. Discount viagra.]
- Trackback from Tramadol side effects. :
- [Tramadol abuse. Tramadol hydrochloride. Buy tramadol. Tramadol. What is tramadol. Side effects tramadol.]
- Trackback from Buy cialis order cialis buy cialis generic. :
- [Cheap cialis. Cialis.]
- Trackback from Tramadol. :
- [Buy tramadol. Tramadol.]
- Trackback from Cialis. :
- [Buy cialis phentermine. Cialis.]
- Trackback from Buy fioricet full information amp low prices. :
- [Fioricet order. Fioricet. Fioricet free shipping. Does fioricet show up in blood work. Fioricet online. Fioricet overnight. Cheapest fioricet. Fioricet message board.]
- Trackback from Paxil. :
- [Risks of quitting paxil. Paxil.]
- Trackback from Cheapest fioricet. :
- [Fioricet cheap. Fioricet order. Webresults fioricet. Fioricet.]
- Trackback from Ambien. :
- [Ambien.]
- Trackback from Fioricet. :
- [Fioricet prescription. Buta apap caff gen_ for fioricet. Fioricet. Does fioricet show up in blood work. Cheap fioricet. Cheapest fioricet. Fioricet plain pill.]
- Trackback from Xanax side effects. :
- [Xanax.]
- Trackback from Phentermine. :
- [No prescription phentermine. Phentermine. Phentermine overnight. Phentermine cheap.]
- Trackback from Fioricet. :
- [Fioricet. What is fioricet.]
- Trackback from Ambien purchase omline. :
- [Ambien during pregnancy. Ambien sleeping pill. Ambien. Ambien 10mg doseage. Addiction to ambien.]
- Trackback from Phentermine. :
- [Phentermine. Buy phentermine mg. Phentermine weight loss.]
- Trackback from Ambien online. :
- [Ambien us pharmacy. Ambien online. Ambien. Long term ambien. Ambien cr.]
- Trackback from Purchase cialis online. :
- [Cialis best price buy online.]
- Trackback from Paxil side effects. :
- [Paxil side effects of the drug. Paxil and insomnia.]
- Trackback from Soma. :
- [Soma sun pilates. Soma. Buy soma watson brand online 150 tablets. Soma half ironman. Drug soma. Soma in urine. Soma online next day. Soma fm.]
- Trackback from Viagra. :
- [Viagra. Generic viagra.]
- Trackback from Buy wholesale adderall. :
- [Adderall xr side effects. Buy adderall without a prescription. Combining adderall and strattera. Adderall 7.5 image. Adderall medication. Adderall. Where to buy adderall.]
- Trackback from Fioricet. :
- [Fioricet drug test. Fioricet. How long does fioricet show up in blood work. Fioricet dosage. Cheapest fioricet.]
- Trackback from Fioricet plain pill. :
- [Fioricet side effects message board. Fioricet info pain medication prescription. Fioricet. Fioricet and blood work. Cheapest fioricet.]
- Trackback from Buy xanax online. :
- [Xanax withdrawal. Buy xanax online. Xanax.]
- Trackback from Fioricet c.o.d.. :
- [Fioricet. Fioricet with codeine.]
- Trackback from Xanax. :
- [Xanax dosage. Xanax. Drug interactions depression xanax.]
- Trackback from Diet tablets phentermine. :
- [Cheap phentermine. No prescription phentermine. Phentermine price. Phentermine. Lowest online phentermine price. Phentermine cheap.]
- Trackback from Cheap phentermine. :
- [Buy phentermine. Phentermine. Order phentermine uk.]
- Trackback from Soma. :
- [Tempra soma. Soma side effects. Soma without prescription. Soma next day delievery. Soma triathlon. Soma sen. Drug soma cause any sexual side effects. Drug soma.]
- Trackback from Phentermine. :
- [Phentermine. Phentermine review.]
- Trackback from Ambien cr. :
- [Ambien cr and alcohol. Ambien sleeping pill. Ambien and hot flashes. Ambien onlilne overnite shipping.]
- Trackback from Ambien next day delivery where. :
- [Will ambien show up in a urine test. Ambien cr.]
- Trackback from Phentermine. :
- [Phentermine. Phentermine online pharmacy. Phentermine for sale.]
- Trackback from Adderall. :
- [Adderall xr side effects. Adderall xr. Buy adderall without a prescription. Adderall.]
- Trackback from Xanax xr crushed. :
- [Buy xanax online. Xanax xr crushed. Xanax. No prescription needed purchasing xanax. Xanax with klonopin. Buy xanax no prescription.]
- Trackback from Tramadol for dogs. :
- [Tramadol shipped to florida. Free blog hosting from tramadol anothervision info. Tramadol side effects. Tramadol hcl. Tramadol. Cheapest tramadol. Tramadol 100mg. Tramadol com.]
- Trackback from Xanax. :
- [Chemical compounds of xanax. Xanax withdrawal. Xanax.]
- Trackback from Buy adderall. :
- [Adderall. Taking adderall.]
- Trackback from Discount phentermine. :
- [Phentermine. Buy phentermine online. Phentermine cheap. Phentermine ingredient. Keyword phentermine.]
- Trackback from Multiple orgasms through cialis. :
- [Buy generic cialis. Cialis best price buy online. Cialis.]
- Trackback from Cialis. :
- [Order cialis add to cart. Cialis best price buy online. Taking viagra with cialis. Cialis. Levitra cialis viagra.]
- Trackback from Generic ambien. :
- [Ambien. Ambien online. Ambien empty stomach. Ambien online no prescription overnight delivery. Overnight ambien. Ambien cr.]
- Trackback from Ambien side effects. :
- [Ambien. Ambien purchase omline.]
- Trackback from Ambien forum. :
- [Is ambien safe to take during early pregnancy. Ambien. Generic ambien. Ambien side effects. How to stop taking ambien. Ambien hallucinations dizziness.]
- Trackback from Ambien sleeping pill. :
- [Ambien during pregnancy. Ambien. Generic ambien. Ambien lethal. Ambien cr.]
- Trackback from Buy ambien cr. :
- [Ambien abuse. Generic ambien. Buy ambien without prescription. Ambien and brain injuries.]
- Trackback from Levitra cialis viagra. :
- [Viagra vs cialis. Cialis best price buy online. Cialis.]
- Trackback from Ambien next day delivery us. :
- [Buy ambien online no prescription. Ambien overdose. Ambien. Ambien overnight. Buy ambien online. Addiction to ambien.]
- Trackback from Adderall. :
- [Snorting adderall. Adderall side effects. Adderall and migraines. Adderall. Smoking adderall. Safely withdrawing from adderall.]
- Trackback from Phentermine cod. :
- [Cheap 37 5 phentermine.]
- Trackback from Cialis cocaine combination. :
- [Multiple orgasms through cialis. Buy generic cialis. Viagra cialis levitra buy cheap cialis buy ciali. Metaprolol cialis. Online pharmacy cialis on line. Cialis.]
- Trackback from Buy cialis. :
- [Buy cialis. Cialis st. Cialis.]
- Trackback from Phentermine. :
- [Keyword phentermine.]
- Trackback from Adderall xr. :
- [Adderall xr side effects. Dextroamphetamine adderall comparison. Adderall xr. Adderall treating anxiety in adults. Adderall.]
- Trackback from Ambien overdose. :
- [Ambien buy. Ambien. Ambien empty stomach.]
- Trackback from Ambien during pregnancy. :
- [Does ambien interrupt the menstrual cycle.]
- wholesale bags:
- RSSの手なおし - O'GANE'S EXPERIENCES
wholesale bags http://www.googletest.com
Posted at 15:28 - permalink - category: Blosxom - comments(83) - tags: blosxom
Feb 17, 2005 [去年の今ごろ]
「去年の今ごろ」プラグインを作成、導入しました。
これは
日付を入力すると数年前の同じ日付に作成/更新されたエントリが存在すれば表示する plugin です。n年日記としてハイパー日記システムでおなじみの機能を参考に作成しました。
ダウンロード
http://park18.wakwak.com/~ogane/blosxom/naganen
使い方
- 上のファイルを Blosxom の plugins ディレクトリにコピーします。
- Blosxom に date=xxxx(4ケタの日付) として query を送信します。(例 http://park18.wakwak.com/~ogane/cgi-bin/blosxom.cgi/?date=0214 とすれば2月14日のエントリを検索します。)
- 結果が表示されます。
また、story flavor に
<a href="$url/?date=$mo_num$da">去年の今ごろ</a>
とか追加すると便利です。
この記事へのコメント
- gu:
- 今日の晩酌マダー?
- ogane:
- 最近はめっきり飲んでないんですよ。
- gu:
- では今後は「今日の断酌」になるわけですね。
- ogane:
- 断酒が続けばね。ゼミ明け辺りがヤマ場かなあ。
- wholesale bags:
- 「去年の今ごろ」プラグインを作成、導入しました。 - O'GANE'S EXPERIENCES
[url=http://www.googletest.com]wholesale bags[/url] - ナイキのランニングシューズ,ナイキ製品,ナイキgolf,ランニング ナイキ シューズ:
- http://www.turninclothes.com iphoneブランドカバー,5s ケース,iphoneケースブランド人気,5s iphone ケース
ナイキのランニングシューズ,ナイキ製品,ナイキgolf,ランニング ナイキ シューズ http://www.takeinterestclothes.com - ナイキ ブーツ レディース:
- ナイキ グラブ オーダー
ナイキ ブーツ レディース http://fadsokure45.hatenablog.com/entry/2014/09/25/211005
Posted at 00:30 - permalink - category: Blosxom - comments(7) - tags: blosxom
Feb 13, 2005 [去年の今ごろ]
now_listening プラグインを導入してみた。
Piece of a Puzzle - Weblog - now_listening plugin の now_listening プラグインを導入してみました。サイドバーにある「Now Playing」というのがそれです。
Winamp の Do Something プラグイン
now_listening プラグインは Winamp の Do Something プラグインが出力したテキストを元に曲情報を表示しています。ところがこの Do Something プラグインは私が使っている Winamp 5.04 上では、曲と Winamp本体の停止情報を検出しないので(不具合らしい)、Blosxom 上で「Now Playing」と「Last Played」の表示を切り替えることができません。
代わりに Now Playing プラグインを使う
これを解決するために代替となるプラグインを探したところNow Playing - WinAmp 5 Plug-inというものがありました。使い方は Do Something プラグインと大きく変わりません。まずプラグインの設定画面で FTP の設定を行います。注意するのは標準で出力されるデータがHTMLになっているので、Html Settings の Use Template にチェックを入れておくことです。あとは General Options で Enable にしてプラグインを動作させます。
ちなみに Blosxom の now_listening 向けの template は、
stat=[np:IsPlaying]Now Playing[/np:IsPlaying][np:NotPlaying]Last Played[/np:NotPlaying] artist=[np:artist1] title=[np:title1] album=[np:album1]
のようになります。
Now Playing プラグインの問題
うちの環境では、mp3のID3タグはシフトJISで記録されています。しかしこのサイトで使う文字こーどははEUCで統一しているのでどちらかを変換してもう片方にあわせてあげなくてはなりません。ID3タグの文字コードすべてを変換するのは億劫なのでサーバ側のスクリプトで変換することにしました。
んでjcode.plを使って変換し文字化け表示を回避することができたのですが、日本語のアーティスト名/曲名を見て新たな問題に気づきました。それぞれの情報が
artist=アーティスト名 title=曲名
として送信されるところが、
artist=アーティスト名|曲名 title=アーティスト名|曲名
という風になってしまうのです。これはおそらく Now Playing プラグインが日本語で記録されたID3タグををうまく解釈できず、区切りを発見することができなかったために起こった現象でしょう。Do Something プラグインに戻したら解消されました。
この記事へのコメント
- jaeger ボストンバッグ:
- coach キーリング
jaeger ボストンバッグ http://www.xwigge.com/ - wholesale bags:
- now_listening プラグインを導入してみた。 - O'GANE'S EXPERIENCES
wholesale bags http://www.googletest.com
Posted at 04:21 - permalink - category: Blosxom - comments(2) - tags: blosxom
Feb 12, 2005 [去年の今ごろ]
簡易表示用の flavour の作成。
携帯端末(iモード、ezweb 等)向けの簡易表示用 flavour を作成しようと思った。ここでいう簡易表示とは、
- ページコンテンツの容量を抑える。必要に応じて省略を行う。
- 画像は極力用いない。
というものである。加えて、汎用性に影響が出ない範囲で携帯端末向けの拡張(アクセスキーの設定など)を行う。1.を実現するためには、1ページに表示するエントリ数を少なくするという方法があるが Blosxom 単体ではその表示件数は変更することができないので hail2u.net の hail2u.net - Weblog - あるflavourだけ$num_entriesの数を変える にある方法を利用する。エントリの省略表示には foreshortend プラグインによって出力された結果を利用する。
続きはまたこんど考えよう。
この記事へのコメント
Posted at 16:46 - permalink - category: Blosxom - comments(0) - tags: blosxom
Feb 07, 2005 [去年の今ごろ]
エントリの日付を画像で表示する。
手書き風
エントリの日付を手書き風の文字で表示したいと思った。
日付は年・月・日、と並ぶ形式だから 0 から 9 までの数字画像、年月日の文字を用意すれば簡単に実現できそうだと考えた。
Blosxom 本体が用意する日付関係の変数は $yr (年), $month_num (月), $da (日) や $dw (曜日)である。例えば年が 2004 なら千の位は 2 、百の位は 0 … というように一文字づつにわけていく。その値を返すプラグインを書けばよい。
プラグインが
my ($dummy, $pkg, $date_ref, $mtime, $dw,$mo,$mo_num,$da,$ti,$yr) = @_;
として Blosxom から取得できる年月日の変数は %02d 形式で整形された値なので単純に文字列を一文字づつ切り分ければよいのです。
数字の桁数は、年は4桁、月と日は2桁として以下のように書きました。
# Blosxom Plugin: # Author(s): # Version: $Revision: # $Id: # package dateimg; use strict; use vars qw($y1 $y2 $y3 $y4 $m1 $m2 $d1 $d2); # --- Configurable variables ----- # --- Configurable variables ----- sub start { 1; } sub date { my ($dummy, $pkg, $date_ref, $mtime, $dw,$mo,$mo_num,$da,$ti,$yr) = @_; my ($i, $y, $m, $d, $dd); $y1 = substr ($yr, 0, 1); $y2 = substr ($yr, 1, 1); $y3 = substr ($yr, 2, 1); $y4 = substr ($yr, 3, 1); $m1 = substr ($mo_num, 0, 1); $m2 = substr ($mo_num, 1, 1); $d1 = substr ($da, 0, 1); $d2 = substr ($da, 1, 1); 1; } 1;
そして story flavor に以下を加える。
<img alt="$dateimg::y1" src="/~ogane/image/num-$dateimg::y1.gif"> <img alt="$dateimg::y2" src="/~ogane/image/num-$dateimg::y2.gif"> <img alt="$dateimg::y3" src="/~ogane/image/num-$dateimg::y3.gif"> <img alt="$dateimg::y4" src="/~ogane/image/num-$dateimg::y4.gif"> <img alt="年" src="/~ogane/image/date-year.gif"> <img alt="$dateimg::m1" src="/~ogane/image/num-$dateimg::m1.gif"> <img alt="$dateimg::m2" src="/~ogane/image/num-$dateimg::m2.gif"> <img alt="月" src="/~ogane/image/date-month.gif"> <img alt="$dateimg::d1" src="/~ogane/image/num-$dateimg::d1.gif"> <img alt="$dateimg::d2" src="/~ogane/image/num-$dateimg::d2.gif"> <img alt="日" src="/~ogane/image/date-day.gif">
flavor の解説。読みやすくするために改行を加えていますが実際には改行を入れません。改行を入れると画像の間にすき間が空いてしまったからです(IE, Opera で確認)。使われている変数を下に示します。
$dateimg::y1 〜 y4 | 年の各桁。2005 年なら y1 = 2,y2 = 0,y3 = 0,y4 = 5 となる。 |
$dateimg::m1,m2 | 月の各桁。 |
$dateimg::d1,d2 | 日の各桁。 |
ここでは /~ogane/image ディレクトリに
- num-0.gif 〜 num-9.gif
- date-year.gif, date-month.gif, date-day.gif
を用意しておいた。これの実行結果が下の図。
いっそう愛着が湧くというものです。
曜日の表示
曜日のデータは数字として変数 $dw に格納されているので一週間分の曜日の画像を用意すれば flavor を変更するだけで表示できます。
ogane's handwriting
ogane の手書き文字です。ご自由にお使いください。
この記事へのコメント
Posted at 06:10 - permalink - category: Blosxom - comments(0) - 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 |
この記事へのコメント
wholesale bags http://www.googletest.com