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/10/01 12:14:04 UTC

Re: DELI Problem: always the same profile (SOLVED)

Finally I solved my problem. I just added something like this...

	<deli:Profile rdf:about="urn:x-hp-deli:devices/DELI-OPERA-">
		<deli:manufacturedBy><rdf:Description
rdf:about="urn:x-hp-deli:manufacturers/DELI"><rdfs:label>DELI</rdfs:label></rdf:Description></deli:manufacturedBy>
		<deli:deviceName>Opera</deli:deviceName>
                <deli:file>opera.rdf</deli:file>
                <deli:useragent>Opera</deli:useragent>
        </deli:Profile>

	<deli:Profile rdf:about="urn:x-hp-deli:devices/DELI-MSIE-">
		<deli:manufacturedBy><rdf:Description
rdf:about="urn:x-hp-deli:manufacturers/DELI"><rdfs:label>DELI</rdfs:label></rdf:Description></deli:manufacturedBy>
		<deli:deviceName>Internet Explorer</deli:deviceName>
                <deli:file>msie.rdf</deli:file>
                <deli:useragent>MSIE</deli:useragent>
        </deli:Profile>

        <deli:Profile rdf:about="urn:x-hp-deli:devices/DELI-MOZILLA-">
		<deli:manufacturedBy><rdf:Description
rdf:about="urn:x-hp-deli:manufacturers/DELI"><rdfs:label>DELI</rdfs:label></rdf:Description></deli:manufacturedBy>
		<deli:deviceName>Mozilla</deli:deviceName>
                <deli:file>mozilla.rdf</deli:file>
                <deli:useragent>Mozilla</deli:useragent>
        </deli:Profile>

...to the end of profiles.rdf

It works with 2.1.7 and 2.1.8-dev. Now DELI recognizes Opera, Mozilla and IE.
Thank you for your help!

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