Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Cannot modify header information - headers already sent by (output started at /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php:450) in /home/users/2/main.jp-apps/web/blog/wp-includes/feed-rss2.php on line 8
Aralabo http://apps.main.jp/blog Just another WordPress site Wed, 05 Dec 2012 00:30:46 +0000 ja hourly 1 http://wordpress.org/?v=4.2.2 WordPress MEからWordPress日本語版への移行 – S-page Weblog : S-page / Zen-Cartのモジュール配布&カスタマイズ http://apps.main.jp/blog/blog/2012/02/14/wordpress-me%e3%81%8b%e3%82%89wordpress%e6%97%a5%e6%9c%ac%e8%aa%9e%e7%89%88%e3%81%b8%e3%81%ae%e7%a7%bb%e8%a1%8c-s-page-weblog-s-page-zen-cart%e3%81%ae%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc/ http://apps.main.jp/blog/blog/2012/02/14/wordpress-me%e3%81%8b%e3%82%89wordpress%e6%97%a5%e6%9c%ac%e8%aa%9e%e7%89%88%e3%81%b8%e3%81%ae%e7%a7%bb%e8%a1%8c-s-page-weblog-s-page-zen-cart%e3%81%ae%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc/#comments Tue, 14 Feb 2012 00:38:02 +0000 http://apps.main.jp/blog/?p=38 続きを読む WordPress MEからWordPress日本語版への移行 – S-page Weblog : S-page / Zen-Cartのモジュール配布&カスタマイズ]]> WordPress MEからWordPress日本語版への移行 – S-page Weblog : S-page / Zen-Cartのモジュール配布&カスタマイズ.

うまくいくかな?

]]>
http://apps.main.jp/blog/blog/2012/02/14/wordpress-me%e3%81%8b%e3%82%89wordpress%e6%97%a5%e6%9c%ac%e8%aa%9e%e7%89%88%e3%81%b8%e3%81%ae%e7%a7%bb%e8%a1%8c-s-page-weblog-s-page-zen-cart%e3%81%ae%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc/feed/ 0
サイト作成時のSEOてきな留意点 http://apps.main.jp/blog/blog/2012/02/13/%e3%82%b5%e3%82%a4%e3%83%88%e4%bd%9c%e6%88%90%e6%99%82%e3%81%aeseo%e3%81%a6%e3%81%8d%e3%81%aa%e7%95%99%e6%84%8f%e7%82%b9/ http://apps.main.jp/blog/blog/2012/02/13/%e3%82%b5%e3%82%a4%e3%83%88%e4%bd%9c%e6%88%90%e6%99%82%e3%81%aeseo%e3%81%a6%e3%81%8d%e3%81%aa%e7%95%99%e6%84%8f%e7%82%b9/#comments Mon, 13 Feb 2012 06:44:17 +0000 http://apps.main.jp/blog/?p=36 続きを読む サイト作成時のSEOてきな留意点]]> ウェブマスター向けガイドライン – ウェブマスター ツール ヘルプ.

次のガイドラインに沿ってサイトを作成すると、Google のインデックスに登録されやすくなります。ガイドラインの提案項目を導入しないサイトでも、「品質に関するガイドライン」には目を通されますようお願い致します。このガイドラインでは、Google のインデックスから完全に削除されるか、アルゴリズムまたは手動によるスパム対策が実施される可能性のある不正行為について説明しています。スパム対策が実施されたサイトは、Google.co.jp や Google のパートナー サイトの検索結果に表示されなくなることがあります

]]>
http://apps.main.jp/blog/blog/2012/02/13/%e3%82%b5%e3%82%a4%e3%83%88%e4%bd%9c%e6%88%90%e6%99%82%e3%81%aeseo%e3%81%a6%e3%81%8d%e3%81%aa%e7%95%99%e6%84%8f%e7%82%b9/feed/ 0
twitterのAPIが返すデータ http://apps.main.jp/blog/blog/2011/05/25/21/ http://apps.main.jp/blog/blog/2011/05/25/21/#comments Wed, 25 May 2011 00:20:45 +0000 http://apps.main.jp/blog/?p=21 objec … 続きを読む twitterのAPIが返すデータ]]> ツイッターが返すデータの一例(statuses/replies)

array(2) {
[0]=> object(stdClass)#5 (19) {
[“in_reply_to_status_id_str”]=> string(17) “72999061636132865”
[“retweet_count”]=> int(0)
[“user”]=> object(stdClass)#6 (36)
{
[“is_translator”]=> bool(false)
[“statuses_count”]=> int(83)
[“profile_link_color”]=> string(6) “0084B4″
[“protected”]=> bool(false)
[“location”]=> string(9) “***”
[“profile_sidebar_border_color”]=> string(6) “a8c7f7″
[“name”]=> string(12) “*****”
[“time_zone”]=> string(5) “Tokyo”
[“url”]=> NULL [“default_profile”]=> bool(false)
[“listed_count”]=> int(0)
[“profile_use_background_image”]=> bool(false)
[“utc_offset”]=> int(32400)
[“verified”]=> bool(false)
[“created_at”]=> string(30) “Fri Sep 04 23:41:11 +0000 2009″
[“profile_background_color”]=> string(6) “7f8279″
[“description”]=> string(36) “*********”
[“lang”]=> string(2) “ja”
[“profile_background_image_url”]=> string(65) “http://a2.twimg.com/profile_background_images/76878574/haikei.jpg”
[“id_str”]=> string(8) “71672288”
[“default_profile_image”]=> bool(false)
[“contributors_enabled”]=> bool(false)
[“profile_text_color”]=> string(6) “333333”
[“id”]=> int(71672288)
[“show_all_inline_media”]=> bool(false)
[“geo_enabled”]=> bool(true)
[“profile_sidebar_fill_color”]=> string(6) “C0DFEC”
[“profile_image_url”]=> string(60) “http://a0.twimg.com/profile_images/707210296/icon_normal.jpg”
[“profile_background_tile”]=> bool(false)
[“favourites_count”]=> int(0)
[“followers_count”]=> int(13)
[“follow_request_sent”]=> bool(false)
[“following”]=> bool(false)
[“notifications”]=> bool(false)
[“friends_count”]=> int(31)
[“screen_name”]=> string(9) “araking21″
}
[“in_reply_to_screen_name”]=> string(7) “a_rabot”
[“in_reply_to_user_id_str”]=> string(9) “297734423”
[“in_reply_to_status_id”]=> float(7.29990616361E+16)
[“contributors”]=> NULL [“retweeted”]=> bool(false)
[“text”]=> string(36) “@a_rabot そんなものですかね”
[“created_at”]=> string(30) “Tue May 24 12:30:23 +0000 2011″
[“place”]=> NULL
[“id_str”]=> string(17) “73002904973344768”
[“coordinates”]=> NULL
[“geo”]=> NULL
[“in_reply_to_user_id”]=> int(297734423)
[“id”]=> float(7.30029049733E+16)
[“source”]=> string(3) “web”
[“favorited”]=> bool(false)
[“truncated”]=> bool(false)
}
[1]=> object(stdClass)#7 (19)
{ [“in_reply_to_status_id_str”]=> string(17) “71726910773796864”
・・・

配列とオブジェクトが混在している。

]]>
http://apps.main.jp/blog/blog/2011/05/25/21/feed/ 0
配列からランダムに取得する http://apps.main.jp/blog/blog/2011/05/22/%e9%85%8d%e5%88%97%e3%81%8b%e3%82%89%e3%83%a9%e3%83%b3%e3%83%80%e3%83%a0%e3%81%ab%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b/ http://apps.main.jp/blog/blog/2011/05/22/%e9%85%8d%e5%88%97%e3%81%8b%e3%82%89%e3%83%a9%e3%83%b3%e3%83%80%e3%83%a0%e3%81%ab%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b/#comments Sun, 22 May 2011 08:32:05 +0000 http://apps.main.jp/blog/?p=18 続きを読む 配列からランダムに取得する]]> なんでも関数があるよね。

$com_data = gettwiamaAll();
$rand_id = array_rand($com_data);

array_rand(配列,取得する数)、こちら

 

]]>
http://apps.main.jp/blog/blog/2011/05/22/%e9%85%8d%e5%88%97%e3%81%8b%e3%82%89%e3%83%a9%e3%83%b3%e3%83%80%e3%83%a0%e3%81%ab%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b/feed/ 0
レポートについて http://apps.main.jp/blog/blog/2011/05/22/%e3%83%ac%e3%83%9d%e3%83%bc%e3%83%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/ http://apps.main.jp/blog/blog/2011/05/22/%e3%83%ac%e3%83%9d%e3%83%bc%e3%83%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#comments Sun, 22 May 2011 08:28:01 +0000 http://apps.main.jp/blog/?p=16 レポートは結果を伝えるのではなく、結論を伝えるもの、というのを意識したい

]]>
http://apps.main.jp/blog/blog/2011/05/22/%e3%83%ac%e3%83%9d%e3%83%bc%e3%83%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/feed/ 0
twitterのAPIリファレンス http://apps.main.jp/blog/blog/2011/05/17/twitter%e3%81%aeapi%e3%83%aa%e3%83%95%e3%82%a1%e3%83%ac%e3%83%b3%e3%82%b9/ http://apps.main.jp/blog/blog/2011/05/17/twitter%e3%81%aeapi%e3%83%aa%e3%83%95%e3%82%a1%e3%83%ac%e3%83%b3%e3%82%b9/#comments Tue, 17 May 2011 14:44:42 +0000 http://apps.main.jp/blog/?p=13 続きを読む twitterのAPIリファレンス]]> TwitterのAPIの仕様書

http://watcher.moe-nifty.com/memo/docs/twitterAPI50.txt

$content = $connection->post(‘statuses/update’, array(‘status’ => $text));

]]>
http://apps.main.jp/blog/blog/2011/05/17/twitter%e3%81%aeapi%e3%83%aa%e3%83%95%e3%82%a1%e3%83%ac%e3%83%b3%e3%82%b9/feed/ 0
配列を結合する http://apps.main.jp/blog/blog/2011/05/16/%e9%85%8d%e5%88%97%e3%82%92%e7%b5%90%e5%90%88%e3%81%99%e3%82%8b/ http://apps.main.jp/blog/blog/2011/05/16/%e9%85%8d%e5%88%97%e3%82%92%e7%b5%90%e5%90%88%e3%81%99%e3%82%8b/#comments Mon, 16 May 2011 05:50:57 +0000 http://apps.main.jp/blog/?p=10 続きを読む 配列を結合する]]> array_merge ( array $配列1, array $配列2[, array …] )

配列を結合する。

$content=array_merge($content1, $content2);

]]>
http://apps.main.jp/blog/blog/2011/05/16/%e9%85%8d%e5%88%97%e3%82%92%e7%b5%90%e5%90%88%e3%81%99%e3%82%8b/feed/ 0
PDOを使ってレコード数を求める http://apps.main.jp/blog/blog/2011/05/16/pdo%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%ac%e3%82%b3%e3%83%bc%e3%83%89%e6%95%b0%e3%82%92%e6%b1%82%e3%82%81%e3%82%8b/ http://apps.main.jp/blog/blog/2011/05/16/pdo%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%ac%e3%82%b3%e3%83%bc%e3%83%89%e6%95%b0%e3%82%92%e6%b1%82%e3%82%81%e3%82%8b/#comments Mon, 16 May 2011 01:00:25 +0000 http://apps.main.jp/blog/?p=4 続きを読む PDOを使ってレコード数を求める]]> PDOを使ってレコード数を求める

$conn = connectDB(); $sql = sprintf(‘select count(*) from %s’,$table);
$sth = $conn->prepare($sql); $sth->execute();
return $sth->fetchColumn();

]]>
http://apps.main.jp/blog/blog/2011/05/16/pdo%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%ac%e3%82%b3%e3%83%bc%e3%83%89%e6%95%b0%e3%82%92%e6%b1%82%e3%82%81%e3%82%8b/feed/ 0