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

	<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>2008-05-09T20:56:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-05-09T20:56:29-04:00</updated>

		<published>2008-05-09T20:56:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82857#p82857</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82857#p82857"/>
		<title type="html"><![CDATA[Replacing &amp;amp; with &amp;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82857#p82857"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>putserv "NOTICE $n :[string map {&amp; &amp;} "$artist - $title"] ($type)" </code></pre></div>As more html elements begin to surface, enlarge the string map to encompass them as well.<br>Also, do not escape the set of double-quotes inside the string map, they are within command/evaluation brackets.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Fri May 09, 2008 8:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[theice]]></name></author>
		<updated>2008-05-09T18:48:53-04:00</updated>

		<published>2008-05-09T18:48:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82855#p82855</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82855#p82855"/>
		<title type="html"><![CDATA[Replacing &amp;amp; with &amp;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82855#p82855"><![CDATA[
couldn't figure out an easy way after looking around the forums... maybe i'm being a noob...<br><br>probably going to use lreplace to do it?<br><div class="codebox"><p>Code: </p><pre><code>foreach tr [regexp -all -inline {&lt;tr class="dlc_info_row"&gt;.*?&lt;/tr&gt;} $data] {   regexp {&lt;tr class="dlc_info_row"&gt;.*?&lt;td&gt;(.+?)&lt;/td&gt;.*?&lt;td&gt;(.+?)&lt;/td&gt;.*?&lt;td&gt;(.+?)&lt;/td&gt;} $tr - artist title type putserv "NOTICE $n :$artist - $title ($type)" }</code></pre></div>is where it is getting my artist and title<br><br>I want it to replace any &amp; in $artist or $title with &amp;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9778">theice</a> — Fri May 09, 2008 6:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
