<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/4166" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-04-20T18:48:33-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/4166</id>

		<entry>
		<author><name><![CDATA[SnOoPDoGg187]]></name></author>
		<updated>2003-04-20T18:48:33-04:00</updated>

		<published>2003-04-20T18:48:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19298#p19298</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19298#p19298"/>
		<title type="html"><![CDATA[sweet thanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19298#p19298"><![CDATA[
thanks but i'm still kinda stuck on how to connect to the site and get the info i'm looking for from the page i can't find a site that reall shows me how to do it. it is al xml data and the format is like this <br><br>&lt;CURRENTLISTENERS&gt;1&lt;/CURRENTLISTENERS&gt; <br>&lt;PEAKLISTENERS&gt;16&lt;/PEAKLISTENERS&gt; <br>&lt;MAXLISTENERS&gt;32&lt;/MAXLISTENERS&gt; <br>&lt;REPORTEDLISTENERS&gt;1&lt;/REPORTEDLISTENERS&gt;<br><br>like that now what i need it to do is read like in the first line the currentlisteners i need it to read the currentlisteners and give me what's there in the text above that would be 1 same with the rest of the stuff also<br><br>this is the script i'm trying to use as a basis for all the stuff i'm trying to do<br><br>set online "false"<br> if {[file exists $targetfile]} { &lt;-- i need it to read from the web page <br>    set read [open $targetfile r] <br>    while {![eof $read]} {<br>          set inhalt [gets $read] &lt;-- and here set a variabel  guess like maxlisteners to inhalt so the rest of the script can read the current dj  ect.<br><br>#-----------------------------------------------------Server title<br>#test whether in the next line yet somewhat stands (Line break)<br>          if {[string match "*1*" $cserver]} {<br>             set cserver "0"<br>             if {![string match "*Source connected*" $inhalt]} {<br>                set song "$song$inhalt"<br>                }<br>     }<br>          set s "Stream title 'Radio: "  <br>          if {[string match "*Stream title*" $inhalt]} {<br>             set radio [string trimright $inhalt "'"]<br>             set radio [string trimleft $radio $s]<br>             set online "true"<br>             set cserver "1"<br>     }<br><br>see this is from radio.tcl but it reads the info from a file i want it to goto the site and get the currentlisteners current dj and all stuff but i can't figure it out plz i need help : )<br><br>sorry i may have confused some people but i'm not sure how else to explain it hope some one can help me out<br><br>thanks in advanced<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2966">SnOoPDoGg187</a> — Sun Apr 20, 2003 6:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-20T09:12:49-04:00</updated>

		<published>2003-04-20T09:12:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19282#p19282</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19282#p19282"/>
		<title type="html"><![CDATA[how to logon to a site with logon name and password?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19282#p19282"><![CDATA[
Note the URL you are using.<br><br>URL's use a standrd schema that is followed for allmsot all types, and in this case, should also be used.<br><br>&lt;proto&gt;://[&lt;user&gt;:&lt;pass&gt;@]&lt;host&gt;[:&lt;port&gt;]/[&lt;uri&gt;[?&lt;parameters&gt;]]<br><br>for http, or web-browsing,t his is<br><br><a href="http://www.server.com/this/address/" class="postlink">http://www.server.com/this/address/</a><br><br>or<br><br><a href="http://username:password@www.server.com/this/addess/" class="postlink">http://username:password@www.server.com/this/addess/</a><br><br>FOllow this format for the URL.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Apr 20, 2003 9:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SnOoPDoGg187]]></name></author>
		<updated>2003-04-17T17:42:26-04:00</updated>

		<published>2003-04-17T17:42:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19191#p19191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19191#p19191"/>
		<title type="html"><![CDATA[how to logon to a site with logon name and password?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19191#p19191"><![CDATA[
i need to know how i could log onto a site that requires u to logon to it with a logon name and password??<br><br>this is what i got but not sure on how to logon with a logon name and password. by the way this is to logon to a shoutcast server to get the current dj current song ect..<br><br>set file [open "|lynx -source $xbradio_url" r] <br><br>xbradio_url is the site to connect to but i have checked some scripts but i have not been able to find one that will let u logon to it with a lgon name and password..<br><br>one more question while i'm at it the site is using xml and i'm not sure how to get it to read the lines in it i have checked acouple to see how it's done but i don't understand it : (<br><br>like this line here <br><br>&lt;SONGTITLE&gt;Godsmack - I AM&lt;/SONGTITLE&gt;<br><br>how would i cut out all the other stuff so it only returns the actuall song name??<br><br>thanks in advance for the help guys : )<br><br>if ya need me to paste more info let me know<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2966">SnOoPDoGg187</a> — Thu Apr 17, 2003 5:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
