RE: wml devellopment

"Darryl Smith" <[email protected]> Thu, 2 Oct 2003 07:40:55 +1000
Newsgroups gmane.comp.web.wml
Message-ID <004001c38864$b66252b0$4601a8c0@DELL8000>
I have a feature that I need....

What I would love to be able to do is to put a setting in the .WMLRC file in
a directory that says 
	* Got to another directory
	* Compile every file from that directory but put the output in this
directory
	* Allow the links to files to be absolute (even including site etc)

Why?

Well, I am starting a subsiduary business, and there is a lot of content
that is common between the two sites... I don't want to have to copy files,
directories etc, meaning that I would have multiple sets of identical source
code and graphics. I don't know how feasable this is... It may be too hard,
but it would be cute :-)

Darryl

---------
Darryl Smith, VK2TDS   POBox 169 Ingleburn NSW 2565 Australia
Mobile Number 0412 929 634 [+61 4 12 929 634 International] 
[email protected] | www.radio-active.net.au  

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Denis Barbier
Sent: Thursday, 2 October 2003 7:36 AM
To: [email protected]
Subject: Re: wml devellopment


On Wed, Oct 01, 2003 at 06:45:23PM +0300, Shlomi Fish wrote:
> On Tue, 30 Sep 2003, Fritz Zaucker wrote:
> 
> > On Tue, 30 Sep 2003, Denis Barbier wrote:
> >
> > > On Tue, Sep 30, 2003 at 02:45:54AM +0200, J. Stein wrote:
> > > > is the devellopment of wml frozen, or are there still any 
> > > > volunters?
> > >
> > > To be honest, it is currently frozen, but I am willing to work on 
> > > it soon.  Hmmm, for how long am I telling this?
> >
> > The question is, what is currently missing?
> >
> 
> I personally think the navbar is a big ugly heap of ****. I usually 
> ended up coding my own ad-hoc navbar code, because I did not like the 
> code generated by the navbar. I have a patch for the navbar to make it 
> behave more like I want it to. However, a good revamp will probably be 
> in order.

I won't drop the current navbar implementation for compatibility reasons,
but may ship a better alternative, just send me one ;)

Another point is about UTF-8.  Perl 5.8.0 introduced drastic changes wrt I/O
and I do not see how to write source code which still works with Perl < 5.8
and does the right thing with Perl >= 5.8.  In the latter case, included
files should tell their encoding and be converted into UTF-8 when read,
passes 2-9 would then deal with UTF-8 code only and output files may be
recoded when written onto disk.  I did not find a solution, but UTF-8
zealots could tell that there is a simple solution, convert all your files
to UTF-8 and do not care about other encodings.  Hmmm, not sure I'll do that
;)

About multilingual sites, I would also like to document and incorporate into
WML an improvement I made to the Debian web site.  Some portions of text
which are part of templates (i.e. included in many pages) are now translated
via gettext (see intl:gettext(3), shipped by mp4h). But WML does not build
mp4h with loadable modules support because it has only be tested under
Linux, you will have to compile and install mp4h if you want this feature
enabled.

-- 
Denis Barbier
WML Maintainer
_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]


_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]