[Dxspider-support] RE: Dxspider-support Digest, Vol 31, Issue 3

Han Sytsma middenveld at tip.nl
Thu Aug 4 16:00:05 BST 2005


Hi Keith,


Have a look at http://www.halerbrug.nl/dx and check if this is what you
wants.
The inner frame is a <PRE></PRE> text message (dx.txt, ann.txt, etc).
Here is the script I use to get the info in the text file.


73 Han, PE1FAM (PI8CDR-7)


#!/usr/bin/expect -f
#
# connect naar DXCluster en send unproto info naar bestand
#
#
expect "\n"

spawn /spider/src/client dx1htt telnet &
set client $spawn_id

#
while 1 {
    	expect "DX de*"  { 
	      exec head -n 99 /var/www/html/halerbrug/dx/dx.txt >
/tmp/dx.rst
	      exec echo -n "$expect_out(0,string)" > /tmp/dx.tmp
	      exec cat /tmp/dx.tmp /tmp/dx.rst >
/var/www/html/halerbrug/dx/dx.txt
	}
	expect "To ALL*"  {
	      exec head -n 24 /var/www/html/halerbrug/dx/ann.txt >
/tmp/ann.rst
	      exec echo -n "$expect_out(0,string)" > /tmp/ann.tmp
	      exec cat /tmp/ann.tmp /tmp/ann.rst >
/var/www/html/halerbrug/dx/ann.txt
	}
	expect "WCY de*"  {
	      exec head -n 24 /var/www/html/halerbrug/dx/wcy.txt >
/tmp/wcy.rst
	      exec echo -n "$expect_out(0,string)" > /tmp/wcy.tmp
	      exec cat /tmp/wcy.tmp /tmp/wcy.rst >
/var/www/html/halerbrug/dx/wcy.txt
	}
	expect "WWV de*"  {
	      exec head -n 24 /var/www/html/halerbrug/dx/wcy.txt >
/tmp/wcy.rst
	      exec echo -n "$expect_out(0,string)" > /tmp/wcy.tmp
	      exec cat /tmp/wcy.tmp /tmp/wcy.rst >
/var/www/html/halerbrug/dx/wcy.txt
	}
}
#	
# eof telnet.http 

   ||-----Oorspronkelijk bericht-----
   ||Van: dxspider-support-bounces at dxcluster.org 
   ||[mailto:dxspider-support-bounces at dxcluster.org] Namens 
   ||dxspider-support-request at dxcluster.org
   ||Verzonden: donderdag 4 augustus 2005 13:00
   ||Aan: dxspider-support at dxcluster.org
   ||Onderwerp: Dxspider-support Digest, Vol 31, Issue 3
   ||
   ||
   ||Send Dxspider-support mailing list submissions to
   ||	dxspider-support at dxcluster.org
   ||
   ||To subscribe or unsubscribe via the World Wide Web, visit
   ||	http://www.tobit.co.uk/mailman/listinfo/dxspider-support
   ||or, via email, send a message with subject or body 'help' to
   ||	dxspider-support-request at dxcluster.org
   ||
   ||You can reach the person managing the list at
   ||	dxspider-support-owner at dxcluster.org
   ||
   ||When replying, please edit your Subject line so it is more specific
   ||than "Re: Contents of Dxspider-support digest..."
   ||
   ||
   ||Today's Topics:
   ||
   ||   1. Dx Spots in web pages (Keith Le Boutillier)
   ||
   ||
   ||-----------------------------------------------------------
   ||-----------
   ||
   ||Message: 1
   ||Date: Wed, 3 Aug 2005 21:53:48 -0000
   ||From: "Keith Le Boutillier" <gu6efb at cwgsy.net>
   ||Subject: [Dxspider-support] Dx Spots in web pages
   ||To: "The DXSpider Support list" <dxspider-support at dxcluster.org>
   ||Message-ID: <000d01c59875$d4850490$0201a8c0 at RadioPC>
   ||Content-Type: text/plain; charset=US-ASCII
   ||
   ||
   ||VU3SPQ / Sunny wrote 
   ||
   ||I have a working dxcluster now. www.dxcluster.in. I would like to
   ||provide the dx spots on my website directly. Can anyone 
   ||please let me
   ||know or help me with the required scripts etc., that would 
   ||enable me to
   ||do this. 
   ||
   ||I would prefer to do my webpages in asp or html.
   ||
   ||This is something that I would like to also achieve. 
   ||Eric at GB7CGL has this function on his web site but I 
   ||don't know if
   ||this information comes from his DXspider cluster or the AR 
   ||cluster that
   ||he also runs.
   ||
   ||Do any sysops have any scripts that work with spider they 
   ||would like to
   ||share.
   ||
   ||
   ||73 Keith GU6EFB MU3EFB
   ||
   ||Sysop GB7DXG Dxcluster Telnet Access Web 
   ||gb7dxg.shacknet.nu Port 7300
   ||Web Site http://gb7dxg.shacknet.nu
   ||Echolink Node GU6EFB-L Node number 121749
   ||Web Site http://gu6efb.shacknet.nu
   ||E-Mail gu6efb at cwgsy.net
   ||
   ||
   ||
   ||
   ||
   ||-- 
   ||No virus found in this outgoing message.
   ||Checked by AVG Anti-Virus.
   ||Version: 7.0.338 / Virus Database: 267.9.9/62 - Release 
   ||Date: 02/08/2005
   ||
   ||
   ||
   ||
   ||------------------------------
   ||
   ||_______________________________________________
   ||Dxspider-support mailing list
   ||Dxspider-support at dxcluster.org
   ||http://www.tobit.co.uk/mailman/listinfo/dxspider-support
   ||
   ||
   ||End of Dxspider-support Digest, Vol 31, Issue 3
   ||***********************************************
   ||




More information about the Dxspider-support mailing list