<?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/10689" />

	<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>2005-10-22T09:48:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-22T09:48:29-04:00</updated>

		<published>2005-10-22T09:48:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56752#p56752</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56752#p56752"/>
		<title type="html"><![CDATA[website, login, parse html, output results...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56752#p56752"><![CDATA[
how is login done? via HTTP post?<br>how will the SID beeing returned? cookie? redirect? or will only be visible in URLs contained in the html codes?<br>generally there are 2 usual ways to parse HTML code<br>either via tDOM: <a href="http://forum.egghelp.org/viewtopic.php?t=9972" class="postlink">http://forum.egghelp.org/viewtopic.php?t=9972</a><br>or via RE: <a href="http://forum.egghelp.org/viewtopic.php?t=4319" class="postlink">http://forum.egghelp.org/viewtopic.php?t=4319</a><br>examples for REs are found in almost all common scripts accessing html pages. The google script I rewrote also shows an example for the redirect header parsing.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Oct 22, 2005 9:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TheRudy]]></name></author>
		<updated>2005-10-22T05:22:57-04:00</updated>

		<published>2005-10-22T05:22:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56747#p56747</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56747#p56747"/>
		<title type="html"><![CDATA[website, login, parse html, output results...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56747#p56747"><![CDATA[
Hi<br><br>First, i'm a complete noob to TCL scripting altho i know some programming languages.<br><br>What i want to do:<br>- Login to a website<br>- Parse out of URL SID (php) id<br>- attach this url SID id to another page that is protected (no SID in url = redirects back to login site)<br>- parses out this html code:<div class="codebox"><p>Code: </p><pre><code>&lt;tr&gt; &lt;th&gt;20  &lt;font color="87CEEB"&gt;*&lt;/font&gt;&lt;/th&gt;&lt;th&gt;&lt;a href="ainfo.php?session=3c546726f1fb&amp;allytag=GP"&gt;&lt;font color='lime'&gt;GP&lt;/font&gt;&lt;/a&gt;&lt;/th&gt;&lt;th&gt; &lt;/th&gt;&lt;th&gt;48&lt;/th&gt;&lt;th&gt;1564&lt;/th&gt;&lt;th&gt;32&lt;/th&gt;&lt;/tr&gt;</code></pre></div>Things that needs to parsed out are in bold: <br>&lt;th&gt;<strong class="text-strong">20</strong> <br>&lt;font color='lime'&gt;<strong class="text-strong">GP</strong>&lt;/font&gt;<br>&lt;th&gt;<strong class="text-strong">48</strong>&lt;/th&gt;<br>&lt;th&gt;<strong class="text-strong">1564</strong>&lt;/th&gt;<br>&lt;th&gt;<strong class="text-strong">32</strong>&lt;/th&gt;<br><br>- next to output this into channel when someones says for example !stats<br><br>Now, i DO NOT want YOU to write me this script! I want to write it myself but i need some start up points. What do i need to this, where can i see some examples and so on...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6882">TheRudy</a> — Sat Oct 22, 2005 5:22 am</p><hr />
]]></content>
	</entry>
	</feed>
