Changeset 1053
- Timestamp:
- 08/11/08 22:58:22 (3 months ago)
- Files:
-
- trunk/swisscenter/ext/lastfm/lastfm.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/swisscenter/ext/lastfm/lastfm.php
r1029 r1053 247 247 { 248 248 // Find all images of the artist on the page using a regular expression. 249 if (preg_match_all('#<img src="(.*/serve/.*)" />#Ui',$html,$matches) >0 )249 if (preg_match_all('#<img.*src="(.*/serve/.*)" />#Ui',$html,$matches) >0 ) 250 250 { 251 251 dump($matches); … … 329 329 330 330 // Parameters for the handshake 331 $timenow = time();331 $timenow = gmt_time(); 332 332 $hs_url = 'http://post.audioscrobbler.com/'. 333 333 '?hs=true'.