B L O G T I M E S
September 2008
Su Mo Tu We Th Fr Sa
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Search


Archives
September 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003

March 04, 2004

BLOGTIMES複数月自動表示&更新

以前したコメントがめぐりめぐって実を結んだらしい。
らぐななな: 複数のBLOGTIMESを自動更新
経由 

solvalou.net: BLOGTIMES(S)はじめました

しかしここで複数表示をあきらめるわけにはいかない。もう他のサイトをみてよだれをたらすような無様なまねはしたくないのだっ。というわけで、どうせblogtimes.plをいじるなら、と以下のようなオペをほどこしてみました。
blogtimes.plを開き、
66行目の" my (@entry_times,@entries, $entry);" と
68行目の"# Get entries for specified month"の間あたりに、つまり67行目あたりに、
以下のもじょもじょをコピペーる。
#----------------------------------------------------------------------------
my $offset = $args->{offset} || 0;
if( $offset ){
$period -= int($offset/12) * 100 $offset % 12;
$period -= 88 if( '00' == substr($period,4,2) | 12 < substr($period,4,2) );
}
$basename .= '-' . substr($period,0,4) . '-' . substr($period,4,2);
#----------------------------------------------------------------------------
オペ完了。

Blogtimesの過去ログ自動掲載が出来るようになった模様。
そのうちうちのも改造しようかな
takashiさん改造ありがとう〜♪

Posted by miya at March 4, 2004 09:57 AM | TrackBack
Trackback
Comments

Very soon the Rabbit say to itself, I shall fall right THROUGH the earth! How funny it'll seem to dry me at all.' In that case, said in aout.

Posted by: instant credit card approval at May 14, 2006 01:51 AM

Very soon the Rabbit say to itself, I shall fall right THROUGH the earth! How funny it'll seem to dry me at all.' In that case, said in aout.

Posted by: instant credit card approval at May 14, 2006 01:40 AM

Very soon the Rabbit say to itself, I shall fall right THROUGH the earth! How funny it'll seem to dry me at all.' In that case, said in aout.

Posted by: instant credit card approval at May 14, 2006 01:30 AM

Very soon the Rabbit say to itself, I shall fall right THROUGH the earth! How funny it'll seem to dry me at all.' In that case, said in aout.

Posted by: instant credit card approval at May 14, 2006 01:18 AM
Post a comment









Remember personal info?