You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paolo Ambrosio <pa...@gmail.com> on 2005/09/29 18:18:55 UTC

DELI Problem: always the same profile

I'm having some problems with the deli module. I compiled cocoon
(2.1.7, 2.1.8-dev) and started it using jetty (./build.sh servlet).
When I browse to

http://server:8888/samples/blocks/deli/deli.html

I get always the same result with every browser (M$ Internet Explorer,
Firefox, Opera on windows and linux):

ColorCapable: Yes
TextInputCapable: Yes
ImageCapable: Yes
CcppAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword, text/html,
CcppAccept-Charset: US-ASCII, ISO-8859-1, UTF-8, ISO-10646-UCS-2,
CcppAccept-Encoding: base64,
BrowserName: Microsoft
TablesCapable: Yes
ImageCapable: Yes
Keyboard: Qwerty
StandardFontProportional: Yes
SoundOutputCapable: Yes
TextInputCapable: Yes
AcceptDownloadableSoftware: No
Vendor: Microsoft
FramesCapable: Yes


Any ideas?

Thank you,
Paolo


My configuration:
Java 1.4.2_05-b04 on Linux
Java 1.5.0_04-b05 on Windows
Cocoon 2.1.7 and 2.1.8-dev (branch revision 292457)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: DELI Problem: always the same profile

Posted by Antonio Gallardo <ag...@agssa.net>.
Paolo:

Not sure if this is a bug in deli block. The info I sent in my last mail 
was based on my experience:

http://issues.apache.org/bugzilla/show_bug.cgi?id=32083#c12
http://issues.apache.org/bugzilla/show_bug.cgi?id=32083#c18
and
http://issues.apache.org/bugzilla/show_bug.cgi?id=32083#c19

Best Regards,

Antonio Gallardo.

Paolo Ambrosio wrote:

>>>I get always the same result with every browser (M$ Internet Explorer,
>>>Firefox, Opera on windows and linux):
>>>      
>>>
>>It is a PC after all. I guess to see a different profile you should
>>connect from a cell phone?
>>    
>>
>
>Thank you Antonio for your answer but...
>
>In cocoon deli block documentation
>(http://cocoon.apache.org/2.1/developing/deli.html) the section
>"Configuring Legacy Devices" explaines how to bind a User Agent string
>to a profile. But unfortunately "legacyDevice.xml" has changed (now
>deliConfig.xml points to an rdf file) and I don't know how to do it.
>In the same document...
>
>----------
>Legacy device options
>
>As already mentioned DELI can support legacy devices by recognising
>the user-agent string supplied by a client and mapping it on to a
>profile. In order to use this facility it is necessary to supply an
>XML file that contains information about legacy device user-agent
>strings and the corresponding profile URLs.
>[...]
>----------
>
>...so i think DELI could be used also without a cell phone.
>Also in WEB-INF/deli/legacyProfiles/ directory i can find:
>
>amaya.rdf
>mozilla.rdf
>msie.rdf
>opera.rdf
>
>None of these browsers I think is capable of sending CC/PP or UAProf
>information, and it would be a nonsense to write it there if DELI
>could not handle this case.
>
>So, could be that DELI in cocoon samples is configured for UAProf
>devices only, as you  said, but does anybody know how to bind a User
>Agent to a "legacy profile" with the new configuration syntax?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: DELI Problem: always the same profile

Posted by Paolo Ambrosio <pa...@gmail.com>.
> >I get always the same result with every browser (M$ Internet Explorer,
> >Firefox, Opera on windows and linux):
>
> It is a PC after all. I guess to see a different profile you should
> connect from a cell phone?

Thank you Antonio for your answer but...

In cocoon deli block documentation
(http://cocoon.apache.org/2.1/developing/deli.html) the section
"Configuring Legacy Devices" explaines how to bind a User Agent string
to a profile. But unfortunately "legacyDevice.xml" has changed (now
deliConfig.xml points to an rdf file) and I don't know how to do it.
In the same document...

----------
Legacy device options

As already mentioned DELI can support legacy devices by recognising
the user-agent string supplied by a client and mapping it on to a
profile. In order to use this facility it is necessary to supply an
XML file that contains information about legacy device user-agent
strings and the corresponding profile URLs.
[...]
----------

...so i think DELI could be used also without a cell phone.
Also in WEB-INF/deli/legacyProfiles/ directory i can find:

amaya.rdf
mozilla.rdf
msie.rdf
opera.rdf

None of these browsers I think is capable of sending CC/PP or UAProf
information, and it would be a nonsense to write it there if DELI
could not handle this case.

So, could be that DELI in cocoon samples is configured for UAProf
devices only, as you  said, but does anybody know how to bind a User
Agent to a "legacy profile" with the new configuration syntax?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: DELI Problem: always the same profile

Posted by Antonio Gallardo <ag...@agssa.net>.
Paolo Ambrosio wrote:

>I'm having some problems with the deli module. I compiled cocoon
>(2.1.7, 2.1.8-dev) and started it using jetty (./build.sh servlet).
>When I browse to
>
>http://server:8888/samples/blocks/deli/deli.html
>
>I get always the same result with every browser (M$ Internet Explorer,
>Firefox, Opera on windows and linux):
>  
>
It is a PC after all. I guess to see a different profile you should 
connect from a cell phone?

Best Regards,

Antonio Gallardo.

>ColorCapable: Yes
>TextInputCapable: Yes
>ImageCapable: Yes
>CcppAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
>application/vnd.ms-powerpoint, application/vnd.ms-excel,
>application/msword, text/html,
>CcppAccept-Charset: US-ASCII, ISO-8859-1, UTF-8, ISO-10646-UCS-2,
>CcppAccept-Encoding: base64,
>BrowserName: Microsoft
>TablesCapable: Yes
>ImageCapable: Yes
>Keyboard: Qwerty
>StandardFontProportional: Yes
>SoundOutputCapable: Yes
>TextInputCapable: Yes
>AcceptDownloadableSoftware: No
>Vendor: Microsoft
>FramesCapable: Yes
>
>
>Any ideas?
>
>Thank you,
>Paolo
>
>
>My configuration:
>Java 1.4.2_05-b04 on Linux
>Java 1.5.0_04-b05 on Windows
>Cocoon 2.1.7 and 2.1.8-dev (branch revision 292457)
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org