This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Durby - 0.3.0. New project page on code.google.com

Support & discussion of released scripts, and announcements of new releases.
User avatar
Anahel
Halfop
Posts: 48
Joined: Fri Jul 03, 2009 6:18 pm
Location: Dom!

Re: back to the drawing board. The return to 0.1

Post by Anahel »

lee8oi wrote:
I just ran 0.1.4 on both patched and unpatched bots. it returns the title text correctly for me. Of course this version doesn't have good redirect support. What channel are you hiding in anyways? I want to talk to you.
#incith on freenode (i'm there too but under nick - tomek)

Edit after testing script:

Code: Select all

[21:53:49] <~tomek> http://fishki.net/comment.php?id=20554
[21:53:53] <+Nekomimi> URL Title: Íåïðèÿòíîñòè ñëó÷àþòñÿ âåçäå (20 ôîòî) - Fishki.Net | Ôèøêèíà êàðòèíêà
[21:53:58] <~tomek> http://www.nicovideo.jp/video_top
[21:54:02] <+Nekomimi> URL Title: ニコニコ動画(原宿)
as you can see - russian text if broken but japanese is displayed correctly[/code]
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

Project has been branched.

Post by lee8oi »

Edited. this was an old post announcing a branch to a now depreciated version. No need to confuse anyone :)
Last edited by lee8oi on Sun Oct 30, 2011 9:35 am, edited 1 time in total.
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

Durltitle - New version 0.1.8. utf-8 quest continues.

Post by lee8oi »

0.1.8 is out and is ready for testing. I've added another piece to the utf-8 fix I'm trying to perfect. Hopefully this breakage streak will come to an end soon.
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

New release 0.1.9 Utf-8 battle continues.

Post by lee8oi »

I've gotten some tips and expanded on my utf-8 fix. Its much improved on my end. This of course is a script for UTF-8 patched eggdrop bots. see: http://eggwiki.org/Utf-8
seems to correctly convert windows-1251 and the standard encodings. Chinese n such may still have problems. The battle continues.
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

A new project which might replace durltitle.

Post by lee8oi »

I'm still playing with things but I starting playing with a copy of 'Webby' (old one that was floating around for some months). I've hacked this script up and I have good utf-8 support so far. Works; Is intended for use on utf-8 patched bots. I've added a basic url grabber system that can be enabled/disabled in configuration (watches for urls like urltitle does). I've also fixed a tls bug which appeared when I disabled my other tls requiring scripts. Currently the latest copy of my version is available at: https://github.com/lee8oi/dwebby/blob/master/dwebby.tcl

Note: 'Dwebby' as I like to call it(name subject to change when project matures); Is a FORK and not the official Webby script written by Speechles. For the latest development on the official Webby script see this topic: http://forum.egghelp.org/viewtopic.php?t=16819
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

New script. new name, new url.

Post by lee8oi »

urltitle will be depreciated in favor of the new script I dub "Durby". See first post for more information. The url to download Durby from is: https://github.com/lee8oi/durby/blob/master/durby.tcl
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

You may want to acknowledge the original authors in your scripts instead of just taking copyright for yourself. Just because you altered bits of something doesn't automatically transfer copyright (or like speechles likes to say, copyleft) to you.
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

Post by lee8oi »

Trixar_za wrote:You may want to acknowledge the original authors in your scripts instead of just taking copyright for yourself. Just because you altered bits of something doesn't automatically transfer copyright (or like speechles likes to say, copyleft) to you.
The copyleft is still in there. But in the older copies it wasn't at the top. But in the latest copy I committed I moved that to the top of the script. I've been talking to speechles. Even helped him with the latest versions of webby. So this script is no surprise to him, and is much welcomed by him. The next release of durby will be rebased on the newest copy of webby that fixes the utf-8 issues on patched/unpatched bots and the issues with both http 2.5.x & 2.7.2.

I"ll make a point of retaining more of the original header at the top to make sure its visible enough to give speechles proper credit. Thanks again everyone who has posted suggestions and reported bugs. I appreciate all the feedback. Please feel free to keep em coming in the newer releases :)

Edit: changes were committed yesterday but I forgot to push them to github. So github now has the commit that moved copyleft to the top. Next durby release currently in development.
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

New Durby release 01.2

Post by lee8oi »

The new rebased version of durby is now available on github at https://github.com/lee8oi/durby. Rebased on latest development version of webby. Also includes a bugfix for a small issue with unpatched eggdrops version 1.6.21. Durby now fully supports utf-8 on patched and unpatched bots alike. Urlwatch and ignore features are fully implemented. Durby is ready for testing.
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

New version

Post by lee8oi »

Added verbose mode. Can be used via --verbose switch or enabled by default in configuration section. When disabled or not using switch durby defaults to simply showing title and tiny url.
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

Durby - A new fork of Webby. Latest version: 0.2.3

Post by lee8oi »

Added title collection feature that allows the script to be configured to show the results of multiple urls at once instead of individually. Urlwatch only. Verbose mode disables collection.
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

Durby - Feature enhanced fork of Webby.Latest version: 0.2.4

Post by lee8oi »

Replaced the encoding system with durby_encode. Also includes durby_encode_debug for debugging encoding problems. Of course most encoding issues have been resolved already. The durby_encode system is designed to be flexible and informative. It allows you to gather information on the encoding process that can help script developers narrow down problem areas quickly and effectively.

To use durby_encode_debug simply run durby with the --encoding-debug switch. Then check your logs (or partyline output).
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

Post by lee8oi »

This was an attempt to hack a more complicated & scattered script to suit the needs of the users of my bot. I succeeded there. But created a less compatible script in the process. This script was not submitted to tcl archive. And is being moved off the record so more testing can be done prior to an official 'stable' release.

Webby is a solid script. Speechles is a great programmer. Webby is definitly worth a look. Anyone still testing durby I thank you. Everyone else I"m sorry. I promise not all my scripts are broke as bad as this one might seem. I'm better suited for writing scripts from scratch. And I'm always learning new things so nothing I've done here is a waste. I've learned great things from speechles and his work.

Anyone curious how things are coming along with my projects can check out my github. Everyone else. Keep up the great work, and enjoy eggdrop :)
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

version 0.2.5 is ready for testing.

Post by lee8oi »

I've fixed some issues. and version 0.2.5 is now out and available for testing. Changes include:

fixed bad encoding error related to 'UTF-8'.
added option number 6 to webbyshorttype for disabling url shortening.
fixed minor mixed character display problems.

Thank you all for helping me testing this. And for reporting your bugs. I hope with these fixes things start leaning on stable again :)
u
urbis
Voice
Posts: 1
Joined: Wed Jan 11, 2012 4:39 am

Post by urbis »

got 2 errors:

Code: Select all

[11:48:17] Tcl error [weburlwatch]: invalid command name "http::CharsetToEncoding"
[11:49:47] Tcl error [webby]: invalid command name "http::CharsetToEncoding"
Post Reply