Jake, jquery plugin page haves a great plugin for hit remote URL every X time. Named JHeartBeat(<a href="http://www.jasons-toolbox.com/JHeartbeat/">
http://www.jasons-toolbox.com/JHeartbeat/</a>). Looks like a great choice. Your demo works like that?
Cheers
<div><span class="gmail_quote">2007/1/31, Ⓙⓐⓚⓔ <<a href="mailto:jakecigar@gmail.com">
jakecigar@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dan, it's on my home machine.... <a href="http://cigar.dynalias.org/woot.html">
http://cigar.dynalias.org/woot.html</a>it's active right now.... woot is selling different products every
few minutes!!
On 1/31/07, Dan Atkinson <<a href="mailto:dandementia@googlemail.com">
dandementia@googlemail.com</a>> wrote:
>
> As much as I enjoyed this demo, my brain has trouble parsing and rendering
> HTML and JavaScript, and therefore I didn't get the full effect of the
> 'demo'.
>
> Is it possible for you to put this demo in a place which I am able to sample
> the demo-ness of it, please? It does sound interesting!
>
> Cheers.
>
>
> Ⓙⓐⓚⓔ wrote:
> >
> > I casually mentioned 'remote ajax' in another thread... I thought I'd
> > show a demo of it... very simple!
> >
> > it's used to watch
<a href="http://woot.com">woot.com</a> while they are doing rapid sales!
> >
> > <?xml version="1.0" encoding="utf-8" ?>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN"
> > "<a href="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</a>">> > <html xmlns="<a href="http://www.w3.org/1999/xhtml">
http://www.w3.org/1999/xhtml</a>" xml:lang="en">
> > <head>
> > <title>
> > Wootster
> > </title>
> > <script type="text/javascript" src="/js/jquery.js"></script>
> > <script type="text/javascript">
> > $(function(){
> > var doit = function(){
> > $.ajax({
> > url:'http.cgi?
http://www.woot.com/DefaultMicrosummary.ashx',> > success: function(data) {
> > var title = '@' + new Date();
> > $('body').prepend('<div title="'+title+'">' + data + "</div>")
> > var sale =
document.title = data.split('\r')[0];
> > if (!sale.match(/%/)) {
> > $('body').prepend('<h1>See you at 10pm! Woot is not
> > flashing!</h1>')
> > clearInterval(interval)
> > }}})}
> > doit()
> > var interval = setInterval(doit,40000)
> > $('body').click(function(){window.location = "<a href="http://www.woot.com/">
http://www.woot.com/</a>"})
> > })
> > </script>
> > </head>
> > <body/>
> > </html>
> >
> > is a simple page that ajaxes a microsummary repeatedly from another site.
> >
> > and http.cgi is:
> >
> > #!/usr/bin/perl
> > use LWP::UserAgent;
> > use CGI;
> > $ua = LWP::UserAgent->new;
> > $ua->agent("NuBrowser/10.7 ");
> > $res = $ua->request(HTTP::Request->new(GET => $ENV{QUERY_STRING} ||
> > "<a href="http://www.woot.com/DefaultMicrosummary.ashx">
http://www.woot.com/DefaultMicrosummary.ashx</a>"));> > $q = CGI->new;
> > print $q->header($res->headers->{'Content-Type'}),$res->content;
> > --
> > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
> > _______________________________________________
> > jQuery mailing list
> > <a href="mailto:discuss@jquery.com">
discuss@jquery.com</a>
> > <a href="http://jquery.com/discuss/">
http://jquery.com/discuss/</a>> >
> >
>
> --
> View this message in context: <a href="http://www.nabble.com/remote-ajax-with-jquery...-tf3146158.html#a8725501">
http://www.nabble.com/remote-ajax-with-jquery...-tf3146158.html#a8725501</a>> Sent from the JQuery mailing list archive at
<a href="http://Nabble.com">Nabble.com</a>.
>
>
> _______________________________________________
> jQuery mailing list
> <a href="mailto:discuss@jquery.com">
discuss@jquery.com</a>
> <a href="http://jquery.com/discuss/">
http://jquery.com/discuss/</a>>
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
<a href="mailto:discuss@jquery.com">
discuss@jquery.com</a>
<a href="http://jquery.com/discuss/">
http://jquery.com/discuss/</a></blockquote></div>
_______________________________________________
jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/