I need a little help on ASP files
Chipp Walters
chipp at chipp.com
Mon Feb 9 03:00:34 EST 2004
Hi Thomas,
What you posted below is just plain old HTML which has been generated from
an ASP script on a Microsoft IIS server.
<!-- This is an HTML comment -->
just like in Rev:
--This is a Rev comment
the .asp at the end of the URL tells the server what type of file the URL
is. In the case of .asp, the server runs the .asp code in the designated
URL. IOW, if the URL is:
http://www.test.com/fred.asp
then the server would execute the file named: "fred.asp"
Inside of fred.asp you might find some HTML and some scripts to do different
things. The server runs fred.asp and it generates HTML which is what is
displayed in your browser. You never get to see what the script was that
generated the HTML.
For a very basic intro to ASP check out:
http://www.w3schools.com/asp/default.asp
> Below I pasted a piece of a .asp file off the web. I don't know but I
> think the <!--display quote--> is a tag but am not sure if it is xml or
> what.
> What I want to do is capture just that part and add some code to it to
> better format the page. right now the <!--display paragraphs--> run
> together and I want to separate them.
use <br> to insert a line-break into HTML
>Right now they display but not
> very nice. There are no graphics and the page is generated daily. I
> need to know how best to handle this and what file type the .asp is????
It's just regualar HTML by the time you see it.
>
> So, if they are xml then can I use rev to parse the info????
> If not then is my best bet to just search/offset the info and write my
> own html for use in rev???
Yes.
More information about the use-livecode
mailing list