Browser agent strings are listed in the webapp/sitemap.xmap around line
75ish

<map:selectors default="browser">
 <map:selector name="browser"
src="org.apache.cocoon.selection.BrowserSelectorFactory">
  <!-- # NOTE: The appearance indicates the search order. This is very
important since
       #       some words may be found in more than one browser description.
(MSIE is
       #       presented as "Mozilla/4.0 (Compatible; MSIE 4.01; ...")
  -->
  <browser name="explorer" useragent="MSIE"/>
  <browser name="pocketexplorer" useragent="MSPIE"/>
  <browser name="handweb" useragent="HandHTTP"/>
  <browser name="avantgo" useragent="AvantGo"/>
  <browser name="imode" useragent="DoCoMo"/>
  <browser name="opera" useragent="Opera"/>
  <browser name="lynx" useragent="Lynx"/>
  <browser name="java" useragent="Java"/>
  <browser name="wap" useragent="Nokia"/>
  <browser name="wap" useragent="UP"/>
  <browser name="wap" useragent="Wapalizer"/>
  <browser name="mozilla5" useragent="Mozilla/5"/>
  <browser name="mozilla5" useragent="Netscape6/"/>
  <browser name="netscape" useragent="Mozilla"/>
 </map:selector>
</map:selectors>

If there's any more or any comments you would like added, please submit a
patch to the dev list :)

> -----Original Message-----
> From: java guru [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 16 August 2001 12:56 pm
> To: [EMAIL PROTECTED]
> Subject: Re: testing against different versions of browsers
> 
> 
> Hi.,
>   As i understand, the c2 functionality to operate
> with different browsers depends simply on the
> "User-Agent" string passed with http headers..(browser
> can send multiple strings for user-agent like
> mozilla..ie something like that)..
> 
> I had hell of time trying to make it work as i had to
> know
> 
> 1. What user-agent string are sent by various browsers
> 2. How to order them in-order to get prompt effect..
> 
> Best thing i think is to change the user-agent sent by
> each browser(or each version)(and you can code any
> string you want and map that in sitemap)..
> 
> Now issue of how to change the user-agent..so far i
> have only succeeded with "Opera" browser, which
> facilitates to change the user-agent to various
> browser imitations(fixed number)...
> 
> May be new mozilla browser could be customized to
> imitate also..
> 
> Good luck
> 
>  --- Liam Morley <[EMAIL PROTECTED]> wrote: > I
> understand that Cocoon gives you the power to use
> > different stylesheets
> > for different browsers (code is included at bottom
> > of email). However, I
> > don't see how you can test between different
> > versions, ie between IE4,
> > IE5, IE5.5, NS4, or NS6. Is there a way to do this
> > as well?
> > 
> > Thank you...
> > 
> > <map:select type="browser">
> >           <!-- you could insert parameters here as well
> > -->
> >           <map:when test="explorer">
> >              <map:transform
> > src="stylesheets/w3c-2-msie.xsl"/>
> >           </map:when>
> >           <map:when test="lynx">
> >              <map:transform
> > src="stylesheets/dynamic-page2html-text.xsl"/>
> >              <map:serialize/>
> >           </map:when>
> >           <map:when test="netscape">
> >              <map:transform
> > src="stylesheets/ns4.xsl"/>
> >           </map:when>
> >           <map:otherwise>
> >              <map:transform
> > src="stylesheets/w3c.xsl"/>
> >           </map:otherwise>
> >        </map:select>
> > 
> > 
> > -------
> > Liam Morley
> > 
> > "light the deep, and bring silence to the world.
> > light the world, and bring depth to the silence."
> > 
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > Please check that your question has not already been
> > answered in the
> > FAQ before posting.
> > <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail:
> > <[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <[EMAIL PROTECTED]>
> >  
> 
> =====
> Thanks and have great day
> srini
> 
> ____________________________________________________________
> Do You Yahoo!?
> Send a newsletter, share photos & files, conduct polls, 
> organize chat events. Visit http://in.groups.yahoo.com.
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to