Re: [OT] URL terminators
Re: [OT] URL terminators
- Subject: Re: [OT] URL terminators
- From: "Arthur J. Knapp" <email@hidden>
- Date: Thu, 11 Jul 2002 14:31:29 -0400
>
Date: Wed, 10 Jul 2002 14:31:18 -0700
>
Subject: Re: [OT] URL terminators
>
From: Paul Berkowitz <email@hidden>
>
<snip perl>
Perl? ;-)
I just thought you might be interested in a scripted BBEdit solution.
>
> In any case, having said that I would, here is something I threw together:
>
Thank you very much, Arthur. OK, I can see which characters aren't
>
permitted, too. Is all other punctuation really OK? ",;'" and so on?
That is not an easy question to answer. There really isn't any hard and
fast rules. Many people and applications don't nessesary follow the exact
standards as expressed in the two RFCs that I pointed to.
I just performed an experiment to see what my stupid email program
would accept, (it automatically syntax-colors what it thinks are URLs).
The only non-high-bit, non-control characters that made it terminate
the syntax coloring were these:
"|`]>)
Everything else was accepted.
>
Now, someone must have done a conversion for all those upper ASCII's into
>
HTML. (No, don't sit down a try that - there are too many.) Like "eacute"
>
and "nbsp;" and all that stuff. I'd like to find a way to do that in OS X as
>
well as 9. I think people have referred to some osax or app that will do it,
>
but I've lost track of it.
I know that Has threw something like this together:
<
http://www.barple.connectfree.co.uk/>
and I'm sure others probably have as well. I do most of my html production
scripting with the help of BBEdit, which was designed for this kind of
thing.
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.