作ってみて難しかったのはリブログ情報を配列から木構造に変換する部分です。中には同じアカウントで複数回リブログしている場合もあり、お前どんだけその画像が好きなんだよと、したがって同じアカウントのノードが複数作られます。そこで、あるアカウントのリブログ元アカウントのノードが複数ある場合、いちばん新しい(つまり深い)ノードに対応するようにしました。これで正確にリブログ情報を再現できているか不安ですが。
Tumblrのリブログツリーを表示するアプリを作ってみた - 星屑日記 (via otsune)<p><a href="http://deco-mayu.appspot.com/">http://deco-mayu.appspot.com/</a></p> <p><span class="keyword">ソースコード</span>は<span class="keyword">GitHub</span>に置きました。</p> <p><a href="https://github.com/yuribossa/TumblrReblogTree">https://github.com/yuribossa/<span class="highlight">Tumblr</span>ReblogTree</a></p>
Permalink(36)
Reblogged & Liked (36 notes)
-
tensai-tensai reblogged this from tgrr-storeroom
-
tgrr-storeroom reblogged this from h0lly
-
whatta reblogged this from otsune
-
candy-yr0 liked this
-
mteramoto reblogged this from otsune
-
henachoko reblogged this from otsune
-
gpx250r-ninja reblogged this from otsune
-
t0mason liked this
-
kuroi liked this
-
fuun reblogged this from otsune
-
knnr reblogged this from otsune
-
h0lly reblogged this from otsune
-
httalk reblogged this from otsune
-
dixsept reblogged this from otsune
-
mitomuse reblogged this from otsune
-
bctake6 liked this
-
sanemat reblogged this from otsune
-
whatta liked this
-
nashi-kyo reblogged this from otsune
-
tkdbox liked this
-
ryoheblr reblogged this from otsune
-
masa38b reblogged this from otsune
-
sorshi liked this
-
tetokon liked this
-
micchumicchu liked this
-
ryusoul reblogged this from rktm
-
nanikano reblogged this from hughughug
-
hughughug reblogged this from otsune
-
ds9-garak reblogged this from otsune
-
tatsuru reblogged this from otsune
-
rktm reblogged this from otsune
-
otsune posted this
-
tmbtter reblogged this from otsune
-
meggrim reblogged this from otsune