[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Minor problems
- From: nospam@thanx
- Date: 07 Dec 1999 19:22:38 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi. I'm new to the list, but have been using WML in combination with a
perl script to slurp a categoryful of memos from my palmpilot to build
my personal website for several months now. I agree that WML is
definitely on a level with sliced bread for web developers.
Anyway, here's the issue:
The following code is for a very simple text navigation bar that
appears on http://www.peakpeak.com/~socket/. (Forgive my bad german
and lack of complete content on that portion of the site, I'm studying
german at the university and haven't actually been abroad yet. I'm
hoping that maintaining a bilingual website will help me improve my
skills.)
- ------
<navbar:define name=left>
<navbar:header><TD valign="top" rowspan="5" width="20%"><NOBR><FONT size="2"><B></navbar:header>
<navbar:prolog><BR> </navbar:prolog>
<navbar:epilog>
</navbar:epilog>
<navbar:button id=journal txt="<en>Journal</en><de>Tagebuch</de>" url="<en>index.html</en><de>index.de.html</de>">
<navbar:button id=resume txt="<en>Resume</en><de>Zusammenfassung</de>" url="<lang:star: resume.*.html>">
... (similar code)
<navbar:footer>
<p><p> <en>
[<a href="<get-var WML_SRC_BASENAME>.de.html">Deutsch</a>]
</en><de>
[<a href="<get-var WML_SRC_BASENAME>.en.html">English</a>]
</de><p>
<p>
[<a href="mailto:socket@peakpeak.com">Email <en>me</en><de>mich</de></a>]
<br> [<a href="pubkey.asc"><en>GPG Key</en><de>GPG Schlüssel</de></a>]
</B></FONT></NOBR></TD>
</navbar:footer>
</navbar:define>
<navbar:render name=$(name) select=$(select)>
- ------
If you look at the results on any of the generated pages on my site,
there is a javascript error on recent Netscape browsers for Linux and
Macintosh that seems to be the result of javascript generated by the
wml::des::navbar module in WML version 1.6.8.
As you can see from my (admittedly hairy) code, I don't plan on using
images or hints in the navigation bar (though I might in the future),
and would like some help in finding a way to prevent the unnecessary
and broken javascript from being generated. If there is a better way
to generate this sort of navbar, please tell me.
I just made an attempt at upgrading wml 1.7.4 and got the following
error in the wml_backend/p3_eperl directory:
ld: cannot open -lgdbm: No such file or directory
I use debian, and installed libgdbmg1_1.7.3-25.deb after getting this
error (which still occurs even after the install), but isn't the
configure script in the base directory supposed to catch this sort of
thing? The debian archive says about gdbm, "This library is no longer
supported by the FSF, and hasn't been worked on in several years --
for new applications, please consider libdb instead, and also consider
migrating old applications..." Perhaps this should be put on the
to-do list for eperl.
Are there particular features added in the newer versions I should
employ to improve the readability or maintainability of my code?
There is no need to reply immediately, I'm at the end of a semester
and have a lot of more important things to work on than automated
javascript issues and fine-tuning my site.
Danke schön!
- --
Chris Riddoch socket@peakpeak.com
Will provide pseudo-insightful commentary for food
http://www.peakpeak.com/~socket
GPG key 1024D/234551DC 1999-07-15 Chris Riddoch <socket@peakpeak.com>
Key fingerprint = 7AAF 5815 837C 070C 6C70 8A15 EFD2 5860 2345 51DC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>
iD8DBQE4TcDh79JYYCNFUdwRAhgFAKCbrNPuxiNrWGoOzwz9pYeK7IyG8QCePVBZ
94NTopazpS016yNT0j0iXIA=
=grjz
-----END PGP SIGNATURE-----
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com