Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Paul] Have A Prob with a Global

Quote Reply
Re: [Paul] Have A Prob with a Global In reply to
Paul:

Yes.... When I try to open any page with

Warner Bros. Television Animation.<LI>Animation Studio</B>: StarToons.

On it ("digest") version, so running the global...

TOP shows a couple of processes opened, and chewing up a TON of Resources. Here,, let me do one!

OK, on the "Full Return page, I get exactly what I expect:
  • Warner Bros. Television Animation.
  • Animation Studio: StarToons.[/b]


  • When I go to the digest page, it LOOKS like nothing happens on the web page itself- it stays white, but this is from TOP:

    PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
    87062 nobody 64 0 33740K 31812K RUN 0:09 41.91% 27.98% httpd
    87074 nobody 63 0 33740K 31812K RUN 0:06 30.79% 20.56% httpd

    Note the PRI value... takes over the computer!!!! Also, State is RUN, which is not usual...

    Now, when I take the Studio value to Warner Bros. Television Animation, this page displays fine.... so it has to be something with StarToons... Also, there are 5-6 "Animation" studios for Animaniacs, and all of thoise dispaly fine.

    My gut tells me it has something to do with "StarToons" being a short number of letters.... but when I tried "StarToons Animation Studios" (which is NOT the proper title, but added a lot more letters) it still death spiraled...

    Here are some that work FINE:

    Warner Bros. Television Animation.<LI>Animation Studio</B>: Freelance Animators, Ltd.

    Nope- I checked... that one seems to not work now...

    OK, I moved a line (well, two) in the above global... I am back to the original, which is like this (All I did was move where the "Animation Studio substitution is made. THIS global works for all BUT Startoons!)

    sub {
    no strict;

    my $short1;
    my $comma1;
    my $cs1;
    my ($rec) = @_;

    my $stud = $rec->{'Studio'};
    if (length $stud < 45) {
    $short1 = $stud;
    }
    else {
    $short1 = substr ($stud, 0, 75);
    $short1 =~ s/\s\S+?$//;
    $short1 =~ s/.<BR>/, /;
    $short1 =~ s/.<LI>Animation Studio<\/B>:/, /;
    $short1 =~ s/,<LI>Animation Studio<\/B>:/, /;

    $cs1 = chop($short1);

    until ($comma1 eq ",") {
    $comma1 = chop($short1);
    }
    $short1 .= "...";
    }
    return $short1;
    }

    OK, NOW Nevermind.... it seems to have fixed itself somehow....

    Blush
    dave

    Big Cartoon DataBase
    Big Comic Book DataBase
    Subject Author Views Date
    Thread Have A Prob with a Global carfac 3788 Apr 21, 2003, 8:41 AM
    Thread Re: [carfac] Have A Prob with a Global
    Paul 3710 Apr 21, 2003, 8:52 AM
    Thread Re: [Paul] Have A Prob with a Global
    carfac 3709 Apr 21, 2003, 9:18 AM
    Thread Re: [carfac] Have A Prob with a Global
    Paul 3710 Apr 21, 2003, 9:39 AM
    Post Re: [Paul] Have A Prob with a Global
    carfac 3717 Apr 21, 2003, 9:50 AM
    Thread Re: [Paul] Have A Prob with a Global
    Paul 3697 Apr 21, 2003, 10:12 AM
    Post Re: [Paul] Have A Prob with a Global
    carfac 3671 Apr 22, 2003, 7:34 AM