2009 年 1 月 のアーカイブ

WordPressの半角クォーテーションがダブルクォーテーションに変換される問題を解決する方法

2009 年 1 月 21 日 水曜日

WordPressフォルダにある/wp-includes/formatting.phpの34行目
$curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);をコメントアウトする。

$curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);

//$curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);

参考ホームページ
 wordpressでシングルクォーテーション・ダブルクォーテーションが自動で全角に変換されてしまう時の対処
 http://www.wordpress-skin.com/wordpress/?p=147

 WordPressのクォーテーション自動変換を無効化する « SawanoBlog.
 http://sawano.members.icraft.jp/wp/2008/12/10/1109.html

このエントリーを含むはてなブックマーク

3G端末用携帯サイト(docomo,au,softbank,その他)のDOCTYPE宣言

2009 年 1 月 21 日 水曜日

DoCoMo,au,softbank以外
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />

又は

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=Shift_JIS" />

DoCoMo
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/2.3) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=Shift_JIS" />

au
<!DOCTYPE html PUBLIC "-//OPENWAVE//DTD XHTML 1.0//EN" "http://www.openwave.com/DTD/xhtml-basic.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />

softbank
<!DOCTYPE html PUBLIC "-//J-PHONE//DTD XHTML Basic 1.0 Plus//EN" "xhtml-basic10-plus.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />

このエントリーを含むはてなブックマーク

TransEncodingの"ダブル クォーテーションが消える問題を解決する

2009 年 1 月 18 日 日曜日

Movable Typeの文字コード変換PluginであるTransEncodingは変換後に"(ダブル クォーテーション)が消える問題がある。これは、TransEncoding.plの置換に関係ない部分をすべて#でコメントアウトすればOK。

このエントリーを含むはてなブックマーク

拡張子xhtmlで運用できるキャリア(携帯サイト)

2009 年 1 月 18 日 日曜日

“拡張子 .xhtml”と.htaccessに“DirectoryIndex index.xhtml”を合わせて運用すれば携帯サイトの運用が可能と言われるが…

◆実験結果
 DoCoMo(i-mode):xhtml/cssで表示が可能
 softbank(yahoo携帯):xhtml/cssで表示が可能
 au(ezweb):リクエストされたページは表示できません。 ※304エラーとなる。

このエントリーを含むはてなブックマーク

RC版とは

2009 年 1 月 16 日 金曜日

RC版とはRelease Candidate versionの略で開発最終段階の評価版である事を意味する。

このエントリーを含むはてなブックマーク

the server committed a protocol violation. Section=ResponseHeader

2009 年 1 月 16 日 金曜日

the server committed a protocol violation. Section=ResponseHeaderはDBからデータがなんらかの理由で受け取れない状態。
CGI(https://*****/****/dbgw_relay.cgi)の呼び出しが出来ませんでした。と共に表示される。

解決方法はなし。
サーバーを変更するしかない。

詳細:CORESERVERでネットショップオーナーは運用できない

このエントリーを含むはてなブックマーク

DBD::mysqlのバージョンを確認

2009 年 1 月 16 日 金曜日

SSH
→perl -MDBD::mysql -e’print $DBD::mysql::VERSION’

このエントリーを含むはてなブックマーク

DBIのバージョンを確認

2009 年 1 月 16 日 金曜日

SSH
→perl -MDBI -e'print $DBI::VERSION'

このエントリーを含むはてなブックマーク

Yahooの検索エンジンでヒットする方法

2009 年 1 月 16 日 金曜日

http://submit.search.yahoo.co.jp/add/request
上記URLにあるフォームにホームページのURL入力し送信

このエントリーを含むはてなブックマーク

法定管理とは

2009 年 1 月 9 日 金曜日

法定管理とは日本の会社更生法に相当する内容。法定管理=倒産。

このエントリーを含むはてなブックマーク