Yaws API discussion

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Yaws API discussion

Sean Hinde-2

> 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


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>