Open S--Minecraft opened 9 years ago
read.crx 2を起動
-> app.read_state._db_open 既読情報管理システム起動
-> app.sync2ch.open Sync2chからデータ取得
-> 失敗
-> notify エラーを出力
-> 成功
-> app.sync2ch.apply Sync2chのデータを適応
-> 失敗
-> エラーを出力
-> 成功
-> apply_sync2ch_history 既読情報/履歴管理システムに適応[history]
-> apply_sync2ch_open 開いているタブに適応
-> (/favorite/post_history)
read.crx 2を終了
-> app.sync2ch.historyToEntities 履歴を40取得してentitiesに変換
-> app.sync2ch.openToTempEntities 開いているタブをtempEntitiesに仮変換
-> app.sync2ch.makeEntities 開いているタブを履歴の重複を読み取ってtempEntitiesをentitiesに変換、重複箇所を取得
-> startXML entitiesXMLを構築開始
-> app.sync2ch.makeEntitiesXML entitiesをXMLに構築
-> app.sync2ch.finishXML thread_groupをXMLに構築
-> app.sync2ch.open Sync2chへデータを投げる
-> app.sync2ch.apply 同期可能残数等を保存
注: historyカテゴリは40件まで、post_historyカテゴリは20件まで
最新のものを上に来るように
<th>: url, title # スレ
read 既読位置 レス番号
now 現在読んでいる位置 レス番号
count 取得済みレス数
rt 最終読み込みUNIT時間(秒) #ない場合もある
pt 最終書き込みUNIX時間(秒) #ない場合もある
<bd>: url, title # 板
<dir>: name # フォルダ要素
API: https://sync2ch.com/content/sync2ch-api-version-3 差分取得: https://sync2ch.com/content/sync2ch-api-diff 暗号化: https://sync2ch.com/content/sync2ch-api-version-3betastart
~~2.参考 http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1215725152~~ 2015/08/16 実装完了
3.
ベータテスト用に正式版、ベータ版ともに #24 を実装する必要がある
2015/08/16 実装完了
2.を https://developer.chrome.com/extensions/messaging で解決させたが、本来の使い方と違うがまぁ大丈夫だろう
readcrx-2#20