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

	<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>2014-01-11T07:43:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[prashant]]></name></author>
		<updated>2014-01-11T07:43:25-04:00</updated>

		<published>2014-01-11T07:43:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102466#p102466</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102466#p102466"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102466#p102466"><![CDATA[
i need this Script! AnyOne Have working Script - Please Provide - <strong class="text-strong">Mirror Link &amp; New Link</strong> of this Nick Script  <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=12327">prashant</a> — Sat Jan 11, 2014 7:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mysticales]]></name></author>
		<updated>2011-11-07T11:57:57-04:00</updated>

		<published>2011-11-07T11:57:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98138#p98138</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98138#p98138"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98138#p98138"><![CDATA[
Fixed my #1 issue too. Sloppy fix, but it works. <br><div class="codebox"><p>Code: </p><pre><code>if {[regexp -nocase {&lt;title&gt;(.*?)&lt;/title&gt;} $data match title]} {return [string map { {href=} "" \" "" } $title]} else {return }}}putlog "Url Title Grabber $urltitlever (rosc) script loaded.."</code></pre></div>Its at the end, basically removed the whole "Return" response. Since whats the point of it saying there is no url title. No longer responds to picture images. =)<br><br>As for it being broken.. I dont know, I mean I get some glitches on it sure. But it works fine enough.<br><br>Also That Durby is an Unstable script right now, seems to be down. I could upload this file if needed for the urltitle one if needed?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11814">Mysticales</a> — Mon Nov 07, 2011 11:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2011-11-05T00:40:30-04:00</updated>

		<published>2011-11-05T00:40:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98121#p98121</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98121#p98121"/>
		<title type="html"><![CDATA[Re: o.o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98121#p98121"><![CDATA[
<blockquote class="uncited"><div>the link isnt working anymore <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"></div></blockquote>Good. This script is broken. It doesn't handle encodings or character sets correctly....<br><br>Instead.. Use a script that does work:<br>--&gt; <span style="font-size:150%;line-height:116%"><a href="http://forum.egghelp.org/viewtopic.php?t=18677" class="postlink"><strong class="text-strong">Durby</strong></a></span><br>It's based off <a href="http://forum.egghelp.org/viewtopic.php?t=16819" class="postlink">Webby</a>. Since it's Webby based this means it correctly handles character sets, http versions, patched or unpatched bots, etc, etc.. This is the url grabbing script you should be using...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Nov 05, 2011 12:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FightingNavyman]]></name></author>
		<updated>2011-11-05T00:32:57-04:00</updated>

		<published>2011-11-05T00:32:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98120#p98120</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98120#p98120"/>
		<title type="html"><![CDATA[o.o]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98120#p98120"><![CDATA[
the link isnt working anymore <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11503">FightingNavyman</a> — Sat Nov 05, 2011 12:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mysticales]]></name></author>
		<updated>2011-10-18T17:47:57-04:00</updated>

		<published>2011-10-18T17:47:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97948#p97948</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97948#p97948"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97948#p97948"><![CDATA[
<blockquote class="uncited"><div>Change the pubm bind's mask to be more specific, eg:<br><br>bind pubm $urltitle(pubmflags) {*://*.htm?} pubm:urltitle<br><br>should work.</div></blockquote>Hello, just tried this, however that didnt work for me. Unless I am doing something wrong? Also would the above still work for php urls? <br><br>But yea, really trying to make it do 2 things:<br>1: Not show up for images. <br>2: Delete the url from being repeated when it responds. (Granted looking into that right now in the code)<br><br>Edit: Ok fixed #2<br>Changed<br>puthelp "PRIVMSG $chan :$nick: URL Title for $word - \002$urtitle\002"<br>to<br>puthelp "PRIVMSG $chan :\002$urtitle\002"<br><br>Gets a lil too spammy if it just repeats the url that the person just said.<br><br>Still cant fix the image thing to prevent that from showing up results..<br><br>Edit2: Fixed the image thing, Just remove the words "No title found" so the script returns nothing. Sloppy fix, but it works. No more parsing of image urls.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11814">Mysticales</a> — Tue Oct 18, 2011 5:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2010-10-08T01:17:42-04:00</updated>

		<published>2010-10-08T01:17:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94668#p94668</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94668#p94668"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94668#p94668"><![CDATA[
Add an "if" type statement, <br><br>if [string match *youtube*];#ignore<br><br>or something to that effect. It's been several years(?) since I messed with tcl &amp; eggdrop so I don't remember the exact syntax, I suggest you RTFM <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Fri Oct 08, 2010 1:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[weezel]]></name></author>
		<updated>2010-10-07T23:46:52-04:00</updated>

		<published>2010-10-07T23:46:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94667#p94667</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94667#p94667"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94667#p94667"><![CDATA[
just started using this a few months ago, and whenever it grabs a youtube title, it does this: <br><br>[04:41:01] &lt;~weezel&gt; <a href="http://www.youtube.com/watch?v=0jhu7ux4whs&amp;feature=related" class="postlink">http://www.youtube.com/watch?v=0jhu7ux4 ... re=related</a><br>[04:41:06] &lt;@BusBot&gt; weezel's Youtube Title: "14 Undestructable by Gogol Bordello"<br>[04:41:07] &lt;@BusBot&gt; weezel: URL Title - } {    YouTube} {        - 14 Undestructable by Gogol Bordello} {  <br><br>the first line from busbot is just a youtube script. the second is yours, but i couldnt find how i might get it to just plain ignore youtube urls. <br><br>also, changing <br><br>bind pubm $urltitle(pubmflags) {*://*} pubm:urltitle<br><br>how might i add more than just "://"  ? for example i'd want it to ignore image extensions or any extension other than .html .php .asp and a few others. will multiple of that line work ? or do i have to put into that single line the things i want it to report on?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11378">weezel</a> — Thu Oct 07, 2010 11:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2008-01-14T06:24:47-04:00</updated>

		<published>2008-01-14T06:24:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80048#p80048</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80048#p80048"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80048#p80048"><![CDATA[
I'd change the returns to just 'return'  and not 'return ""'<br><br>Not much I can to do debug if I can't duplicate the problem. Put some "putcmdlog" lines in the procs so you can see the steps being taken.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Jan 14, 2008 6:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cruxing]]></name></author>
		<updated>2008-01-13T15:49:47-04:00</updated>

		<published>2008-01-13T15:49:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80023#p80023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80023#p80023"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80023#p80023"><![CDATA[
The only modifications I've made have been output ones.  The shortened URL: and squelching the error messages by making them "".  While I can't imagine they'd impact it, hey, who knows.  I certainly don't!<br><br>Presently, as I mentioned, none of those links are currently running slow enough to duplicate.  They're all only returning 1 hit for me as well.<br><br>It is somewhat difficult to test until there's a website sufficiently slow, which makes it a little trickier, heh.<br><br>Modifications made:<div class="codebox"><p>Code: </p><pre><code>puthelp "PRIVMSG $chan :URL: $urtitle"if {[string match -nocase "*couldn't open socket*" $error]} {return "wtf, srsly."}if { [::http::status $http] == "timeout" } {return ""}and...if {[regexp -nocase {&lt;title&gt;(.*?)&lt;/title&gt;} $data match title]} {return [string map { {href=} "" \" "" } $title]} else {return ""}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9283">cruxing</a> — Sun Jan 13, 2008 3:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2008-01-13T15:22:50-04:00</updated>

		<published>2008-01-13T15:22:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80021#p80021</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80021#p80021"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80021#p80021"><![CDATA[
I am not able to reproduce the problem with any of those urls.<br><br>Have you modified the script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Jan 13, 2008 3:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cruxing]]></name></author>
		<updated>2008-01-13T14:06:25-04:00</updated>

		<published>2008-01-13T14:06:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80017#p80017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80017#p80017"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80017#p80017"><![CDATA[
<a href="http://www.webware.com/8301-1_109-9848317-2.html" class="postlink">http://www.webware.com/8301-1_109-9848317-2.html</a> was the first one I noticed it with and was using it last night to test, although it seems faster now.  Doesn't appear to be duplicating it as of this moment.<br><br>4chan links during the day usually work as well.  As would anything recently slashdotted/wanged/farked, likely.<br><br>[10:30] &lt;@a&gt; <a href="http://www.webware.com/8301-1_109-9848317-2.html" class="postlink">http://www.webware.com/8301-1_109-9848317-2.html</a><br>[10:30] &lt;@bot&gt; URL: Bloggers behaving badly: Gizmodo messes with CES flat screens | Webware : Cool Web apps for everyone<br>[10:30] &lt;@bot&gt; URL: Bloggers behaving badly: Gizmodo messes with CES flat screens | Webware : Cool Web apps for everyone<br><br>[10:40] &lt;@c&gt; <a href="http://www.webware.com/8301-1_109-9848317-2.html" class="postlink">http://www.webware.com/8301-1_109-9848317-2.html</a><br>[10:40] &lt;@bot&gt; URL: Bloggers behaving badly: Gizmodo messes with CES flat screens | Webware : Cool Web apps for everyone<br>[10:40] &lt;@a&gt; weird<br><br>[13:58] &lt;@c&gt; hm hm hm<br>[13:59] &lt;@c&gt; <a href="http://www.dieselsweeties.com/archive.php?s=1924" class="postlink">http://www.dieselsweeties.com/archive.php?s=1924</a><br>[13:59] &lt;@bot&gt; URL: diesel sweeties: pixelated robot romance web comic<br>[13:59] &lt;@c&gt; called only once that time?<br>[13:59] &lt;@a&gt; yup<br>[13:59] &lt;@bot&gt; <a href="http://www.webware.com/8301-1_109-9848317-2.html" class="postlink">http://www.webware.com/8301-1_109-9848317-2.html</a><br>[13:59] &lt;@c&gt; so what is the order of the logs<br>[13:59] &lt;@bot&gt; URL: Bloggers behaving badly: Gizmodo messes with CES flat screens | Webware : Cool Web apps for everyone<br>[13:59] &lt;@a&gt; heh this one called 3 times<br>[13:59] &lt;@bot&gt; URL: Bloggers behaving badly: Gizmodo messes with CES flat screens | Webware : Cool Web apps for everyone<br>[14:00] &lt;@bot&gt; URL: Bloggers behaving badly: Gizmodo messes with CES flat screens | Webware : Cool Web apps for everyone<br><br>Any link that has done this has been notably slow for all of us when loading it, so I'm certain it's not limited to the shell the bot resides on.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9283">cruxing</a> — Sun Jan 13, 2008 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2008-01-13T11:37:28-04:00</updated>

		<published>2008-01-13T11:37:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80012#p80012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80012#p80012"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80012#p80012"><![CDATA[
Give me a url to duplicate the problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Jan 13, 2008 11:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cruxing]]></name></author>
		<updated>2008-01-13T05:03:38-04:00</updated>

		<published>2008-01-13T05:03:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80009#p80009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80009#p80009"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80009#p80009"><![CDATA[
Ah, no, def. not.  It's occurring just fine with myself as the only person triggering it.  I added some echos to watch the process and try and figure out where it was looping, and to the best of my observation the entire cycle is getting rerun.<br><br>It only happens on slow pages, the slower the site, the more it echos.  So of course if I try to test it now nothing seems wrong since it's the middle of the night... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Essentially, the proc pubm:urltitle occurs, followed right away by the proc urltitle, then a brief pause (perhaps .5-1 second), then the catch and cleanup, where it then rolls right back into the proc pubm:urltitle instantly and the cycle repeats.<br><br>The cycle seems to 'end' whenever the results from the very first http get is successful, and I've had it report 2 and 3 times, depending on the lag of the site.  I've yet to pull off 4, but I'm not sure if I've found a site slow enough to accomplish that yet.<br><br>I'm not that coding inclined, unfortunately, but a friend and I have dug through it and we can't for the life of us figure out what would cause it to repeat like that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9283">cruxing</a> — Sun Jan 13, 2008 5:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2008-01-12T19:13:37-04:00</updated>

		<published>2008-01-12T19:13:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80005#p80005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80005#p80005"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80005#p80005"><![CDATA[
Are people triggering it multiple times in their impatience?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Jan 12, 2008 7:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cruxing]]></name></author>
		<updated>2008-01-12T16:50:46-04:00</updated>

		<published>2008-01-12T16:50:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79999#p79999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79999#p79999"/>
		<title type="html"><![CDATA[URL Title grabber]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79999#p79999"><![CDATA[
I actually edited this by simply changing the error message output for "No title found" to "".  This puts it under the character limit and simply causes it to not be reported since the string is too short.  Seemed like the easiest/best way, even if a bit hacky, since it allows for html/html/xml/xhtml/php/asp etc all to report back without having to get real complex with more regex or whatever.<br><br>I do have another question though -- if a webpage is lagged, there seems to be a long delay, which is natural, but the title ends up getting pasted 2-3 times.  Usually 3, simply because the lag is rarely in that special in between point for 2.<br><br>I'm very novice, and I can't for the life of me figure out why this is occurring.  As a temporary workaround I've just shortened the timeout to about 2000, which causes it to just error out on the slow sites instead of reporting it 3 times a few seconds later, but I'd really appreciate it if someone could take a look and see if they catch something simple.<br><br>Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9283">cruxing</a> — Sat Jan 12, 2008 4:50 pm</p><hr />
]]></content>
	</entry>
	</feed>
