twibble.io 2024 著作権. 不許複製 プライバシーポリシー
Posted: 2010.12.11 / Category: javascript / Tag: jQuery, json, Twitter, 正規表現 Twitterのつぶやきを表示しているWebサイトがだいぶ多くなってきた昨今。イベントサイトなどでは特定のハッシュタグのつぶやきを表示するといった使い方もされているようです。 ということでこの記事ではjQueryを使用して指定したハッシュタグのつぶやきを取得して表示してみます。 Twitterのハッシュタグを検索し取得するURI Twitterからはさまざまな形式でデータを取得できますが、jQueryを使用するならjson形式が便利です。 ハッシュタグを取得するURIは下記です。 http://search.twitter.com/search.json?q=%23[ハッシュタグ名] [ハッシュタグ名]は取得したいハッシュタグ名に置き換え
[対象: 中級] Googleは、GoogleプレイスとGoogle+ローカルページを統合して管理できるツールとして「Google マイビジネス」を公開しました。 Googleプレイス/Google+ローカルに登録しているなら案内メールが届いているはずです。 Googleマイビジネスでできること Google マイビジネスでは、次のことができます。 Google 検索、マップ、Google+ に表示されるビジネスの情報を一元管理でき、更新もすべて 1 か所で行えます。 美しい写真や店内のバーチャル ツアーを掲載することで、お客様にお店の雰囲気を味わってもらえます。 Google+ ページから最新のニュースやイベント情報を共有し、ファンやお客様と直接つながれます。 オンライン上のクチコミをチェックでき、また、Google ユーザーからのクチコミには返信もできます。 お店のサイトの統計情報や
「DISQUS」というサービスをご存知でしょうか? wordpressデザインを学ぶための超有名ブログ「WEBクリエイターボックス」様を筆頭に、レベルの高そうなwordpressブログのコメント欄でよく見かけるサービスです。 これだけ多くのトップブロガー達が採用するには意味があるのだろう。と思い、正直まだ理解していない機能もあるのですが、当サイトでもコメント欄を「DISQUS」に変更する事にしました。 先に完成イメージからご覧ください。「DISQUS」を導入することにより、このように変わりました。 「DISQUS」はココが凄い! 私が把握している限りですが、「DISQUS」について簡単に説明しておきます。 「DISQUS」というサービスはwordpressのコメント欄を進化させるとことができるのですが、単なるコメント機能!という訳では無いようです。「DISQUS」の基本的な理念として【コメ
以前ここでも「CSS3 Transitionプロパティでアニメーションを実行させるパターン【ページロード/マウスオーバー/クリックアクション】」と題して、 CSSアニメーションの実行パターンをいくつか紹介しましたが、 アニメーションの実行制御をCSS側でなくjQueryで操作させる方法が 簡単でいろいろとこの先使えそうだったので紹介してみます。 構成としてはCSS側でアニメーション設定をしておいて jQuery側でコンテンツ要素に対してclassを付けたり外したりさせることで その要素に対してアニメーション制御をする形になります。 例えばHTMLには 以下のようなidを付けたdivを用意して、 ◆HTML <div id="action"></div> CSS側では 以下のようにアニメーションをセットします。 ◆CSS #action{ top: 0; left: 0; width: 50
ユーザーがページを見た際に、どのくらいスクロールされているのか、また指定した要素がスクロールされて表示されるまでにどのくらいかかるのか、といったデータをGoogle Analytics上で解析できるようにするjQueryのプラグインを紹介します。 実装は簡単、ほんの数行ページに加えるだけです。 Scroll Depth Scroll Depth -GitHub Scroll Depthのデモ Scroll Depthの使い方 Scroll Depthのデモ Scroll Depthは、Universal Analytics, Classic Google Analyticsに対応しており、Google Tag Managerもサポートしています。 対応ブラウザは、Chrome, Safari, Firefox, Opera, IE7-10で、スマフォもiOS, Mobile Opera,
ソーシャルメディアからのアクセスの割合を調べる まず最初に、Google Analyticsで総アクセス数に対してのソーシャルメディアからのアクセス数の割合を調べます。 [集客 > チャネル]と移動する。 その後、上の画像のように[プライマリディメンション:デフォルトチャネルグループ] [円グラフマーク]と選択する。 すると、ソーシャルメディアからの検索流入の割合(上記画像の場合は0.3%)が分かります。 この画像のサイトではOrganic Search(主にgoogle検索エンジン)が91.88%なので、検索エンジンからのオーガニック検索からのアクセス流入にかなり頼っている状態だと分析できます。 短期的にはアクセスが見込めても長期的にはアクセス数が減少する可能性が高いので、ブックマークや被リンク、そしてソーシャルネットワークからのアクセス数を増やす対策が必要だと判断できます。 ソーシャル
Googleカレンダーで設定したイベント等に対応したカレンダー実装スクリプト・kalendarのご紹介です。勿論、普通にイベント設定も可能。jQueryに依存しています。 イベント対応のカレンダーを手軽に実装出来る、というスクリプトです。 こんな感じのカレンダーです。日付を押すとその日のイベント一覧に切り替わります。 Sample events: [ { title: "hoge", start: { date: YYYYMMDD or "YYYYMMDD", time: "HH.MM" }, end: { date: YYYYMMDD or "YYYYMMDD", time: "HH.MM" }, location: "huga", url: "http://example.com", color: "string" } ],イベントは上記の要領で設定すればいいみたい。 他、Google
Maplace.js helps you to embed Google Maps into your website, quickly create markers and controls menu for the locations on map. It requires jQuery and Google Maps API v3 so you need to have both in your page. Features Straightforward implementation with simple options Can run as many maps as required Markers and custom icons, zoom level and custom controls menu Supports for Directions, Polygons, C
Movable Type 6で導入されたメッセージセンターの使い方を紹介します。 1.メッセージセンターとは メッセージセンターとは、MT管理画面の上部にアラートなどのメッセージを表示してくれる機能のことです。 すべての管理画面にメッセージを表示し、ユーザーダッシュボードにメッセージの詳細を表示してくれます。 管理画面の表示 ユーザーダッシュボードの表示 2.プラグインの作り方 メッセージセンターを利用するプラグインの作り方を紹介します。 このエントリーで紹介するサンプルプラグインは以下のリンクからダウンロードできます。 AlertNotifier_0_01.zip ここでは「AlertNotifier」というプラグイン名にします。 AlertNotifierプラグインのファイル構成は次のようになります。 plugins └ AlertNotifier ├ config.yaml └ li
ダウンロードできるデモファイル ローカル環境でデモファイルを見る時は、Chromeでは「file://」で読み込むとフレームレートの変更する時のバグがあるため動作しません。オンラインかFirefoxでご覧ください。 実装は、詳しいドキュメントが公開されていませんが、コードを見ると簡単にできそうです。 Step 1: 外部ファイル 当スクリプトを外部ファイルとして記述します。 <script src="charlie.js"></script> Step 2: HTML まずは、動画をvideo要素で配置。 <video id="video" controls="" preload="none" poster="http://media.w3.org/2010/05/sintel/poster.png" muted> <source id="mp4" src="http://media.w3
FINDJOB! 終了のお知らせ 2023年9月29日にFINDJOB!を終了いたしました。 これまでFINDJOB!をご利用いただいた企業様、求職者様、様々なご関係者様。 大変長らくFINDJOB!をご愛顧いただき、誠にありがとうございました。 IT/Web系の仕事や求人がまだ広く普及していない頃にFind Job!をリリースしてから 約26年間、多くの方々に支えていただき、運営を続けてまいりました。 転職成功のお声、採用成功のお声など、嬉しい言葉もたくさんいただきました。 またFINDJOB!経由で入社された方が人事担当になり、 FINDJOB!を通じて、新たな人材に出会うことができたなど、 たくさんのご縁をつくることができたのではないかと思っております。 2023年9月29日をもって、FINDJOB!はその歴史の幕を下ろすこととなりましたが、 今後も、IT/Web業界やクリエイティブ
Usage: $("#demo1").googleslides({ userid:'115528839112598673902', albumid:'5710317752556741025' }); Usage: $("#demo2").googleslides( { userid:'115528839112598673902', albumid:'5710326335933432353', time:2000, imgmax:260 }); Usage: $("#demo3").googleslides({ userid:'115528839112598673902', albumid:'5710326910876169537', imgmax:100, fadespeed:500, time:8000, caption:false }); Setup Add a reference t
Rotate then flip out それぞれのパネルを回転させ、異なるタイミングでめくってフェードアウトさせます。 animo.jsの使い方 Step 1: 外部ファイル animo.jsはjQuery 2+で動作し、animate.cssを含む60以上の美しいアニメーションをコントロールできます。 head内にjquery.jsと当スクリプト・スタイルシートを外部ファイルとして記述します。 <script src="http://code.jquery.com/jquery-2.0.3.min.js" type="text/javascript"></script> <script src="animo.js" type="text/javascript"></script> <link href="animate+animo.css" rel="stylesheet" type=
JSONデータをHTMLにマッピングできるjQueryプラグイン「JSON2HTML」を紹介します。 JSON2HTML 1.概要 「JSON2HTML」はJSONデータをHTMLにマッピングするためのHTMLテンプレートエンジンです。 次のようなJSONデータがあるとします。 var data = [ { 'name': 'A', 'value': 10 }, { 'name': 'B', 'value': 20 }, { 'name': 'C', 'value': 30 } ]; たとえば、このJSONデータから次のようなHTMLを出力することができます。 <ul> <li>A (10)</li> <li>B (20)</li> <li>C (30)</li> </ul> jQueryプラグインとnode.jsパッケージの2種類が配布されています。 2.ダウンロード JSON2HTML
Wikipediaから任意のキーワードに該当するページにある情報を手軽に取り出せる、というスクリプトのご紹介。地味に使いどころあるかもと思ったので備忘録です。 Wikipediaからキーワードの簡単な情報を表示する、みたいなやつです。 動作デモです。 コード<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script> <script src="jquery.wikipedia.js" ></script>本体とプラグインを読み込む。 $('#foo').WikipediaWidget('東京');キーワードを指定する。 <div id="foo"></div>要素を用意する。これで読み込めます。 ただし、動作デモのように日本のページ
サイトのアクセス数を増やしたいとき、新たにページを増やすのが良いのか、既存のページを改善するのが良いのか判断する必要がありますよね。 その判断をするために、既存のページを修正することで、どの程度の数字を見込めるのかがまったくわからないと、闇雲に新しいページを作り続けてしまうことにもなりかねません。 そこで今回は、既存のページを改善することで、どのくらいのアクセスの増加を見込めるのか、教えてくれるサービスをご紹介します。 組織のマインドマップツールをマインドマイスターにすべき理由 伸びてる産業、会社、事業を紹介しまくるStrainerのニュースレターに登録!! 検索順位が上がったらどれくらいアクセスが増加するか予測する「Search Rank 」 「Search Rank」は、Google Analyticsのデータを使い、既存ページの検索順位を改善することで、どのくらいのアクセス増加を見込
最近、iPhone アプリがリリースされたこともあって話題に挙がることの多い IFTTT ですが、個人的に気に入ってるレシピ (IFTTT ではユーザーが設定した自動処理を 「レシピ」 と呼んでいます) を 10個ほど共有。 レシピ紹介してる Blog とかたくさんあると思いますので、なるべくかぶってない感じのやつをと思ったのですが、定番なのもいくつか混ざってます。 Blog を書く人向け、「Blog を更新したら○○に投稿」 系 Blog を運営している人なら、Blog に新しい記事を投稿したとき、同時に SNS などに更新通知を送るってことはよくやると思いますが、それ系で 5つほど。 1. Blog を更新したら Twitter に投稿 これはもう、定番過ぎる感じではありますが、Blog に新しい記事を投稿したら、その通知を Twitter に流すやつ。 WordPress をはじめ、
自分のウェブサイトを作って公開するにはサーバーが必要ですが、自分で構築するのはかなり面倒ですし、レンタルすればお金がかかります。しかし、Dropboxのアカウントを持っていればクリックからたった数秒でDropbox上にウェブサイトを作成できて公開できるのが「Small Victories」です。実際にどれくらい簡単に作れるのか試してみました。 Small Victories http://smallvictori.es/ まずはSmall Victoriesのサイト中段にある「Connect to your Dropbox!」をクリック すると連携認証画面になるので「許可」をクリック こんなページに飛ばされます。 自分のDropboxページに戻ってみると「アプリ」というフォルダが作成されているのでこれをクリック 「smallvictori.es」というフォルダをクリック すると中には画像フ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く