Tadashi Okoshi
slash****@users*****
2005年 6月 17日 (金) 13:20:08 JST
Index: affelio/apps/Mixi/index.cgi
diff -u affelio/apps/Mixi/index.cgi:1.2 affelio/apps/Mixi/index.cgi:1.3
--- affelio/apps/Mixi/index.cgi:1.2 Fri Jun 17 12:59:04 2005
+++ affelio/apps/Mixi/index.cgi Fri Jun 17 13:20:08 2005
@@ -66,13 +66,13 @@
my $mixi = WWW::Mixi->new($userinfo->{username}, $userinfo->{password});
if($@){
- error($cgi, $@);
+ err_exit($@);
}
#Login
my $response = $mixi->login;
if(!($response->is_success)){
- error($cgi, "Could not login to Mixi!");
+ err_exit("Could not login to Mixi!");
}
#Get HTML
@@ -83,17 +83,17 @@
$response = $mixi->get($url);
if(!($response->is_success)){
- error($cgi, "Could not get list_friend.pl");
+ err_exit("Could not get list_friend.pl");
}
#Parse
my @friends = $mixi->parse_list_friend( $response );
my $myid = $mixi->parse_self_id( $mixi->get("list_review.pl") );
-if($myid==0){
- error($cgi, "Could not get my Mixi ID!");
-}
my $my_home_url = "http://mixi.jp/show_friend.pl?id=" . $myid;
+if($myid == 0){
+ $my_home_url = "http://mixi.jp/";
+}
###########################################################################
#Processing
Index: affelio/apps/Mixi/style.css
diff -u affelio/apps/Mixi/style.css:1.1.1.1 affelio/apps/Mixi/style.css:1.2
--- affelio/apps/Mixi/style.css:1.1.1.1 Tue Jun 14 12:53:30 2005
+++ affelio/apps/Mixi/style.css Fri Jun 17 13:20:08 2005
@@ -1,6 +1,6 @@
.mixi_body{
background: #FFF;
- padding: 5px 5px 5px 5px;
+ padding: 5px 5px 5px 50px;
width: 780px;
}