Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: John Robinson
How in the world....
Ok, so we will just need to know the key internals of the page so that focus will know what to look for to build the page so people could totally build their own? Sounds like a winner if im understanding that.

so it could like this

Welcome to Freerepublic
<titleofthread>

<beginloop>
<username> <dateofthread>
<articlebody>

<loop>


a very generic example but kind how you would upload the template for Focus to recognize it as a viable template?
80 posted on 07/08/2002 9:11:42 AM PDT by smith288
[ Post Reply | Private Reply | To 78 | View Replies ]


To: smith288
Exactly. The template system is a derivative of HTML::Template and will probably keep that general feel, though I was very impressed with Apache::PageKit and may emulate their template tags (which also happen to be a derivative of HTML::Template.) [BTW, I really like the Model/View/Content/Controller architecture of PageKit]
81 posted on 07/09/2002 5:36:02 AM PDT by John Robinson
[ Post Reply | Private Reply | To 80 | View Replies ]

To: smith288
Oh, I would have to install the templates. They can include arbitrary files off the system and any piece of nasty HTML/JavaScript, so I would want to give them a give look over before allowing others to use them.

Especially if IF, at a later time, I switch to a templating system that allows Perl code to be evaluated in the template. Though that would tend to violate the separation of presentation and logic, so I probably won't go that way.

82 posted on 07/09/2002 5:43:12 AM PDT by John Robinson
[ Post Reply | Private Reply | To 80 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson