いろいろ

(´・ω・`) <Module><!-- 下のtitle="__UP_title__"とすると、表示時に自動的に
 設定内容から持ってきてくれるのだが、①日本語は文字化けする、
 ②設定後すぐ変わらない、という問題によりJavaScriptで設定。
 gadgets.window.setTitle()を利用。--><ModulePrefs title="2chのまとめのまとめ" title_url="http://calcal.net/2ch/" description="2chまとめサイトのまとめガジェットです。2ちゃん系まとめサイトの記事一覧をタブ形式で表示します。一覧から気になる記事をクリックすれば、2ちゃんねるまとめサイト・ブログの記事を読むことができます。暇つぶしにどうぞ。2ちゃんねる系のまとめサイト別の記事一覧はタブを選択するかリストを選択すればページ送りできます。登録2ch系のまとめブログ数200以上です。" author="Y.Y." author_email="membersapsystem+gadget@gmail.com " author_link="" thumbnail="http://www.calcal.net/googleGadgets/2ch/thumbnail.png" screenshot="http://www.calcal.net/googleGadgets/2ch/screenshot.png" category="news" category2="funandgames" author_affiliation="personal" author_location="Japan" width="200" height="600"><!-- 高さ自動調整スクリプトを展開 --><Require feature="dynamic-height"/><!-- ユーザー変数設定スクリプトを展開 --><Require feature="setprefs"/><Require feature="tabs"/><!-- タイトルの変更を可能とする --><Require feature="settitle"/></ModulePrefs><!--UserPref部分は「設定」画面として展開される。保存も自動。--><UserPref name="title" display_name="タイトル" default_value="2ちゃんねる まとめのまとめ" datatype="string"/><UserPref name="linkType" display_name="リンク先" datatype="enum" default_value="SmartPhone"><EnumValue value="PC" display_value="PCサイト"/><EnumValue value="SmartPhone" display_value="携帯サイト"/></UserPref><UserPref name="result_num" display_name="表示件数" datatype="enum" default_value="7"><EnumValue value="1"/><EnumValue value="2"/><EnumValue value="3"/><EnumValue value="4"/><EnumValue value="5"/><EnumValue value="6"/><EnumValue value="7"/><EnumValue value="8"/><EnumValue value="9"/><EnumValue value="10"/><EnumValue value="11"/><EnumValue value="12"/><EnumValue value="13"/><EnumValue value="14"/><EnumValue value="15"/></UserPref><UserPref name="showSummary" display_name="内容の表示" datatype="bool" default_value="false"/><UserPref name="showTimestamp" display_name="日時の表示" datatype="bool" default_value="false"/><UserPref name="showHatena" display_name="はてブ数表示" datatype="bool" default_value="false"/><Content type="html">
<style type="text/css">

.tablib_table{
 width:60px;
 font-size: __UP_tabFontSize__;
}

.tablib_main_container{
font-size:13px;
}
.news_entry{
clear: both;
padding:3px 3px 3px 3px;
border-bottom:solid 1px #DCDCDC;
}
.news_title{
padding:0px 3px 3px 3px;
}
.hatena{
float: right;
}
.news_date{
text-align:left;
padding:3px 3px 0px 3px;
font-style:italic;
font-size:12px;
color:#666666;
}

.link{
   font-size: 0.8em;
}
.link a{
color:#333399;
text-decoration: none;
}
.link a:visited{
color:#333399;
}
.link a:hover{
color:#333399;
text-decoration: underline;
}

.title{
padding:8px 4px 4px 4px;
font-size:14px;/*文字サイズ*/
font-weight:bold;/*太文字*/
}

.credit{
color:#666;
text-align:right;
font-size: 0.8em;
clear: both;
}
img{ border:none; }


.box {
border-bottom:#9fb4e4 solid 4px;/*「更新情報」下線 左から「色」「種類」「太さ」*/
margin-bottom:10px;
/*-width:100%;-*/
text-align:left;
padding:4px 4px 2px 4px;
font-size:0.8em;/*文字サイズ*/
font-weight:bold;/*太文字*/
 color:#666;
}

.right {
float:right;
text-align:right;
margin:0px;
padding:0px;
}
.left {
float:left;
margin:0px;
padding:0px;
}
.right2{
float:right;
color:#666;
font-size: 0.8em;
}
.left2{
float:left;
color:#666;
font-size: 0.8em;
}
.c-all{
clear:both;
}
</style>

<script type="text/javascript">
var prefs = new gadgets.Prefs();
gadgets.window.setTitle( prefs.getString("title") ); //タイトル設定

var tabs = new gadgets.TabSet(__MODULE_ID__);

var index;
var numberOfTab=0;

var blogs = [];
var titleList = '<select NAME="titleList" id="titleList" style="width:200px;font-size:11px;" onchange="tabs.setSelectedTab(this.options[this.selectedIndex].value)">';
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '痛いニュース(ノ∀`)';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '市況かぶ全力2階建';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '日刊やきう速報@なんJ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '2chコピペ保存道場';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'オタクニュース';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'カオスちゃんねる';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '保守速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '宇宙&物理2chまとめ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'キチガイママまとめ保管庫';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'おうち速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '哲学ニュースnwk';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '【2ch】コピペ情報局';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'アルファルファモザイク';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ゴールデンタイムズ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '暇人\(^o^)/速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'あじゃじゃしたー';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ライフハックちゃんねる弐式';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'キニ速  気になる速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '日本最強伝説';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'VIPPER速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'あじあにゅーす2ちゃんねる-2chアジアニュース-';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'VIPPERな俺';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'もみあげチャ〜シュ〜';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '妹はVIPPER';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '無題のドキュメント';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ニュー速で暇潰しブログ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ほんわか2ちゃんねる';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'News U.S. 韓国・在日朝鮮人崩壊ニュース - イルミナティ、韓国経済、2chまとめ、中国 尖閣問題、竹島、戦争、反日、韓流、アメリカ デフォルト、ロスチャイルド';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '【海外の反応】 パンドラの憂鬱';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'BIPブログ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '買ってよかった速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '2ちゃん的韓国ニュース';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ドメサカ板まとめブログ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ぁゃιぃ(*゚ー゚)NEWS 2nd';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'マジキチ速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'まとめたニュース';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'なんJ PRIDE';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '時は来た!それだけだ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '働くモノニュース : 人生VIP職人ブログwww';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ぶる速-VIP';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '痛い信者(ノ∀`)';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'かれっじライフハッキング';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ガハろぐNewsヽ(・ω・)/ズコー';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ガハろぐNewsヽ(・ω・)/ズコー';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '暇つぶしニュース';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'U-1速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '特定しますたm9(`・ω・´)';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ラビット速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ねたAtoZ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ブラブラブラウジング';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ロン速';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ニコニコVIP2ch';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '日刊スレッドガイド';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ぐう速';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'たま速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '(´A`)<咳をしてもゆとり';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '[2ch]お料理速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '大地震・前兆・予言.com';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'モモンガ速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'がぞ〜速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'はれぞう';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'デジタルニューススレッド';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ネトウヨにゅーす。';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'VIPワイドガイド';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'カナ速';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'SIerブログ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ふぇー速';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ワロタニッキ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '芸スポまとめblog';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '結婚・恋愛ニュースぷらす';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '常識的に考えた';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '勝つる2chまとめブログ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'Ayu-Nya EXTRA';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ネギ速';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'カゼタカ2ブログch';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'とりのまるやき';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'なお、まにあわんもよう@なんJ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '飲食速報(゚д゚)ウマ-';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'てんこもり。';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ツンダオワタ情報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'GATUN';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'きになるニト速';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ジャンプ速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '使える(σ・∀・)σ ニュース2ch';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'かつもくブログ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'きゃっつあいニュース';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'アンダーワールド';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '〓 ねこメモ 〓';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '2ch名人';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ちゃんねるZ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'RIDE THE WAVE 2ch';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ふよふよ速報。';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'みそパンNEWS';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '【2ch】ニュー速クオリティ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'スコールちゃんねる';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'わらぽん速報';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'コピペ運動会';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ヒロイモノ中毒';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ぴろり速報2ちゃんねる';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '調理兵はVIPPERだった';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '流速VIP';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'ニートな2ちゃんねらー日記';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '2ch Hokkoly';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += 'なないろコンテンツ';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '本読みのスキャット!';
titleList +='</option>';

numberOfTab++;
titleList += '<option value="';
titleList +=numberOfTab;
titleList += '">';
titleList += '2ちゃんねるまとめ 名前はまだない';
titleList +='</option>';

numberOfTab++;

titleList += '</select>';

blogs.push(Array('痛いニュース(ノ∀`)', '痛い', 'http://blog.livedoor.jp/dqnplus/index.rdf'));
blogs.push(Array('市況かぶ全力2階建', '市況', 'http://kabumatome.doorblog.jp/index.rdf'));
blogs.push(Array('日刊やきう速報@なんJ', '日や', 'http://blog.livedoor.jp/yakiusoku/index.rdf'));
blogs.push(Array('2chコピペ保存道場', 'コピ', 'http://2chcopipe.com/index.rdf'));
blogs.push(Array('オタクニュース', 'オタ', 'http://otanew.jp/index.rdf'));
blogs.push(Array('カオスちゃんねる', 'カオ', 'http://chaos2ch.com/index.rdf'));
blogs.push(Array('保守速報', '保守', 'http://www.hoshusokuhou.com/index.rdf'));
blogs.push(Array('宇宙&物理2chまとめ', '宇宙', 'http://uchu2ch.blog.fc2.com/?xml'));
blogs.push(Array('キチガイママまとめ保管庫', 'キチ', 'http://www.kitimama-matome.net/index.rdf'));
blogs.push(Array('おうち速報', 'うち', 'http://ouchinews.doorblog.jp/index.rdf'));
blogs.push(Array('哲学ニュースnwk', '哲学', 'http://blog.livedoor.jp/nwknews/index.rdf'));
blogs.push(Array('【2ch】コピペ情報局', 'コピ', 'http://news.2chblog.jp/index.rdf'));
blogs.push(Array('アルファルファモザイク', 'αモ', 'http://alfalfalfa.com/index.rdf'));
blogs.push(Array('ゴールデンタイムズ', 'ゴル', 'http://blog.livedoor.jp/goldennews/index.rdf'));
blogs.push(Array('暇人\(^o^)/速報', '暇人', 'http://himasoku.com/index.rdf'));
blogs.push(Array('あじゃじゃしたー', 'した', 'http://blog.livedoor.jp/chihhylove/index.rdf'));
blogs.push(Array('ライフハックちゃんねる弐式', 'ハク', 'http://lifehack2ch.livedoor.biz/index.rdf'));
blogs.push(Array('キニ速  気になる速報', 'キニ', 'http://blog.livedoor.jp/kinisoku/index.rdf'));
blogs.push(Array('日本最強伝説', '日本', 'http://nihon-saikyou.ldblog.jp/index.rdf'));
blogs.push(Array('VIPPER速報', 'ゆづ', 'http://vippers.jp/index.rdf'));
blogs.push(Array('あじあにゅーす2ちゃんねる-2chアジアニュース-', 'あじ', 'http://asianews2ch.livedoor.biz/index.rdf'));
blogs.push(Array('VIPPERな俺', '俺', 'http://blog.livedoor.jp/news23vip/index.rdf'));
blogs.push(Array('もみあげチャ〜シュ〜', 'もみ', 'http://michaelsan.livedoor.biz/index.rdf'));
blogs.push(Array('妹はVIPPER', '妹V', 'http://vipsister23.com/index.rdf'));
blogs.push(Array('無題のドキュメント', '無題', 'http://www.mudainodocument.com/index.rdf'));
blogs.push(Array('ニュー速で暇潰しブログ', '暇潰', 'http://siki420.blog45.fc2.com/?xml'));
blogs.push(Array('ほんわか2ちゃんねる', 'ほん', 'http://honwaka2ch.livedoor.biz/index.rdf'));
blogs.push(Array('News U.S. 韓国・在日朝鮮人崩壊ニュース - イルミナティ、韓国経済、2chまとめ、中国 尖閣問題、竹島、戦争、反日、韓流、アメリカ デフォルト、ロスチャイルド', '崩壊', 'http://www.news-us.jp/index.rdf'));
blogs.push(Array('【海外の反応】 パンドラの憂鬱', '海外', 'http://kaigainohannoublog.blog55.fc2.com/?xml'));
blogs.push(Array('BIPブログ', 'Bブ', 'http://bipblog.com/index.rdf'));
blogs.push(Array('買ってよかった速報', 'よか', 'http://blog.livedoor.jp/kttyktt/index.rdf'));
blogs.push(Array('2ちゃん的韓国ニュース', '韓国', 'http://blog.livedoor.jp/newskorea/index.rdf'));
blogs.push(Array('ドメサカ板まとめブログ', 'サカ', 'http://blog.livedoor.jp/domesoccer/index.rdf'));
blogs.push(Array('ぁゃιぃ(*゚ー゚)NEWS 2nd', 'あや', 'http://ayacnews2nd.com/index.rdf'));
blogs.push(Array('マジキチ速報', 'マジ', 'http://majikichi.com/index.rdf'));
blogs.push(Array('まとめたニュース', 'まと', 'http://matometanews.com/index.rdf'));
blogs.push(Array('なんJ PRIDE', '野球', 'http://blog.livedoor.jp/rock1963roll/index.rdf'));
blogs.push(Array('時は来た!それだけだ', '時来', 'http://tokihakita.blog91.fc2.com/?xml'));
blogs.push(Array('働くモノニュース : 人生VIP職人ブログwww', '働く', 'http://workingnews.blog117.fc2.com/?xml'));
blogs.push(Array('ぶる速-VIP', 'ぶる', 'http://burusoku-vip.com/index.rdf'));
blogs.push(Array('痛い信者(ノ∀`)', '痛信', 'http://blog.livedoor.jp/itaishinja/index.rdf'));
blogs.push(Array('かれっじライフハッキング', 'かれ', 'http://college2ch.blomaga.jp/index.rdf'));
blogs.push(Array('ガハろぐNewsヽ(・ω・)/ズコー', 'ガハ', 'http://blog.livedoor.jp/funs/index.rdf'));
blogs.push(Array('ガハろぐNewsヽ(・ω・)/ズコー', 'ガハ', 'http://gahalog.2chblog.jp/index.rdf'));
blogs.push(Array('暇つぶしニュース', '暇つ', 'http://blog.livedoor.jp/rbkyn844/index.rdf'));
blogs.push(Array('U-1速報', 'U', 'http://u1sokuhou.ldblog.jp/index.rdf'));
blogs.push(Array('特定しますたm9(`・ω・´)', '特定', 'http://www.tokuteishimasuta.com/index.rdf'));
blogs.push(Array('ラビット速報', 'ラビ', 'http://rabitsokuhou.2chblog.jp/index.rdf'));
blogs.push(Array('ねたAtoZ', 'ねた', 'http://netaatoz.jp/index.rdf'));
blogs.push(Array('ブラブラブラウジング', 'ブラ', 'http://brow2ing.doorblog.jp/index.rdf'));
blogs.push(Array('ロン速', 'ロン', 'http://blog.livedoor.jp/ronsoku2/index.rdf'));
blogs.push(Array('ニコニコVIP2ch', 'ニコ', 'http://blog.livedoor.jp/nicovip2ch/index.rdf'));
blogs.push(Array('日刊スレッドガイド', '日刊', 'http://guideline.livedoor.biz/index.rdf'));
blogs.push(Array('ぐう速', 'ぐう', 'http://blog.livedoor.jp/guusoku/index.rdf'));
blogs.push(Array('たま速報', 'たま', 'http://tamasoku.blog35.fc2.com/?xml'));
blogs.push(Array('(´A`)<咳をしてもゆとり', '咳', 'http://yutori2ch.blog67.fc2.com/?xml'));
blogs.push(Array('[2ch]お料理速報', '料理', 'http://oryouri.2chblog.jp/index.rdf'));
blogs.push(Array('大地震・前兆・予言.com', '予言', 'http://okarutojishinyogen.blog.fc2.com/?xml'));
blogs.push(Array('モモンガ速報', 'モモ', 'http://momosoku.doorblog.jp/index.rdf'));
blogs.push(Array('がぞ〜速報', 'がぞ', 'http://stalker.livedoor.biz/index.rdf'));
blogs.push(Array('はれぞう', 'はれ', 'http://blog.livedoor.jp/darkm/index.rdf'));
blogs.push(Array('デジタルニューススレッド', 'デジ', 'http://digital-thread.com/index.rdf'));
blogs.push(Array('ネトウヨにゅーす。', 'ネト', 'http://netouyonews.net/index.rdf'));
blogs.push(Array('VIPワイドガイド', 'ワイ', 'http://news4wide.livedoor.biz/index.rdf'));
blogs.push(Array('カナ速', 'カナ', 'http://kanasoku.blog82.fc2.com/?xml'));
blogs.push(Array('SIerブログ', 'S', 'http://sierblog.com/index.rdf'));
blogs.push(Array('ふぇー速', 'ふえ', 'http://fesoku.net/index.rdf'));
blogs.push(Array('ワロタニッキ', 'ラロ', 'http://blog.livedoor.jp/hisabisaniwarota/index.rdf'));
blogs.push(Array('芸スポまとめblog', '芸ス', 'http://blog.livedoor.jp/domesaka/index.rdf'));
blogs.push(Array('結婚・恋愛ニュースぷらす', '結恋', 'http://blog.livedoor.jp/kekkongo/index.rdf'));
blogs.push(Array('常識的に考えた', '常識', 'http://blog.livedoor.jp/jyoushiki43/index.rdf'));
blogs.push(Array('勝つる2chまとめブログ', '勝つ', 'http://katuru2ch.blog12.fc2.com/?xml'));
blogs.push(Array('Ayu-Nya EXTRA', '画像', 'http://ayutube.blog.fc2.com/?xml'));
blogs.push(Array('ネギ速', 'ネギ', 'http://www.negisoku.com/index.rdf'));
blogs.push(Array('カゼタカ2ブログch', 'カゼ', 'http://kazetaka.com/index.rdf'));
blogs.push(Array('とりのまるやき', 'とり', 'http://gogotorimaru.blog19.fc2.com/?xml'));
blogs.push(Array('なお、まにあわんもよう@なんJ', 'なお', 'http://naomani.com/index.rdf'));
blogs.push(Array('飲食速報(゚д゚)ウマ-', '飲食', 'http://insyoku.livedoor.biz/index.rdf'));
blogs.push(Array('てんこもり。', 'てん', 'http://tenkomo.blog46.fc2.com/?xml'));
blogs.push(Array('ツンダオワタ情報', 'ツン', 'http://tundaowata.com/index.rdf'));
blogs.push(Array('GATUN', 'G', 'http://blog.livedoor.jp/gatun02/index.rdf'));
blogs.push(Array('きになるニト速', 'ニト', 'http://nitosokusinn.blog.fc2.com/?xml'));
blogs.push(Array('ジャンプ速報', 'ジヤ', 'http://jumpsokuhou.com/index.rdf'));
blogs.push(Array('使える(σ・∀・)σ ニュース2ch', '使え', 'http://now2chblog.blog55.fc2.com/?xml'));
blogs.push(Array('かつもくブログ', 'かつ', 'http://katsumoku.net/index.rdf'));
blogs.push(Array('きゃっつあいニュース', 'つあ', 'http://rastaneko.blog.fc2.com/?xml'));
blogs.push(Array('アンダーワールド', 'アン', 'http://underworld2ch.blog29.fc2.com/?xml'));
blogs.push(Array('〓 ねこメモ 〓', 'ねこ', 'http://nekomemo.com/index.rdf'));
blogs.push(Array('2ch名人', '名人', 'http://blog.livedoor.jp/i2chmeijin/index.rdf'));
blogs.push(Array('ちゃんねるZ', 'Z', 'http://channelz.blog118.fc2.com/?xml'));
blogs.push(Array('RIDE THE WAVE 2ch', 'R', 'http://chitekizaisan.blog28.fc2.com/?xml'));
blogs.push(Array('ふよふよ速報。', 'ふよ', 'http://huyosoku.com/index.rdf'));
blogs.push(Array('みそパンNEWS', 'みそ', 'http://blog.livedoor.jp/misopan_news/index.rdf'));
blogs.push(Array('【2ch】ニュー速クオリティ', 'ν速', 'http://news4vip.livedoor.biz/index.rdf'));
blogs.push(Array('スコールちゃんねる', 'スコ', 'http://squallchannel.doorblog.jp/index.rdf'));
blogs.push(Array('わらぽん速報', 'わら', 'http://blog.livedoor.jp/muchio68/index.rdf'));
blogs.push(Array('コピペ運動会', 'コピ', 'http://copipe.cureblack.com/latest.xml'));
blogs.push(Array('ヒロイモノ中毒', '中毒', 'http://cherio199.blog120.fc2.com/?xml'));
blogs.push(Array('ぴろり速報2ちゃんねる', 'ぴろ', 'http://pirori2ch.com/index.rdf'));
blogs.push(Array('調理兵はVIPPERだった', '調理', 'http://blog.livedoor.jp/nonvip/index.rdf'));
blogs.push(Array('流速VIP', '流速', 'http://ryusoku.com/index.rdf'));
blogs.push(Array('ニートな2ちゃんねらー日記', 'ニト', 'http://2nnlove.blog114.fc2.com/?xml'));
blogs.push(Array('2ch Hokkoly', 'ホコ', 'http://hokkorido.seesaa.net/index.rdf'));
blogs.push(Array('なないろコンテンツ', 'なな', 'http://blog.livedoor.jp/nanaconn/index.rdf'));
blogs.push(Array('本読みのスキャット!', '本読', 'http://d.hatena.ne.jp/kajika_eps/rss'));
blogs.push(Array('2ちゃんねるまとめ 名前はまだない', '名前', 'http://heekogirl.blog.fc2.com/?xml'));


numberOfTab = numberOfTab - 1;

var news = new Object();

news = {
 list : [],
 num  : 10,

 init : function(){

   //表示件数
   var num = _trim(prefs.getString('result_num'));
   news.num = (num.match(/^\d+$/)) ? num: 10;

   //Tab
   for (var i = 0; i < blogs.length; i++) {
     tabs.addTab(blogs[i][1], {callback: news.callbackTab});
   }
 },


 callbackTab : function(tabId)
 {

   var showSummary = prefs.getBool("showSummary");
   var showTimestamp = prefs.getBool("showTimestamp");
   var showHatena = prefs.getBool("showHatena");
   var container = _gel(tabId);

   //リンク先
   var linkType = _trim(prefs.getString('linkType'));

   var selectedTab = tabs.getSelectedTab();
   index = selectedTab.getIndex();



   //セレクトリスト
   var titleListSelected = titleList.replace('value="' + index + '"', 'value="' + index + '" selected');
   var d = gadgets.window.getViewportDimensions(); 
   var style = 'width:' + (d.width - 8) + 'px;';
   titleListSelected = titleListSelected.replace('width:200px;', style);
   titleListSelected = '<div class="credit">' + titleListSelected + '</div>';


   //前へや次へなどのタブ移動のリンク
   var tabMoveText ="";
   tabMoveText +=  '<div class="left">';
   if(index > 0){
     tabMoveText +=   '<div class="left2">';
     tabMoveText +=     "<span style=\"cursor: pointer\" onclick=\"tabs.setSelectedTab(0);\">最初へ</span>  ";
     tabMoveText +=   '</div>' ;
     tabMoveText +=     "<span style=\"cursor: pointer\" onclick=\"tabs.setSelectedTab(" + (index-1) + ");\">前のタブ</span>";
   }
   tabMoveText +=  '</div>';
   tabMoveText +=  '<div class="right">';
   if(index < numberOfTab){
     tabMoveText +=   '<div class="right2">';
     tabMoveText +=     "  <span style=\"cursor: pointer\" onclick=\"tabs.setSelectedTab(" + numberOfTab + ");\">最後へ</span>";
     tabMoveText +=   '</div>' ;
     tabMoveText +=     "<span style=\"cursor: pointer\" onclick=\"tabs.setSelectedTab(" + (index+1) + ");\">次のタブ</span>";
   }
   tabMoveText +=  '</div>';
   tabMoveText +=  '<br class="c-all">';
   tabMoveText +=  '</div>';


   var html="";

   html = titleListSelected + tabMoveText + '<p>読み込んでいます...</p>';
   html += '<br>';
   html += '<div class="link">';
   html +=   '<div class="credit">';
   //html +=     " <span style=\"cursor: pointer\" onclick=\"pushArray(" + (index) + ");\">このサイトを非表示にする</span>";
   html +=   '</div>' ;
   html += '</div>' ;
   container.innerHTML = html;

   //fetch feed
   var opts = {};
   opts[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.FEED;
   opts[gadgets.io.RequestParameters.NUM_ENTRIES] = news.num;
   opts[gadgets.io.RequestParameters.GET_SUMMARIES] = showSummary; 



   html="";
   html +=  titleListSelected + tabMoveText;

   html += '<div class="title">' + blogs[index][0] + '</div>';


   gadgets.io.makeRequest(blogs[index][2], function (obj) {

     if (typeof obj == "undefined" || typeof obj.data.Entry == "undefined") {
       container.innerHTML = '<div class="statusLabel">Invalid feed URL:<br>' + blogs[index][2] + '</div>';
     } else {
       var feed = obj.data;

       for(var i=0; i<feed.Entry.length; i++) {
         var entry = feed.Entry[i];

         html += '<div class="news_entry">';

         //記事のタイムスタンプを表示
         if(showTimestamp){
           html += '<div class="news_date">' + createDateString(entry.Date) + '</div>';
         }

         //はてなの表示
         if (showHatena) {
           html +=
             '<a href="http://b.hatena.ne.jp/entry/' + entry.Link + '" target="_blank" class="hatena"><img src="http://b.hatena.ne.jp/entry/image/' + entry.Link + '" alt=""/></a>';
         }

         //記事のタイトルの表示
         if (linkType == "SmartPhone") {
           html +=
             '<div class="news_title">'+
             '<a href="http://calcal.net/2ch/viewAsSmart/?url='+entry.Link+'" target="_blank">' + entry.Title + '</a>&nbsp;&nbsp;'+
             '</div>';          
         }
         else if (linkType == "NoAd") {
           html +=
             '<div class="news_title">'+
             '<a href="http://calcal.net/2ch/viewAsSmart/pc/?url='+entry.Link+'" target="_blank">' + entry.Title + '</a>&nbsp;&nbsp;'+
             '</div>';          
         }
         else {
           html +=
             '<div class="news_title">'+
             //'<a href="'+entry.Link+'" target="_blank">' + entry.Title + '</a>&nbsp;&nbsp;'+
             '<a href="http://calcal.net/2ch/viewAsSmart/index_pc.php?url='+entry.Link+'" target="_blank">' + entry.Title + '</a>&nbsp;&nbsp;'+
             '</div>';          
         }

         //記事の詳細表示
         if(showSummary){
           html += '<div class="news_summary">' + entry.Summary + '</div>';
         }
         html += '</div>';
       }
     }

/*
       html += '<div class="link">';
       html +=   '<div class="credit">';
       html +=     '<a href="http://calcal.net/2ch/cron/renew/googleGadgets/2ch/index.html" target="_blank">' + 'もっとみる' + '</a>';
       html +=   '</div>' ;
       html += '</div>' ;

/

       html += '<div class="link">';
       html +=   '<div class="credit">';
       //html +=     '<a href="https://market.android.com/details?id=yy.com.android.matomematome" target="_blank">' + 'アンドロイド用アプリできました' + '</a>';
       //html +=     '<img src="http://analysis.saiohgama.com/access/count.php" height="1" width="1" border="0"  alt="tracker" />';
       html +=     '<a href="https://chrome.google.com/webstore/detail/leefieefnkealcadmidcedocibmlecah" target="_blank">' + 'Chromeをお使いの方へ' + '</a>';
       html +=   '</div>' ;
       html += '</div>' ;

     container.innerHTML = html;
     gadgets.window.adjustHeight();

     setTimeout(function () {
       gadgets.window.adjustHeight();//高さ自動調整。最後に記載(実行順)
     }, 1000);

   }, opts);

 }//callbackTab
};


function _gel(n) {
 return document.getElementById(n);
}

function _esc(v) {
 return encodeURIComponent(v);
}


function createDateString(publishedDate){
 var pdate = new Date(publishedDate);

 var pday = pdate.getDate();
 var pmonth = pdate.getMonth() + 1;
 var pyear = pdate.getFullYear();
 var phour = pdate.getHours();
 if(phour < 10){
   phour = "0" + phour;
 }
 var pminute = pdate.getMinutes();
 if(pminute < 10){
   pminute = "0" + pminute;
 }
 //var psecond = pdate.getSeconds();
 var strdate = pyear + "年" + pmonth + "月" + pday + "日 " + 
             phour + ":" + pminute + "";

 return strdate;
}

gadgets.util.registerOnLoadHandler(news.init);


</script>

</Content></Module>
最終更新:2013年10月14日 22:31