Re: editing HTML
Re: editing HTML
- Subject: Re: editing HTML
- From: Walter Ian Kaye <email@hidden>
- Date: Thu, 26 Feb 2004 13:12:38 -0800
At 12:27p -0800 02/26/2004, Isaac Ordonez didst inscribe upon an
electronic papyrus:
I'm back with my dumb question for the month ;) I'm trying to get
applescript to edit a HTML page and change a number on there (kinda
like a counter). For background I have a spam counter running on
our archive and it is keeping track of all spam going in and out.
I'm having the hardest time trying to figure out how to get AS to
search a file for some delimiters (i.e <!--->2343<!--->) and use the
data contained within and replace it.
Well you could certainly do that, using the 'offset' command to find
the delimiters (make sure they're unique, of course).
But wouldn't it be better to take advantage of SSIs (server-side
includes) and then you simply write to an included file? Let the
server do the parsing...
(Or is it a locally-viewed file not using a web server?)
-boo
_______________________________________________
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.
References: | |
| >editing HTML (From: Isaac Ordonez <email@hidden>) |