Mercurial > epgrec.yaz
comparison storeProgram.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 |
|---|---|
| 110 | 110 |
| 111 // programme 取得 | 111 // programme 取得 |
| 112 | 112 |
| 113 foreach( $xml->programme as $program ) { | 113 foreach( $xml->programme as $program ) { |
| 114 $channel_disc = $program['channel']; | 114 $channel_disc = $program['channel']; |
| 115 if( ! array_key_exists( $channel_disc, $map ) ) continue; | 115 if( ! array_key_exists( "$channel_disc", $map ) ) continue; |
| 116 | 116 |
| 117 $channel = $map["$channel_disc"]; | 117 $channel = $map["$channel_disc"]; |
| 118 $starttime = str_replace(" +0900", '', $program['start'] ); | 118 $starttime = str_replace(" +0900", '', $program['start'] ); |
| 119 $endtime = str_replace( " +0900", '', $program['stop'] ); | 119 $endtime = str_replace( " +0900", '', $program['stop'] ); |
| 120 $title = $program->title; | 120 $title = $program->title; |
