incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmuer <reto.bachm...@trialox.org>
Subject Re: Language in ssp
Date Tue, 29 Jun 2010 18:45:58 GMT
There's no specific support for this, but something like the following
should work

val lang = new Language("en")
(res/dct("title")).find(l
=>(l!).asInstanceOf[PlainLiteral].getLanguage == lang))

reto

On Mon, Jun 28, 2010 at 11:35 AM, Oliver Strässer
<oliver.straesser@getunik.com> wrote:
> is there a possibility to retrieve the specific language tagged literal in ssp?
>
> somthing like: res/dct("title" , "en")
>
> cheers oli
>
> --getunik ag-------------------------------------------
>  oliver straesser              oliver.straesser@getunik.com<mailto:oliver.straesser@getunik.com>
>  hardturmstrasse 101    fon: +41 (0)44 388 55 88
>  ch-8005 zuerich              fax: +41 (0)44 388 55 89
>
>   --aktuelles getunik projekt-------------------------
>   Agieren Sie lokal! Geo Marketing für Ihre E-Mail Kampagne: www.geomarketing.com<http://www.geomarketing.com/>
>
>  --best of swiss web awards 2009------------------
>   Gold & Silber für Connect2Earth / Bronze für WWF UK
>
> we make the web a better place - www.getunik.com<http://www.getunik.com/>
>
>
>
>
> *****************************************************************
> P Bitte drucken Sie dieses E-Mail nur bei Bedarf aus. Die Umwelt dankt es Ihnen.
> *****************************************************************
>
>

Mime
View raw message