Yaws API discussion

Sean Hinde <>
Sun Jul 14 23:01:15 CEST 2002


Hi,

> The ssi function can be used to include some external html 
> template. My need is to be able to add some dynamic generated 
> values (for example the title in the html header portion)


Perhaps some combination of yaws and esp is needed. I attach my somewhat
hacked version of esp which stores parsed pages in mnesia and allows both a
dictionary to be passed in and mixed erlang/html. There is some
documentation on how to use it.

Ideally I agree this concept would be fully implemented into yaws in some
way..

Sean




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

    

-------------- next part --------------
A non-text attachment was scrubbed...
Name: esp.erl
Type: application/octet-stream
Size: 8807 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20020714/434d34b4/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20020714/434d34b4/attachment.html>


More information about the erlang-questions mailing list