AutoPagerizeに対応しました(一部)

AutoPagerizeに対応しました(一部)

タイトルの通りです。でも一部です。個別ページではAutoPagerizeしません。

標準的なBlog(このサイトもね)だとアーカイブのページは「次」が古いページで、「前」が新しいページになってるよね。だけど、個別エントリーのページの「次」は新しいページで「前」古いページよね。うん。
んで、ローカルの環境でこのサイトをAutoPagerizeに対応させて、どんなもんだろーとチェックしてみたらキモいキモい。なぜかっていうと、アーカイブのページはAutoPagerizeすると、古いものがだーっと出てくる(期待通り)のに、個別ページだと新しいのがだーっと出てくる(期待と違う)。AutoPagerizeはスクロールすると「次」を出す(rel=nextが付いたlinkを読み込む)からちぐはぐな動きになっちゃう。
かと言って、「前」のページへのリンクに rel=next って付けるのもなんか違うよねーと思ったので、とりあえず個別ページはAutoPagerizeに対応しないことにしました。

なんか対応しないことにしましたなんて書いたけど、結構これが頭の中にずっと残りそうな気がしてやや憂鬱な気分。「次」とか「前」とかの意味がページによって違うってことがね…。ま…う…。

そういや、はてブは「<」が新しいページで、「>」が古いページなんだよね。こっちの方がいいのかな。あ…え…。う…。

さっそくもやもやしまくってる。このまま散歩に出たら3か月くらい帰ってこないくらいもやもやしてる。

あ!AutoPagerizeって何?ってなった人へ。
Webでいろいろ見てる時に「次へ」ってリンク押すよね。年間に何万回か押すよね。でも、AutoPagerize入れるとそれ押さなくて済むよ!多分、マウスの寿命がグンと伸びるはず!
詳しくはググってください。

Firefox+Greasemonkey+AutoPagerize、サイコー。

Leave a Reply
  • (will not be published)

Me

Yasutaka Sato

more

Tags
add-on again album amazon analytics animal apologize app apple appreciation bag baseball battle beauty birthday blog blood blue bluetooth body book bookmark bought brave broken browser burn camera canon canvas car care catalyst change chocolate chrome chromium circle cleaning code coffee coffeeshop coke command communication complete conference cook coupon creation css cui cute dark db design desire desktop diary disqualification dizzy drama dream drive drunk eeepc empty erotic error essay fake false fav festival firewall fireworks flirt font food forgot fortune frame france friends from iPhone fx game geek geolocation girl google graph hack hatena headache holiday hot house hungry ice impressions interesting ipad iphone ipod itunes jailbreak jetpack jquery js json kicks kiss kobe kyoto leopard lie life lifestyle light lighttpd linux livedoor logic lost love lunch lyric mac macbook mail map maps marriage mcdonald's me memo mental message microsoft miss misunderstanding mobile moblin morning mouse movie music mysql mystery name neet netbook newbalance news newyear night notebook occupation omelet os pack pain parting past pc peace peperoncino perl phobia photo photoshare php picture plan pleasure plugin poem pop producer profile pwned rabbit radio rain rap recipe redo regret relation release remember reminiscence repeat reverse rice rip rnb rrd sakura scan scare search server sex shinjuku sick simple sky slept slim smell snack snowboard softbank sorrow sound souvenir spaghetti speed sports ssd star start station store streaming stupid stystk suicide summer sunrise switch tears temperature temple terminal test thanks thought time tips tokyo trable trance travel true tumblr twitter uneasy urban used uupaa vacation various vertigo video walk wandering web weight wifi word work wp year-end you youtube