Plugin Directory

Changeset 400181


Ignore:
Timestamp:
06/23/2011 03:08:25 AM (15 years ago)
Author:
katz515
Message:

Adding 0.9.0 tag,.

Location:
twitcasting-status
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • twitcasting-status/trunk/twitcastingstatus/readme.txt

    r400180 r400181  
    77Author URI: http://katzueno.com/
    88Tags: livecasting, status, twitcasting
    9 Requires at least: 2.0.2
     9License: GPL2
     10Requires at least: 2.8.0
    1011Tested up to: 3.1.3
    1112Stable tag: 0.9.0
     
    5051== Changelog ==
    5152
    52 = 0.9 =
    53 * The initial version
     53= 0.9.0 =
     54* The initial version. This is in beta but it should work ok.
    5455
    5556== Upgrade Notice ==
    5657
    57 = 0.9 =
     58= 0.9.0 =
    5859
    5960Just replace the existing files when upgrading.
  • twitcasting-status/trunk/twitcastingstatus/twitcastingstatus.php

    r400180 r400181  
    11<?php
    22/*
     3Contributors: katz515
    34Plugin Name: Twitcasting Status
    4 Plugin URI: http://en.katzueno.com/twitcastingstatus
     5Plugin URI: http://katzueno.com/wordpress/twitcasting-status/
     6Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TYQTWQ7QGN36J
    57Description: Display the online/offline status of your twitcasting.
    68Version: 0.9.0
    79Author: Katz Ueno
    810Author URI: http://katzueno.com/
     11Tags: livecasting, status, twitcasting
    912License: GPL2
    1013*/
     
    7881        // Twitcasting Status starts here
    7982        // ==============================
    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);
    8187        // For DEBUG
    8288        // echo '<!--' . $TwitcastingStatusJson . '-->';
Note: See TracChangeset for help on using the changeset viewer.