Changeset 400181
- Timestamp:
- 06/23/2011 03:08:25 AM (15 years ago)
- Location:
- twitcasting-status
- Files:
-
- 6 added
- 2 edited
-
tags/0.9.0 (added)
-
tags/0.9.0/twitcastingstatus (added)
-
tags/0.9.0/twitcastingstatus/readme.txt (added)
-
tags/0.9.0/twitcastingstatus/screenshot-1.png (added)
-
tags/0.9.0/twitcastingstatus/screenshot-2.png (added)
-
tags/0.9.0/twitcastingstatus/twitcastingstatus.php (added)
-
trunk/twitcastingstatus/readme.txt (modified) (2 diffs)
-
trunk/twitcastingstatus/twitcastingstatus.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
twitcasting-status/trunk/twitcastingstatus/readme.txt
r400180 r400181 7 7 Author URI: http://katzueno.com/ 8 8 Tags: livecasting, status, twitcasting 9 Requires at least: 2.0.2 9 License: GPL2 10 Requires at least: 2.8.0 10 11 Tested up to: 3.1.3 11 12 Stable tag: 0.9.0 … … 50 51 == Changelog == 51 52 52 = 0.9 =53 * The initial version 53 = 0.9.0 = 54 * The initial version. This is in beta but it should work ok. 54 55 55 56 == Upgrade Notice == 56 57 57 = 0.9 =58 = 0.9.0 = 58 59 59 60 Just replace the existing files when upgrading. -
twitcasting-status/trunk/twitcastingstatus/twitcastingstatus.php
r400180 r400181 1 1 <?php 2 2 /* 3 Contributors: katz515 3 4 Plugin Name: Twitcasting Status 4 Plugin URI: http://en.katzueno.com/twitcastingstatus 5 Plugin URI: http://katzueno.com/wordpress/twitcasting-status/ 6 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TYQTWQ7QGN36J 5 7 Description: Display the online/offline status of your twitcasting. 6 8 Version: 0.9.0 7 9 Author: Katz Ueno 8 10 Author URI: http://katzueno.com/ 11 Tags: livecasting, status, twitcasting 9 12 License: GPL2 10 13 */ … … 78 81 // Twitcasting Status starts here 79 82 // ============================== 80 $TwitcastingStatusJson = file_get_contents('http://api.twitcasting.tv/api/livestatus?type=jason&user=' . $account ); 83 $opt = stream_context_create(array( 84 'http' => array( 'timeout' => 3 ) 85 )); 86 $TwitcastingStatusJson = @file_get_contents('http://api.twitcasting.tv/api/livestatus?type=jason&user=' . $account ,0,$opt); 81 87 // For DEBUG 82 88 // echo '<!--' . $TwitcastingStatusJson . '-->';
Note: See TracChangeset
for help on using the changeset viewer.