HTML Samples

Pete Murray computer at alaskanwindow.com
Wed Jun 28 08:38:10 PDT 2006


That's a neat little trick.  I wish I had thought of it.

Thanks
----- Original Message ----- 
From: "Lerebours, Jose" <Jose.Lerebours at EagleGL.com>
To: "Pete Murray" <computer at alaskanwindow.com>
Sent: Wednesday, June 28, 2006 7:59 AM
Subject: RE: HTML Samples


Pete,

Open the attached HTML document using any HTML editor.  
You will notice a group of &fp??? throughout the page.

As you review the attached processing table, you will
notice that the parsing routine looks for "&fp" on each
line of the HTML document to plug-in the field and/or
variable marked by these macros or filePro tags.

I chose to use "&fp" as a prefix simply because I did
not think it would ever be used in XML, DHTML nor HTML
on tags thus preventing potential conflicts.

Look at both documents.  If you still have questions,
call me at 305-594-0038 ext 7556 - I will walk you
through and help you understand.

Good luck!


Jose Lerebours


> -----Original Message-----
> From: Pete Murray [mailto:computer at alaskanwindow.com]
> Sent: Tuesday, June 27, 2006 2:38 PM
> To: Lerebours, Jose; filepro-list at lists.celestial.com
> Subject: Re: HTML Samples
> 
> 
> I'm not sure what you mean by &fp### and/or &fpVAR and &fpMACRO.
> Please zip up and email a sample to computer at alaskanwindow.com
> Thanks!
> 
> ----- Original Message ----- 
> From: "Lerebours, Jose" <Jose.Lerebours at EagleGL.com>
> To: "Pete Murray" <computer at alaskanwindow.com>; 
> <filepro-list at lists.celestial.com>
> Sent: Tuesday, June 27, 2006 11:35 AM
> Subject: RE: HTML Samples
> 
> 
> > Pete wrote:
> >
> >> I'm using filepro HTML commands for the first time
> >> (5.0 Linux) and would like to see some examples of
> >> processing to create a web page.   Please send samples
> >> to computer at alaskanwindow.com or let me know where to
> >> look.  Thanks.
> >>
> >
> > Pete,
> >
> > Why write any filePro code to create HTML documents?
> >
> > Personally, I find it cumbersome to say the least.  This
> > is what I did.
> >
> > 1. I designed my HTML pages using easy to use HTML designer
> >   (your choice)
> > 2. I placed fields and variables where I wanted filePro
> >   content to appear using &fp### and/or &fpVAR
> > 3. I wrote a routine which then parses my source HTML
> >   document and plugs in content according to &fpMACRO
> >   (if you can call it that!)
> >
> > The code does not need to be revised other than to define
> > and populate variables when needed.  As I wrote it, it works
> > fine (it gets the job done) but it can use some cleaning-up.
> > Take for instance, I use xVars(676):aa to capture values held
> > in dummy variables and then generate pointer using simple
> > algorithm instead of simply using value() function.
> >
> > I do not want to trouble the list with sample of this code
> > but if you guys want a copy of it, just let me know and I will
> > zip it up and post it here.
> >
> >
> > Regards;
> >
> >
> > Jose Lerebours
> >
> >
> > PS:  Code is UNIX based 
> 



More information about the Filepro-list mailing list