2008/07/05
パリでVJ
2008/04/28
Untitled
携帯サイト構築メモ
キャリア
1G(アナログ) | 2G(1993-) | 3G(2001-) | 3.5G(2003/11 | |
Docomo | 1999/3終了 | mova(PDC) | W-CDMA(FOMA) | HSDPA FOMAハイスピード |
AU(KDDI) | 2000/9終了 | cdmaOne | CDMA2000 1X Aシリーズ | CDMA 1X WIN Wシリーズ |
SoftBank | 終了 | PDC SoftBank 6-2 | W-CDMA SoftBank 3G,SoftBank X 7xx、8xx、9xxシリーズ Xシリーズ(スマートフォン) | HSDPA 3Gハイスピード 現在はカードのみ Cシリーズ |
- AU
- 98%前後が第三世代
- Docomo
- 80%以上が第三世代
- SoftBank
- 75%以上が第三世代
- アメリカでは第1世代(アナログ方式)の利用者が多いらしい
カメラが着いた世代
- AU
- 2002/4
- Docomo
- 2002/6
- SoftBank(J-Phone)
- 2000/10
QRコードが読めるようになった世代
- AU
- 2004
- Docomo
- SoftBank(J-Phone)
- 2002
WIN型番の付け方
- Wynm
- y:WINが始まった2003年を1としての年数
- n:その年にメーカが出した何番目の端末か
- m:メータ識別アルファベット
キャッシュ
セッション管理
個体識別とユーザID
個体識別番号は端末を特定します。利用者が変わっても端末固有の値なので変わりません。ユーザIDは利用者IDを表します。
- Docomo
- FOMA以前
- 個体識別番号
- User-agentの最後についてくる
- ユーザID
- 取得不能
- FOMA
- 個体識別番号
- User-agentに入っている
- ユーザID(FOMAカード製造番号)
- User-agentに入っている
- AU
- ユーザID
- X-Up-Subnoヘッダに入っている
- SoftBank
- 個体識別番号
- User-agentに入ってくる
- ユーザID
- HTTP_X_JPHONE_UIDヘッダに入っている
絵文字変換
キャリア判別
世代分け
ファイルサイズ
Docomo | 5K |
Docomo(FOMA) | 30K(画像等ふくんで100K) |
SoftBank | 6K |
SoftBank(3GC) | 48K(画像等ふくんで300K) |
AU | 画像等ふくんで9K |
- HDML
- CHTML
- XHTML
3G | |
Docomo | 幾つかバージョンある |
SoftBank(3GC2,2006/10-) | XHTML Mobile Profile[WAPXHTMLMP12] |
SoftBank(3G | XHTML Mobile Pofile 1.2 |
AU(KDDI) | WAP2.0 |
XHTML
基本的にOpenMobileAllianceで策定された規格WAP2.0をベースにしている。XHTMLはXHTML Basicが基本。WMLはなくなったと考えていいんじゃいかな。
- Dcomo
- FOMA(2001,2002,2101V以外)
- DocTypeはバージョン毎に数種類ある
- 1.0
- 1.1
- iアプリ,flash,赤外線、キャラ,PDF関連のタグ追加
- 2.0
- テーブルタグ追加
- 2.1
- GPS、マイプロフィール、マチキャラ、着せ替えツール関連のタグ追加
- 2.2
- Flash lite 3.0対応
- AU
- WAP2.0(A1101S以降)
- 3Gの内、A1011ST,A1012K,A1012KII,A1013K,A1014ST以外の全て
- SoftBank
- W型、3GC型
デバッグ
- 各種エミュレータ
- UserAgent偽装
携帯コンテンツ変換ApacheModule
- m od_chxj
- 携帯用コンテンツ変換Apache module
- CHTMLをキャリア対応させます
- 画像、絵文字の変換(定義ファイルに基づく)
- Set-Cookie,Refereヘッダのエミュレーション
参考リンク
2007/12/10
2007/11/20
MacPort+Leopard+PostgreSQL8.2.5
#sudo port install postgresql82-server
だと、コンパイルエラーでインストールできない。既知のバグのよう。
http://trac.macosforge.org/projects/macports/ticket/12994
を参考に、一度installに失敗したあとに、Portfileを上書きする。
http://www.twothree.dk/macports/postgresql825-fix/Portfile
をダウンロードして、
#sudo cp Portfile /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/postgresql82/
# A startup item has been generated that will aid in
# starting postgresql82-server with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql82-server.plist
---> Installing postgresql82-server 8.2.5_0
To create a database instance, after install do
sudo mkdir -p /opt/local/var/db/postgresql82/defaultdb
sudo chown postgres:postgres /opt/local/var/db/postgresql82/defaultdb
sudo su postgres -c '/opt/local/lib/postgresql82/bin/initdb -D /opt/local/var/db/postgresql82/defaultdb'
To tweak your DBMS, consider increasing kern.sysv.shmmax by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf
---> Activating postgresql82-server 8.2.5_0
---> Cleaning postgresql82-server
2007/09/28
FckEditor Config
FCKConfig.FillEmptyBlocks | 空のセルに( )を入れるか? | boolean |
FCKConfig.ProtectedSource | HTMLタグを保護します。 | String(regex) |
FCKConfig.ProtectedTags | HTMLにないカスタムタグがあると、DOMツリーを処理する際に消されてしまいます。そのようなタグを保護します。 | String |
FCKConfig.AdditionalNumericEntities | ||
FCKConfig.BaseHref | ||
FCKConfig.BodyId | ||
FCKConfig.BodyClass | ||
FCKConfig.BrowserContextMenuOnCtrl | ||
FCKConfig.CleanWordKeepsStructure | ||
FCKConfig.CustomConfigurationsPath | ||
FCKConfig.DefaultLinkTarget | ||
FCKConfig.DocType | ||
FCKConfig.EditorAreaCSS | ||
FCKConfig.ToolbarComboPreviewCSS | ||
FCKConfig.FirefoxSpellChecker | ||
FCKConfig.ForcePasteAsPalinText | ||
FCKConfig.ForceStrongEm | ||
FCKConfig.FormatIndentator | ||
FCKConfig.FormatOutput | ||
FCKConfig.FormatSource | ||
FCKConfig.FullPage | ||
FCKConfig.GeckoUseSPAN | ||
FCKConfig.IncludeGreekEntities | ||
FCKConfig.IncludeLatinEntities | ||
FCKConfig.IsSpellDownloadUrl | ||
FCKConfig.PreserveSessionOnFileBrowser | ||
FCKConfig.ProtectedSource | ||
FCKConfig.ProtectedTags | ||
FCKConfig.ProcessHTMLEntities | ||
FCKConfig.ProcessNumericEntities | ||
FCKConfig.StartupFocus | ||
FCKConfig.TemplateReplaceAll | ||
FCKConfig.TemplateReplaceCheckbox | ||
FCKConfig.UseBROnCarriageReturn | ||
FCKConfig.IgnoreEmptyParagraphValue |
2007/09/25
CSS FrameWork
- CSSのリセット
- グリッドレイアウト
- CSSレイアウトのテンプレート
- ブラウザ間の互換性確保
- プリントページ
2007/02/08
FKCEditor2.4
Version 2.4
新機能- The advance Enter Key Handler is now being introduced. It gives you complete freedom to configure the editor to generate or
when the user uses both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode" settings can be use to control its behavior. It also guarantees that all browsers will generate the same output.
- The new and powerful Keyboard Accelerator System is being introduced. You can now precisely control the commands to execute when some key combinations are activated by the user. It guarantees that all browsers will have the same behavior regarding the shortcuts. It also makes it possible to remove buttons from the toolbar and still invoke their features by using the keyboard instead. It also blocks all default "CTRL based shortcuts" imposed by the browsers, so if you don't want users to underline text, just remove the CTRL+U combination from the keystrokes table. Take a look at the FCKConfig.Keystrokes setting in the fckconfig.js file.
- The new "ProtectedTags" configuration option is being introduced. It will accept a list of tags (separated by a pipe "|"), which will have no effect during editing, but will still be part of the document DOM. This can be used mainly for non HTML standard, custom tags.
- Dialog box commands can now open resizable dialogs (by setting oCommand.Resizable = true).
- Updated support for AFP. Thanks to Soenke Freitag.
- New language file:
- Afrikaans (by Willem Petrus Botha).
- New sample file showing how to dynamically exchange a textarea and an instance of FCKeditor. Thanks to Finn Hakansson
- The content of anchors are shown and preserved on creation. *
- Local links to an anchor are readjusted if the anchor changes.
- New configuration values to specify the Id and Class for the body element.
- The links created with the popup option now are accessible even if the user has JavaScript disabled.
- The Paste from Word clean up function can be configured with FCKConfig.CleanWordKeepsStructure to preserve the markup as much as possible. Thanks Jean-Charles ROGEZ.
- The server side script location for SpellerPages can now be set in the configuration file, by using the SpellerPagesServerScript setting.
- Attention: All connectors are now pointing by default to the "/userfiles/" folder instead of "/UserFiles/" (case change). Also, the inner folders for each type (file, image, flash and media) are all lower-cased too.
- Attention: The UseBROnCarriageReturn configuration is not anymore valid. The EnterMode setting can now be used to precisely set the enter key behavior.
Fixed Bugs:
- Shortcut keys are now undoable correctly.
- Toolbar buttons now update their state on shortcut keys activation.
- It is now possible to precisely control which shortcut keys can be used.
- Paste was not working in IE if both AutoDetectPasteFromWord and ForcePasteAsPlainText settings were set to "false".
- The context menu was wrongly positioned if the editing document was set to render in strict mode. Thanks to Alfonso Martinez.
- IE was getting locked on some specific cases. Fixed.
- Firefox' spellchecker is now disabled during editing mode. Thanks to Alfonso Martinez.
- Fixed Safari and Opera detection system (for development purposes only).
- Paste from Notepad was including font information in IE. Fixed.
- When replacing text area, names with spaces are now accepted.
- Depending on the implementation of toolbar combos (mainly for custom plugins) the editor area was loosing the focus when clicking in the combo label. Fixed.
- InsertHtml() was inserting the HTML outside the editor area on some very specific cases.
- On very specific, rare and strange cases, the XHTML processor was not working properly in IE. Fixed.
- In Firefox, the style selector will not anymore delete the contents when removing styles on specific cases.
- The "Insert/Edit Link" and "Select All" buttons are now working properly when the editor is running on a IE Modal dialog.
- On some very rare cases, IE was throwing a memory error when hiding the context menus. Fixed.
- With Firefox, tags defined in the source are now preserved.
- The IE dialog system has been changed to better work with custom dialogs.
- The table dialog was producing empty tags when leaving some of its fields empty.
- HTML entities are now processed on attribute values too.
- Meta tags are now protected from execution during editing (avoiding the "redirect" meta to be activated).
- Firefox internals: styleWithCSS is used instead of the deprecated useCSS whenever possible.
- All JavaScript Core extension function have been renamed to "PascalCase" (some were in "camelCase"). This may have impact on plugins that use any of those functions.
- Operations in the caption of tables are now working correctly in both browsers.
- Small interface fixes to the about box.
- Link creation failed in Firefox 3 alpha. Thanks to Arpad Borsos
- Unneeded call to captureEvents and releaseEvents.
- On some specific situations, the call to form.submit(), in form were FCKeditor has been unloaded by code, was throwing the "Can't execute code from a freed script" error.
- If the configuration was missing the FCKConfig.AdditionalNumericEntities entry an error appeared.
- Cleaning of JavaScript strict warnings in the source code.
- The ol/ul list property window always searched first for a UL element.
- Class attribute in IE wasn't loaded in the image dialog.
- The "OnAfterSetHTML" event is now fired when being/switching to Source View.
- Elements' style properties are now forced to lowercase in IE.
- The extensions "html", "htm" and "asis" have been added to the list of denied extensions on upload.
- Empty inline elements (like span and strong) will not be generated any more.
- Some elements attributes (like hspace) where not being retrieved when set to "0".
- Fix for the ColdFusion script file of SpellerPages.