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

	<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>2016-10-20T17:25:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Elfriede]]></name></author>
		<updated>2016-10-20T15:14:45-04:00</updated>

		<published>2016-10-20T15:14:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105507#p105507</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105507#p105507"/>
		<title type="html"><![CDATA[http geturl bracket issue [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105507#p105507"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>http://api.tvmaze.com/shows/$shownumber?embed%91%93=nextepisode&amp;embed%91%93=previousepisode</code></pre></div>If i change like that; doesn't work :/<br><br>edit:<br><br>Thanks for all the help - could fix it by my own. If someone's interested:<br><div class="codebox"><p>Code: </p><pre><code>set test "http://api.tvmaze.com/shows/$shownumber?[::http::formatQuery embed\[\] nextepisode embed\[\] previousepisode]"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9204">Elfriede</a> — Thu Oct 20, 2016 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2016-10-20T17:25:17-04:00</updated>

		<published>2016-10-20T14:12:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105505#p105505</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105505#p105505"/>
		<title type="html"><![CDATA[http geturl bracket issue [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105505#p105505"><![CDATA[
[] are used for command substitutions, and will cause issues with your code. Further, http URI's can't contain literal [], so you'll have to use %-substitutions; replace [ with %91, and ] with %93<br><br>Edit:<br>Accidentally wrote the decimal values as opposed to the hexadecimal ones;<br>"[" =&gt; "%5b"<br>"]" =&gt; "%5d"<br><br>That said, using ::http::formatQuery is indeed a better approach, as suggested by OP<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Oct 20, 2016 2:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Elfriede]]></name></author>
		<updated>2016-10-20T13:02:40-04:00</updated>

		<published>2016-10-20T13:02:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105504#p105504</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105504#p105504"/>
		<title type="html"><![CDATA[http geturl bracket issue [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105504#p105504"><![CDATA[
its not caused by the $<br>its [] but adding "" doesnt help either :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9204">Elfriede</a> — Thu Oct 20, 2016 1:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2016-10-20T12:55:58-04:00</updated>

		<published>2016-10-20T12:55:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105503#p105503</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105503#p105503"/>
		<title type="html"><![CDATA[http geturl bracket issue [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105503#p105503"><![CDATA[
$ into \$<br><br>or just use set token [::http::geturl "<a href="http://api.tvmaze.com/shows/$shownumber?embed%5B%5D=nextepisode&amp;embed%5B%5D=previousepisode" class="postlink">http://api.tvmaze.com/shows/$shownumber ... ousepisode</a>" -timeout 4000]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Thu Oct 20, 2016 12:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Elfriede]]></name></author>
		<updated>2016-10-20T12:36:21-04:00</updated>

		<published>2016-10-20T12:36:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105502#p105502</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105502#p105502"/>
		<title type="html"><![CDATA[http geturl bracket issue [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105502#p105502"><![CDATA[
when i try that i get: Illegal characters in URL path<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9204">Elfriede</a> — Thu Oct 20, 2016 12:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2016-10-20T12:00:18-04:00</updated>

		<published>2016-10-20T12:00:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105501#p105501</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105501#p105501"/>
		<title type="html"><![CDATA[http geturl bracket issue [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105501#p105501"><![CDATA[
Use \[ and \] instead of [ and ]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Thu Oct 20, 2016 12:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Elfriede]]></name></author>
		<updated>2016-10-20T15:50:46-04:00</updated>

		<published>2016-10-20T10:49:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105500#p105500</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105500#p105500"/>
		<title type="html"><![CDATA[http geturl bracket issue [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105500#p105500"><![CDATA[
Hi everyone <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>i do face a small problem, where i need some help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>       set token [::http::geturl http://api.tvmaze.com/shows/$shownumber?embed[]=nextepisode&amp;embed[]=previousepisode -timeout 4000]</code></pre></div>when i open this url in my browser everything is fine, but the eggdrop seems to have a problem with those brackets. Because saving the output to file will result in outputting the previous episode only. Im guessing this has something to do with those []. Anyone has an idea how to solve that?<br>thanks for helping<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9204">Elfriede</a> — Thu Oct 20, 2016 10:49 am</p><hr />
]]></content>
	</entry>
	</feed>
