You are here: Re: Esoteric XHTML question about href « HTML « IT news, forums, messages
Re: Esoteric XHTML question about href

Posted by David Dorward on 03/14/07 08:55

Toby A Inkster wrote:

> You could use something along these lines:
>
> <object data="foo">
> <p>Alternative content</p>
> </object>
>
> Then allow the HTTP server and the browser to automatically negotiate the
> best choice of content from foo.gif, foo.jpeg, foo.png and foo.svg using
> standard HTTP content negotiation (which is well supported by Apache).

You mean as I suggested when I said:
"""
href="http://www.example.com/foo/someImage"

.... and then the server can deliver up whatever you like.
"""
? ;)

> How well that all works in practise on today's user agents is another
> matter entirely.

The user agent doesn't matter if you're making the decision based on what
images are available on the server. Apache MultiViews to the rescue!


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация