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

	<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-09-09T07:39:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Kev]]></name></author>
		<updated>2005-09-09T07:39:42-04:00</updated>

		<published>2005-09-09T07:39:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55516#p55516</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55516#p55516"/>
		<title type="html"><![CDATA[rss feed help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55516#p55516"><![CDATA[
thanks, works like a charm !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6702">Kev</a> — Fri Sep 09, 2005 7:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-08T23:38:36-04:00</updated>

		<published>2005-09-08T23:38:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55489#p55489</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55489#p55489"/>
		<title type="html"><![CDATA[rss feed help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55489#p55489"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>regexp {(?i)&lt;category.*?&gt;(.*?)&lt;/category&gt;} $item -&gt; item</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Sep 08, 2005 11:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kev]]></name></author>
		<updated>2005-09-08T22:55:35-04:00</updated>

		<published>2005-09-08T22:55:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55487#p55487</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55487#p55487"/>
		<title type="html"><![CDATA[rss feed help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55487#p55487"><![CDATA[
heya<br><br>i'm trying to create a script which reads xml data..<br>now there's a tag &lt;category&gt; in the xml file but it's something like:<br><br>&lt;category domain="<a href="http://www.test.be/view.php?sub=4%22%3EAlbum%3C/category" class="postlink">http://www.test.be/view.php?sub=4"&gt;Album&lt;/category</a>&gt;<br><br>i would want to retrieve the word Album, the text between the tags<br><br>when i use:<br><div class="codebox"><p>Code: </p><pre><code>  set count 0  set item 0  foreach line [split $data \n] {    regsub -all "\\&amp;" $line "\\\\&amp;" line    if {[regexp "&lt;item&gt;" $line]} { set item 1 }    if {[regexp "&lt;/item&gt;" $line]} { set item 0 }    if {$item == 1} {      regexp "&lt;title&gt;(.*)&lt;/title&gt;" $line trash zvdata(title,$count)      regexp "&lt;category domain=(.*)&gt;(.*)&lt;/category&gt;" $line trash zvdata(category,$count)      if {[regexp "&lt;pubDate&gt;(.*)&lt;/pubDate&gt;" $line trash zvdata(date,$count)]} { incr count }    }</code></pre></div><div class="codebox"><p>Code: </p><pre><code>      regexp "&lt;category domain=(.*)&gt;(.*)&lt;/category&gt;" $line trash zvdata(category,$count)</code></pre></div>&gt; gives me the url that's used for domain<br><br>how can i get the category?<br><br>thanks in advance !!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6702">Kev</a> — Thu Sep 08, 2005 10:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
