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

	<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-08-25T03:28:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DJGrenola]]></name></author>
		<updated>2003-08-25T03:28:18-04:00</updated>

		<published>2003-08-25T03:28:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25617#p25617</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25617#p25617"/>
		<title type="html"><![CDATA[C]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25617#p25617"><![CDATA[
By far the best way would be to find an XML parser written in C, compile it as a TCL module and then write hooks from TCL to the C library. Trying to write an XML parser in TCL is tantamount to reinventing the wheel. And the wheel wouldn't go round very fast, either.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3708">DJGrenola</a> — Mon Aug 25, 2003 3:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-08-24T15:56:04-04:00</updated>

		<published>2003-08-24T15:56:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25604#p25604</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25604#p25604"/>
		<title type="html"><![CDATA[Simple XML parser - there must be a way!!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25604#p25604"><![CDATA[
Recipe for your script<br><br>1. Get code to download the xml file -- http.tcl should work fine<br>2. Figure out how to tell when the file has changed (look at http headers? compare files? several methods here)<br>3. Get code to parse the xml -- a simple google search reveals a bunch, tclxml.sourceforge.net is one example<br>4. Combine code for desired script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Aug 24, 2003 3:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyrayo]]></name></author>
		<updated>2003-08-24T15:28:49-04:00</updated>

		<published>2003-08-24T15:28:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25601#p25601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25601#p25601"/>
		<title type="html"><![CDATA[Simple XML parser - there must be a way!!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25601#p25601"><![CDATA[
<a href="http://tcllib.sourceforge.net/doc/index.html" class="postlink">http://tcllib.sourceforge.net/doc/index.html</a> &lt;= it does a lot of impressive stuff, but nothing with XML.+<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3591">tonyrayo</a> — Sun Aug 24, 2003 3:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-08-24T15:23:48-04:00</updated>

		<published>2003-08-24T15:23:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25599#p25599</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25599#p25599"/>
		<title type="html"><![CDATA[Simple XML parser - there must be a way!!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25599#p25599"><![CDATA[
Try googling for the 'tcllib' package .. I think I saw the beginnings of an XML parser in there a while back.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Aug 24, 2003 3:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyrayo]]></name></author>
		<updated>2003-08-24T15:15:42-04:00</updated>

		<published>2003-08-24T15:15:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25597#p25597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25597#p25597"/>
		<title type="html"><![CDATA[Simple XML parser - there must be a way!!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25597#p25597"><![CDATA[
I was only able to find general information on the web, but no good examples.  Since a general parser doesn't seem possible, could someone send me their code for one specific xml file and I could learn from that and edit it from there.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3591">tonyrayo</a> — Sun Aug 24, 2003 3:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-08-23T07:32:06-04:00</updated>

		<published>2003-08-23T07:32:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25525#p25525</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25525#p25525"/>
		<title type="html"><![CDATA[Simple XML parser - there must be a way!!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25525#p25525"><![CDATA[
Generic xml parsing is not easy (in any language). The parser needs to know what attributes/text nodes you want and where to find them in the structure. Also, Tcl is badly suited for manipulating these multidimensional structures. There are, however, several packages for parsing xml in tcl. Try your favourite search engine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sat Aug 23, 2003 7:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tonyrayo]]></name></author>
		<updated>2003-08-23T03:21:56-04:00</updated>

		<published>2003-08-23T03:21:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=25519#p25519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=25519#p25519"/>
		<title type="html"><![CDATA[Simple XML parser - there must be a way!!!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=25519#p25519"><![CDATA[
Hey everyone, I was wondering if a script existed, or if some people are willing to work together to create a script that can easily parse a XML files, and then display the contents in the channel whenever that XML files is updated.  It's also important that this script is able to support multiple sites.  Thx you =).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3591">tonyrayo</a> — Sat Aug 23, 2003 3:21 am</p><hr />
]]></content>
	</entry>
	</feed>
