Facebook Application

Fairlight fairlite at fairlite.com
Wed Dec 16 11:16:25 PST 2009


On Wed, Dec 16, 2009 at 10:25:51AM -0500, after drawing runes in goat's blood,
Bruce Easton cast forth these immortal, mystical words:
> Enrique Arredondo  wrote Wednesday, December 16, 2009 10:16 AM:
> 
> >>	mtauber19 at comcast.net wrote: 
> [..]
> >>  When I use the filepro command:
> >>  html "1" :CR @pw{".htm" :TI "Title"
> >>  The page that is rendered has the html tag rendered as
> >>  <html>
> >
> > Use the free text command, I do that when I need to add java scripts
> >	
> > html "1" :tx "<DOC! yada yada yada"
> > html "1" :tx "<html yada yada yada>"
> >	
> > and voila!
> 
> But Enrique, how are you opening the file prior to those 
> free-form commands.  When you open the file with :cr, would 
> you not still get a line above those with "<html>" ?

Better question:  how are you going to guarantee XHTML 1.1 compliance with
the strict form specified by the namespace, using HTML commands that output
incorrect or incomplete markup?

FOr instance, <TBODY> didn't even exist back when fP implemented this.
If you try doing a table without TBODY nowadays, it'll never validate
against strict XHTML.  You'd have to fix -every- discrepancy in every tag
or structural element, not just the initial doctype and html tags.  I mean,
<center> doesn't even exist anymore in XHTML, to give you an idea.

Which leads back to...don't use the built-in markup functionality, it's
going to cause you severe pain.

As long as I'm ending up posting again...has the OP considered the license
seats issue?  Granted, not every app put on Facebook is necessarily going
to be used by millions at once, but if your license count is exceeded,
fpcgi is not actually very kind about fP license seat limits.  Hope you
have a huge license or lots of money.  Which is better than saying I hope
your app doesn't get too popular... :)

mark->
-- 
Audio panton, cogito singularis,


More information about the Filepro-list mailing list