--- Claes Wikstrom <klacke@...> escribió: >
jorge luis zapata wrote:
> > hello, i am new using erlang and yaws, and i dont
> > to ask this question to the yaws list or erlang
> > anyway, the problem is that when i write a .yaws
> > that is using a module (xmerl:<function>) i cant
> > it work, as the error says that that module doesnt
> > exist, i dont know if yaws uses all the modules
> > are in the libs directory inside the erlang tree
> > not??, with an .erl file it works trough the erl
> > interpreter without problems, the way i 'install'
> > modules is only copying the module directory
> > the lib directory, is it correct? (after compiling
> > it...)
> Yaws will invoke erlang as usual. All normal erlang
> libraries should be in the path in exactly the same
> way as when you invoke the normal 'erl' command.
> Try to invoke yaws as
> # yaws -i
> And the do code:which(xmerl) as well as
ok it works, i dont know why it didnt work before ??
the code:which(xmerl) shows the path correctly. maybe
because i update my yaws-erlang versions (R9C0 ->
R9C2, 1.46 -> 1.48)
thanks for those two functions
> Typically xmerl isn't in the normal path, (it comes
> jungerl .. right ??), So say tou have your
> xmerl.beam in
> /usr/local/xmerl/ebin (or something), you can invoke
> # yaws -i -pa /usr/local/xmerl/ebin
> > and a couple of things with the mime-types in
> > there is no xhtml, svg, mime-types.
> > thanks
> So what should the mime types be for those files ?
> Let me know and I'll add them.
> The mime type for a file ending in xhtml doesn't
> to be so easy to figure out:
the mime-type are
xhtml : should be application/xhtml+xml (as in
svg : image/svg+xml
> This SF.Net email sponsored by Black Hat Briefings &
> Attend Black Hat Briefings & Training, Las Vegas
> July 24-29 -
> digital self defense, top technical experts, no
> vendor pitches,
> unmatched networking opportunities. Visit
> Erlyaws-list mailing list
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com