Register / Log in

Server Costs Aug

Ends in 15 days 0%
It is currently Sat Aug 17, 2019 12:46 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Prettychat -- chat log prettifier tool
PostPosted: Sat Feb 23, 2008 1:44 am 
Moostro

Joined: Sat Dec 08, 2007 10:56 am
Posts: 795
Location: Vancouver, WA
Faction: Flight School
Offline
With the help of Major Science and the radio, we've got a little web app to play with for pasting your chat logs into and reformatting for posting to the forum or HTML somewhere.

EDIT 08/11/2013: NEW URL: http://skyrates.zosimple.net/tools/prettychat.pl
(formerly at http://www .zo.com/~nehpets/pub/skyrates/prettychat.pl)


It's current visible features include:
* choose HTML or bbcode (forum) output
* enter one or more names to highlight in the text
* choose colors for the name display (separate for 'primary' and everyone else)
* choose to bold the entire text for the highlighted 'primaries'
* remove (collapse) extra name displays when a user has multiple posts in a row (primary/normal separate options.)
* automatically highlights URLs in text and provides a quick list of all located urls on the results page as well.

To use it, you paste a portion of your chat log into the entry box, choose any features (the defaults produce a nice result as well.) It will then present you with a page including a section to copy your chosen format, a list of all URLs located, and an HTML representation of the result for instant review.

This tool works pretty well right now, but I do consider it a beta, so drop any comments, bugs, ideas here. It also has quite a bit more built into it, but for simplicity I've kept the web form options minimal for now.


Last edited by nehp on Sat Feb 23, 2008 6:32 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 2:08 am 

Joined: Sat Jan 19, 2008 1:57 am
Posts: 511
Location: Playing with The Mechanic
Faction: Flight School
Offline
Lookin' good, nehp!

Some thoughts:
1. Remove the extra line-breaks around emoted lines, it's just going to degenerate into a double-line-spaced section if there's lots of it going on (as there often is).

2. Assign unique colors to all of the primaries; they can be random colors but having different ones will be useful for following conversations.

3. Maybe replace a collapsed handle with a small indent, to create identifiable blocks of text?

_________________
Wing Commander Valarauka of the Crimson Armada
Post Aviation, Engineering Division


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 6:35 pm 

Joined: Sat Jan 19, 2008 9:10 am
Posts: 502
Location: In the tavern.
Faction: Flight School
Offline
Whitelist/blacklist filters!

Especially for RP, when there may be multiple-location RPs going on at one time, it'd be helpful to be able to just read a couple primaries at a time.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 7:28 pm 
Developer

Joined: Tue Dec 12, 2006 7:29 am
Posts: 2232
Location: the steel city
Offline
thank you for making this, it's been needed for a long time.

-PL-


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 7:51 pm 
Moostro

Joined: Sat Dec 08, 2007 10:56 am
Posts: 795
Location: Vancouver, WA
Faction: Flight School
Offline
Valarauka wrote:

Some thoughts:
1. Remove the extra line-breaks around emoted lines, it's just going to degenerate into a double-line-spaced section if there's lots of it going on (as there often is).

2. Assign unique colors to all of the primaries; they can be random colors but having different ones will be useful for following conversations.

3. Maybe replace a collapsed handle with a small indent, to create identifiable blocks of text?


1. This was added because without the separation, it was hard to grasp a flow of activity when emotes were integral. It's a very simple script setting however, and would not be hard to add to the web form for formatting. There are so many elements that can be managed this way that I've just left most of them off for now. I'll keep this in mind as something to possibly put in.

2. One of the possible additions that's on my list is per-name settings, so that color/etc can just be assigned individually instead of just using a list of people. It's a bit lower in my priorities at the moment, want to see a larger body of response before fiddling too much more in that area so I know how to rebuild that.

3. I really like this, I think I'll test it out to see how it looks.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 7:53 pm 
Moostro

Joined: Sat Dec 08, 2007 10:56 am
Posts: 795
Location: Vancouver, WA
Faction: Flight School
Offline
Talon Karrde wrote:
Whitelist/blacklist filters!

Especially for RP, when there may be multiple-location RPs going on at one time, it'd be helpful to be able to just read a couple primaries at a time.


This is definitely in my sooner-than-later todo list. I'll probably start by creating a 'primaries-only' checkbox option, since that's likely only a few quick lines for almost the full effect. Adding whitelist/blacklist is something I'd like to do, in conjunction with the per-user settings as I mentioned in the previous comment.


Top
 Profile  
 
 Post subject: A couple updates (v1.11)
PostPosted: Sat Feb 23, 2008 10:42 pm 
Moostro

Joined: Sat Dec 08, 2007 10:56 am
Posts: 795
Location: Vancouver, WA
Faction: Flight School
Offline
I've updated the script with a couple updates right now:

-- New
+) Added a setting to allow using the primary list as a filter as well. When selected, it will only display chats from these names, and it attempts to only display emotes from these names as well. Looks fairly good right now

-- Fixes
*) for the HTML results, it now encodes text to make sure that typed HTML does not become part of the actual HTML. This shouldn't have affected bbcode, since it appears to escape it already.

*) Misc minor formatting and name determination fixes


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 11:17 pm 

Joined: Mon Jan 21, 2008 4:46 pm
Posts: 130
Faction: Flight School
Offline
Amazing job Nehp!! congrats!

_________________
Green Faction Influence Tactician and CIO


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 24, 2008 1:45 am 

Joined: Sat Jan 19, 2008 9:10 am
Posts: 502
Location: In the tavern.
Faction: Flight School
Offline
nehp, your awesomeness in programming is awesome.

More Features?:

Ability to strip out OOC text.

'Regularifying' emotes - no bold and same size as regular lines, though the italics are still excellent.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 7:49 pm 
Moostro

Joined: Sat Dec 08, 2007 10:56 am
Posts: 795
Location: Vancouver, WA
Faction: Flight School
Offline
Added a new function for collecting RP-focused adjustments, to keep the interface simple for now. Under the style, you can check for 'RP'.

At this point it does your two requested adjustments, strips OOC and merely does italics for emote lines.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 03, 2008 9:15 am 

Joined: Sat Jan 19, 2008 9:10 am
Posts: 502
Location: In the tavern.
Faction: Flight School
Offline
:dance:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group