The page you are looking at now is at this URL: http://pastoid.com/bm3
This paste was last updated on January 22, 2009 at 10:52 am.
<?php /** */ class Phergie_Plugin_Woot extends Phergie_Plugin_Abstract_Command { /** * @return void */ public function onDoWoot() { $html = file_get_contents('http://www.woot.com/'); preg_match('@<h3 id="TitleHeader">([^<]+)</h3>@', $html, $item); preg_match('@<span id="PriceSpan">([^<]+)</span>@', $html, $price); preg_match('@<span class="shipping">([^<]+)</span>@', $html, $shipping); $this->doPrivmsg( $this->event->getSource(), sprintf('Current Woot: %s, %s %s -- http://www.woot.com/', $item[1], $price[1], $shipping[1]) ); unset($item, $price, $shipping, $html); } }
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 107 |
| pastoid.com | 6 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This