WordPress 初體驗–快速安裝與中文化手冊

由於最近忽然不太爽~ MT沒有page view(就是可以一直往上頁去看文章,MT 雖然有一篇篇的移動~ 但是卻不能在同一類~ 或是main page 做page view)MT3 可以,MT4 我現在還在尋找之下~~ 基於WordPress 有很多漂漂亮亮的Themes~ 而且有很多大大也在用WordPress~~

偷偷試試看吧~~~            我心裡是這樣想的~~ > >

後來發現~~ 還真是好安裝~~~轉眼間~ 已經裝好了~ 並且中文化~ (還沒說~ 我換了一個Themes…)~~ 以下就簡單的說吧~  大家看看有多輕鬆~ 多快速:

  1. 去這裡下載最新的WordPress.
  2. 建立一個資料庫(my SQL)
  3. 解壓縮檔案
  4. 把wp-config-sample.php 改成wp-config.php
  5. 打開wp-config.php
  6. 寫入MySQL資料庫名稱~使用者名稱與密碼
  7. 登入 http://yourdomain/yourpath/wp-admin/install.php
  8. 依序打入資料
  9. 安裝完成~~~ (夠快吧~ 我都可以背起來)
  10. 去這裡下載中文化檔案
  11. 在wp-content 目錄下解壓縮
  12. 再度打開wp-config.php
  13. 修改define(‘WPLANG’,’zh_TW’);
  14. 中文化完成~~~
  15. 這裡有個不錯的Theme
  16. 解開在wp-content/Themes
  17. 在外觀那邊點選一下~~
  18. 連Theme 都換好了~~

沒騙你~ 夠快吧!!

連寫BLOG的我~ 都覺得快的嚇人~~~

不過MT4已經改良很多了~~ 基本上安裝就是學習WordPress 不過~ 講真實的~ MT4 的執行還是走CGI整體速度卻比MT2.661 慢上許多~~ 要好好改善才是~~ (而且沒有中文化~~)

勇者鬥惡龍-神劍(Dragon Quest Swords)DQS就要發售了~

Wii 的期待遊戲LIST裡面~~ 第一名(我的第一名啦~) 就是這款DQS(Dragon Quest Swords)~~ 裡面不僅僅可以利用揮動的體感遊戲來砍殺敵人~ 還可以使用法術或是魔法劍(基加丁??)。

剩下不到十天了,官方網站最近也多了一個Mini Game (有NEW那個的最後一個)

多了砍史萊姆的小遊戲 官網左下方有道具欄,點左方的選項的話,會不定時掉出道具 收集一定道具可以升級武器,升級武器有助於玩小遊戲 像一開始的銅劍,砍史萊姆一次分裂成2隻 我升級成鐵劍,砍一次分裂成3隻 這個還有網路排名~~目前第一名是962隻 (感謝PTT網友:kevin2 (青山沙織命!!!)》)

還是先看看預告片止癢~

[youtube http://www.youtube.com/watch?v=Zxg64_kBpYg]

Wii 改機資訊整理

大部分資訊來自皮安克電玩~ 本網頁僅做整理備份之用

How to handle YouTube in your program

Home


**Summarized:
**YouTube the world largest bideo braofcast company. People usually watch video under the web site or use the mashup to integrate into theirown blog. This article describes the way to deal with YouTube  via C++ coding. I will show you how to handle YouTube  API using Web Browser or using C++ to write a simple sample to demo how to get response from YouTube. Also I also tell you help to write a simple program to download YouTube video via HTTP connection client.

**YouTube APIs
**YouTube already provide lots of APIs which could help us to query video detail, get list by tag, list popular… All you have to do is open a url which like

[http://www.youtube.com/api2_rest?method=youtube.videos.list_by_tag&dev_id=XXXX_ID&tag=TakeThat](http://www.youtube.com/api2_rest?method=youtube.videos.list_by_tag&dev_id=XXXX_ID&tag=TakeThat) > >

As you see the URL it separate into three part:

  1. “method=youtube.videos.list_by_tag”: it
    is API name, whole API list is here.

  2. “dev_id=XXXX_ID”: Every API request need a developer ID which you can request here.

  3. “&tag=TakeThat”: This API could help to figure out the list of specific tag. Oh my favorite band is “Take That” ^_^.

After you send the Http request via your browser, you would get the result XML as follow:

Y_XML

Yes, a XML based response which you could full handle it in any kinds of program you like.

**Download YouTube:
**Pick up any video from YouTube which like: http://youtube.com/watch?v=abK9WNFbKus&eurl=%2Findex. How to download it via Http connection? First I want to introduce a web site which can help you to transform your YouTube URL to a download-able address. 男丁格爾’s 脫殼玩 - FLV Video Parser Web 版 is a one of this web site.

Because any playback from YouTube need request a SK(I don’t know what is stand for). How to get the SK? You can paste a URL like http://youtube.com/watch?v=abK9WNFbKus&eurl=%2Findex, and you open the source code of this page (Use IE to right click and “View Source”). Search a strinbg as follow:

 function writeMoviePlayer(player_div, force)  {   var v = "7";   if (force)    v = "0"; > >   var fo = new SWFObject("/player2.swf?hl=en&BASE_YT_URL=http://youtube.com/&video_id=1vjLC_gcftE&l=121&t=OEgsToPDskIwzbAyRDMe7MOVOjVzt-Qf&soff=1&sk=CxfMnY-qWhLIp4nOKIFWOgU", "movie_player", "450", "370", v, "#FFFFFF"); > >    fo.addVariable("playnext", 0);   fo.addVariable("hl", getQueryParamValue("hl"));   fo.addParam("allowFullscreen", "true");     fo.addVariable("sourceid", "yw");     fo.addVariable("sdetail", "m%3Auser%2Crv%3AabK9WNFbKus");   player_written = fo.write(player_div);  } > >

Use the “RED” string and connect with http://www.youtube.com/get_video? it should be http://www.youtube.com/get_video?video_id=1vjLC_gcftE&l=121&t=OEgsToPDskIwzbAyRDMe7MOVOjVzt-Qf&soff=1&sk=CxfMnY-qWhLIp4nOKIFWOgU it could download the video from YouTube directly. (The URL may invalid after a period time, please request it again.)

**Sample Program:
**Any handle of YouTube could via Http connection clien which IE/FireFox… CHttpClient is a very useful simple http client program which write by C++. 

It has a clear GUI and useful connection API to get/post and request to Web Site via HTTP. I modify this application and change it to deal with YouTube.

Please download in
http://www.badongo.com/file/3563196

Any comment is welcome.

用記事本寫HTML畫圖???

[youtube http://www.youtube.com/watch?v=NqFOB77jLaE]

發霉客看到的

暨之前小畫家勇者之後~~果然神人界總是不會停止的~~~ 現在出現了利用記事本來寫html去畫圖的人~~  

利用記事本寫code ,其實對於軟體工程師而言算是蠻簡單的~~ (雖然後來ultraEdit 實在看到鬼的好用~~ )但是很多時基於快速~ 我們還是會使用記事本來修改程式~~ 不過~ 利用記事本寫html 裡面的table 並且將每個td 去著色的技巧~ 只能說太神奇了~~~~

女人最大也最恐怖的武器

[youtube http://www.youtube.com/watch?v=4BRUOC-QRbk]

主要是正妹星球看到的影片,不過在浮士德的異想空間~ 有一些主要的敘述如下:

場景一: 不好意思~~ 嗯? 這隻娃娃我夾了好多好多次,但就是夾不起來...為什麼夾不起來呢.... 耶....這....就繼續加油囉.... 但我超想要的! 耶...那...其實...我們真的是不可以這樣子做啦... 拜託~~ 那...就只有這次破例哦..... 謝謝~~~  (商品實驗完有還給店家) 場景二: 你好~這個,麻煩你們 來,請轉一次 啊~~是紅的! 紅球是銘謝惠顧唷 耶~~那....再讓我玩一次!下次我會灌注念力下去轉的! 剛就當作練習...? 嗯嗯!練習! 可是一張只能轉一次啊...只能再一次唷... 啊~我們三個人來一起灌注念力吧! (來賓驚嘆) (省略) . . 啊~剛剛忘了往回轉,要好好攪拌一下.........呀!中獎了!白的!中獎了!鏘鏘,怎麼沒有鏘鏘? (不是美女的話,這邊還真的是奧客) 場景三: 不好意思...我想點這個中午套餐可以嗎? 啊,這個啊...我們午餐特惠已經結束了,你可以參考這邊的餐點...... 你們中午特餐是到幾點呢? 到三點....嗯~現在已經晚上七點了呢 真的沒有豬生姜焼き(我不知道這餐點中文叫啥)了嗎? 這個嘛...現在有點... > >

我個人覺得最好笑的是最後的時候~~ 主持人詢問可愛女主角說~~ “那你覺得旁邊那個女生也能做到嗎?”   女主角又不改天真可愛的表情說”她~~ 應該’某種程度’可以做到” ~~

想不到~~ 美女機車也那麼可愛~~~~