comparison getepg.old.php @ 94:12ed8ad837fc

fix: ¤µ¤é¤Ë½¤Àµ
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Tue, 02 Mar 2010 23:35:28 +0900
parents 80cc05b420af
children d9b9d1d903a1
comparison
equal deleted inserted replaced
93:80cc05b420af 94:12ed8ad837fc
136 136
137 // programme å–å¾— 137 // programme å–å¾—
138 138
139 foreach( $xml->programme as $program ) { 139 foreach( $xml->programme as $program ) {
140 $channel_disc = $program['channel']; 140 $channel_disc = $program['channel'];
141 if( ! array_key_exists( $channel_disc, $map ) ) continue; 141 if( ! array_key_exists( "$channel_disc", $map ) ) continue;
142 142
143 $channel = $map["$channel_disc"]; 143 $channel = $map["$channel_disc"];
144 $starttime = str_replace(" +0900", '', $program['start'] ); 144 $starttime = str_replace(" +0900", '', $program['start'] );
145 $endtime = str_replace( " +0900", '', $program['stop'] ); 145 $endtime = str_replace( " +0900", '', $program['stop'] );
146 $title = $program->title; 146 $title = $program->title;