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

	<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>2022-08-30T17:16:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[NewzNZ]]></name></author>
		<updated>2022-08-30T17:16:14-04:00</updated>

		<published>2022-08-30T17:16:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111321#p111321</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111321#p111321"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111321#p111321"><![CDATA[
Thanks...will send them a message.<br>Appreciate the help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10525">NewzNZ</a> — Tue Aug 30, 2022 5:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-08-30T04:23:00-04:00</updated>

		<published>2022-08-30T04:23:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111320#p111320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111320#p111320"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111320#p111320"><![CDATA[
Ok, so you upgrade your tcl version, or ask your hoster to upgrade it, as tls is in tcl since version 8.4.<br><br>And tinyurl allows the non-https queries when v.gd forces the https usage (tested and verified)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Aug 30, 2022 4:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzNZ]]></name></author>
		<updated>2022-08-29T20:35:09-04:00</updated>

		<published>2022-08-29T20:35:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111319#p111319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111319#p111319"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111319#p111319"><![CDATA[
ps not sure if it helps but the script I use for tinyurl is:<br><br><div class="codebox"><p>Code: </p><pre><code>set query [::http::geturl http://tinyurl.com/api-create.php?url=$someurl]set url [lindex [split [::http::data $query] \n] 0]</code></pre></div>...and it seems to work without the https even though tinyurl is also an https site?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10525">NewzNZ</a> — Mon Aug 29, 2022 8:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzNZ]]></name></author>
		<updated>2022-08-29T19:12:37-04:00</updated>

		<published>2022-08-29T19:12:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111318#p111318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111318#p111318"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111318#p111318"><![CDATA[
added to top of script:<br><br>package require http<br>package require tls<br><br>but bot quit with this error when rehashed:<br><br>Tcl error in file 'i.conf':<br>can't find package tls<br>    while executing<br>"package require tls"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10525">NewzNZ</a> — Mon Aug 29, 2022 7:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-08-29T18:34:59-04:00</updated>

		<published>2022-08-29T18:34:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111317#p111317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111317#p111317"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111317#p111317"><![CDATA[
did you add <strong class="text-strong">package require tls</strong> after the <strong class="text-strong">package require http</strong> line in your script ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Aug 29, 2022 6:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzNZ]]></name></author>
		<updated>2022-08-29T17:23:20-04:00</updated>

		<published>2022-08-29T17:23:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111314#p111314</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111314#p111314"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111314#p111314"><![CDATA[
Thanks for this - looks like perhaps my shell provider dosn't have the needed items as it's still returning an empty url...<br>Thanks anyway.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10525">NewzNZ</a> — Mon Aug 29, 2022 5:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-08-29T10:09:07-04:00</updated>

		<published>2022-08-29T10:09:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111312#p111312</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111312#p111312"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111312#p111312"><![CDATA[
v.gd now uses https, so you need the tls package and modify the script like this:<div class="codebox"><p>Code: </p><pre><code>::http::register https 443 [list ::tls::socket -autoservername true]set query [::http::geturl https://v.gd/create.php?url=$somelongurltoshorten&amp;format=simple]set url [lindex [split [::http::data $query] \n] 0]::http::cleanup $query::http::unregister httpsputserv "PRIVMSG $channel :$url"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Aug 29, 2022 10:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzNZ]]></name></author>
		<updated>2022-08-28T00:27:41-04:00</updated>

		<published>2022-08-28T00:27:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111310#p111310</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111310#p111310"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111310#p111310"><![CDATA[
Thanks &amp; apologies for the spectacularly slow reply:<br><div class="codebox"><p>Code: </p><pre><code>set query [::http::geturl http://v.gd/create.php?url=$somelongurltoshorten&amp;format=simple]set url [lindex [split [::http::data $query] \n] 0]putserv "PRIVMSG $channel :$url"</code></pre></div>Thanks again!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10525">NewzNZ</a> — Sun Aug 28, 2022 12:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-07-31T08:12:12-04:00</updated>

		<published>2022-07-31T08:12:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111211#p111211</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111211#p111211"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111211#p111211"><![CDATA[
Can you provide your scripts so we can test and look for an explanation and/or a solution<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Jul 31, 2022 8:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzNZ]]></name></author>
		<updated>2022-07-30T19:58:32-04:00</updated>

		<published>2022-07-30T19:58:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111210#p111210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111210#p111210"/>
		<title type="html"><![CDATA[url shortener]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111210#p111210"><![CDATA[
Hi there<br>I had been running a script to use v.gd and is.gd for delivering shortened urls of news stories to a channel...but lately has been returning nothing despite the sites appearing to still be working.<br>Was wondering if anyone has had experience using these sites in scripts? Currently the only other shortener site I've been able to use sucessfully is tinyurl but would prefer the reduced length of the first 2 mentioned.<br><br>Thanks in advance for any help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10525">NewzNZ</a> — Sat Jul 30, 2022 7:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
