You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Rolf Kulemann <ma...@rolf-kulemann.com> on 2003/11/04 11:38:59 UTC
simple2html.xsl - Use title attribute in
Hello List,
in terms of useability I propose to use a kind of title attribute within
simple:ulink.
I changed the ulink template in simple2html.xsl like this:
<xsl:template match="simple:ulink">
<a href="{@url}" title="{@title}"><xsl:apply-templates/></a>
</xsl:template>
Maybe it worth a discussion how to name the title attrib. in simple doc
type...
A good website uses the title attrib of the <a> tag. Using Lenya, one
should be constrained (a little bit) to develop a good site :)
--
Rolf Kulemann
Why do we have two eyes? To watch 3-D movies with.
PGP/GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: xhtml++ doctype
Posted by Andreas Hartmann <an...@apache.org>.
Gregor J. Rothfuss wrote:
> <list-mom>
> please start a new thread with a new subject when appropriate. thanks.
> </list-mom>
<list-grandma>
please don't use the "reply" button if you do this.
</list-grandma>
Thanks!
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
xhtml++ doctype
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
<list-mom>
please start a new thread with a new subject when appropriate. thanks.
</list-mom>
Rolf Kulemann wrote:
>>Here is the thread about the simple doctype:
>>http://article.gmane.org/gmane.comp.cms.lenya.devel/1383
> I have started to think about that simple doctype thingy.
> I hacked a small new doctype called xdoc. It is based on xhtml 1.0
> strict, because it forces, if being validated, to use no presentation
> stuff in markup. In the namespace xdoc I put some small additions like
> special <td> markups like <xdoc:td-head> for example.
i agree with the notion of starting with a well-known doc type. xhtml
strict is a very good choice. i also agree with the mix-in namespaces.
something we already do for metadata and publication-specific extensions.
> I think it is a good solution to base a standard doctype on xhtml
> strict, because it is (well) known and doesn't allow presentation stuff
> in markup. It would also make it easy to *port* existing docs based on
> the xhtml doctype.
yes. you will find me wildly agreeing with you if you go through the
archives.
> The trick is to extend the xhtml tags by tags and attribs(?)
> encapsulating presentation stuff, which is normally expressed by
> physical tags or so.
i agree. the only caveat would be that this is the intent of the
existing xhtml doc type in the default pub already. i'd rather look into
that before doing a new one, but i like your notions.
-gregor
--
Gregor J. Rothfuss
Wyona Inc. - Open Source Content Management - Apache Lenya
http://wyona.com http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: simple2html.xsl - Use title attribute in
Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Tue, 2003-11-04 at 17:58, Andreas Hartmann wrote:
> Rolf Kulemann wrote:
>
> [..]
> >>
> >>I think this would be a good addition, but as the
> >>simple doctype is about to die, we won't invest more
> >>engergy here. We should probably switch to (an)
> >>alternative doctype(s) ASAP.
> >
> >
> > Ok, that is good. So there will be another *default* or standard
> > doctype? I think the simple type is a good basis to make a better one.
> > I have not enough experience with *doc types* yet....of course the
> > simple type is lacking some features like abbriviations and acronyms,
> > which are another important point in web useability.
>
> Here is the thread about the simple doctype:
> http://article.gmane.org/gmane.comp.cms.lenya.devel/1383
I have started to think about that simple doctype thingy.
I hacked a small new doctype called xdoc. It is based on xhtml 1.0
strict, because it forces, if being validated, to use no presentation
stuff in markup. In the namespace xdoc I put some small additions like
special <td> markups like <xdoc:td-head> for example.
A corresponding xdoc2xhtml.xsl should take care of not copying
presentation attribs or tags in a xdoc.
I think it is a good solution to base a standard doctype on xhtml
strict, because it is (well) known and doesn't allow presentation stuff
in markup. It would also make it easy to *port* existing docs based on
the xhtml doctype.
The trick is to extend the xhtml tags by tags and attribs(?)
encapsulating presentation stuff, which is normally expressed by
physical tags or so.
What do you think?
--
Rolf Kulemann
Life is like a simile.
PGP/GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: simple2html.xsl - Use title attribute in
Posted by Andreas Hartmann <an...@apache.org>.
Rolf Kulemann wrote:
[..]
>>
>>I think this would be a good addition, but as the
>>simple doctype is about to die, we won't invest more
>>engergy here. We should probably switch to (an)
>>alternative doctype(s) ASAP.
>
>
> Ok, that is good. So there will be another *default* or standard
> doctype? I think the simple type is a good basis to make a better one.
> I have not enough experience with *doc types* yet....of course the
> simple type is lacking some features like abbriviations and acronyms,
> which are another important point in web useability.
Here is the thread about the simple doctype:
http://article.gmane.org/gmane.comp.cms.lenya.devel/1383
>>Yes, this is a very important point.
>>It's good to see someone taking care of these aspects :)
>
> I'm a *useability driven* web developer. The problem is, useability
> driven developers tend to get on someones nerves......like software
> testers.
I used to be a lot more usability driven ... maybe I don't
take enough time to think about usability issues ATM.
I should take a step back from the implementation view
to see the big picture again :)
And please go on getting on our nerves - Lenya should become
as usable and as standards-compliant as possible.
> Another fact is: There is only a small number of open source cms which
> address web useability. I think is is a very important point for todays
> decision makers in companies. That is my experience of the last months.
And IMHO this is a good tendency.
> Yet another fact is: Search Engines like *useable* sites, not because
> they *look* for useability, but if you design by useability guidelines,
> you are automatically developing a site which meets some important
> requirements to get a good page rank.....
> One(there are many more) of Lenya's advantages is, that it uses no
> *scrambled urls* like
> http://mydomain/index.php?blabla=this:is=badurlsytle
Yes, this requirement was stated very early.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: simple2html.xsl - Use title attribute in
Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Tue, 2003-11-04 at 11:48, Andreas Hartmann wrote:
> > Hello List,
> >
> > in terms of useability I propose to use a kind of title attribute within
> > simple:ulink.
> >
> > I changed the ulink template in simple2html.xsl like this:
> >
> > Maybe it worth a discussion how to name the title attrib. in simple doc
> > type...
>
> I think this would be a good addition, but as the
> simple doctype is about to die, we won't invest more
> engergy here. We should probably switch to (an)
> alternative doctype(s) ASAP.
Ok, that is good. So there will be another *default* or standard
doctype? I think the simple type is a good basis to make a better one.
I have not enough experience with *doc types* yet....of course the
simple type is lacking some features like abbriviations and acronyms,
which are another important point in web useability.
>
> Of course, if you really like the simple doctype,
> you can try to convince the committers of keeping it :)
>
> > A good website uses the title attrib of the <a> tag. Using Lenya, one
> > should be constrained (a little bit) to develop a good site :)
>
> Yes, this is a very important point.
> It's good to see someone taking care of these aspects :)
I'm a *useability driven* web developer. The problem is, useability
driven developers tend to get on someones nerves......like software
testers.
Another fact is: There is only a small number of open source cms which
address web useability. I think is is a very important point for todays
decision makers in companies. That is my experience of the last months.
Yet another fact is: Search Engines like *useable* sites, not because
they *look* for useability, but if you design by useability guidelines,
you are automatically developing a site which meets some important
requirements to get a good page rank.....
One(there are many more) of Lenya's advantages is, that it uses no
*scrambled urls* like
http://mydomain/index.php?blabla=this:is=badurlsytle
Search Engines hate to index apparently dynamic created pages/content.
For me a URL is akink of user interafce and should be as readable as
good method and variable names. Of cource you can handle scrambled urls
with apaches mod_rewrite.....but hey....that's not a good solution,
because debugging your .htaccess in terms of mod_rewrite could become a
desaster.
--
Rolf Kulemann
Idiot Box, n.:
The part of the envelope that tells a person where to place the
stamp when they can't quite figure it out for themselves.
-- Rich Hall, "Sniglets"
PGP/GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: simple2html.xsl - Use title attribute in
Posted by Andreas Hartmann <an...@apache.org>.
Hi Rolf,
Rolf Kulemann wrote:
> Hello List,
>
> in terms of useability I propose to use a kind of title attribute within
> simple:ulink.
>
> I changed the ulink template in simple2html.xsl like this:
>
> <xsl:template match="simple:ulink">
> <a href="{@url}" title="{@title}"><xsl:apply-templates/></a>
> </xsl:template>
>
> Maybe it worth a discussion how to name the title attrib. in simple doc
> type...
I think this would be a good addition, but as the
simple doctype is about to die, we won't invest more
engergy here. We should probably switch to (an)
alternative doctype(s) ASAP.
Of course, if you really like the simple doctype,
you can try to convince the committers of keeping it :)
> A good website uses the title attrib of the <a> tag. Using Lenya, one
> should be constrained (a little bit) to develop a good site :)
Yes, this is a very important point.
It's good to see someone taking care of these aspects :)
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org