atom: different link types (relations)

View: New views
2 Messages — Rating Filter:   Alert me  

atom: different link types (relations)

by Andras Balogh-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Dear All,

 

a further question is regarding the atom link types: if I call

entry.setLink(“aLink”);

 

the output in Atom is

<link rel="alternate" href="aLink" />

 

Can it not be of other relation (there are some common ones: rel, self, enclosure, etc)?

 

Thank you,

Andras Balogh

 

 

Mit freundlichen Grüßen aus dem Technologiepark Karlsruhe

András Balogh

Software Engineer

 

------------------------------------------------------------------------------

 

CAS Software AG · Wilhelm-Schickard-Straße 10-12 · 76131 Karlsruhe · Telefon +49 721 9638-0

Richtig informiert. Jederzeit und überall. www.cas.de · Impressum und AGB’s


Vorstand: Martin Hubschneider (Vorsitz) · Ludwig Neer · Frank Widmayer

Aufsichtsrat: Dr. Dr. Jörg Maurer (Vorsitz) · Prof. Dr. Peter Lockemann · Dr. habil. Karl Schlagenhauf

Amtsgericht Mannheim · Handelsregister-Nr.: HRB 108751 · UID Nr.: DE143593148

 

 


Re: atom: different link types (relations)

by erlingwl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you think about the rel="alternate" that is default. But you can
override it with link.setRel(..)

- Erling

2008/4/28 Andras Balogh <Andras.Balogh@...>:

>
>
>
>
> Dear All,
>
>
>
> a further question is regarding the atom link types: if I call
>
> entry.setLink("aLink");
>
>
>
> the output in Atom is
>
> <link rel="alternate" href="aLink" />
>
>
>
> Can it not be of other relation (there are some common ones: rel, self,
> enclosure, etc)?
>
>
>
> Thank you,
>
> Andras Balogh
>
>
>
>
>
> Mit freundlichen Grüßen aus dem Technologiepark Karlsruhe
>
> András Balogh
>
> Software Engineer
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> CAS Software AG · Wilhelm-Schickard-Straße 10-12 · 76131 Karlsruhe · Telefon
> +49 721 9638-0
>
> Richtig informiert. Jederzeit und überall. www.cas.de · Impressum und AGB's
>
>
>  Vorstand: Martin Hubschneider (Vorsitz) · Ludwig Neer · Frank Widmayer
>
> Aufsichtsrat: Dr. Dr. Jörg Maurer (Vorsitz) · Prof. Dr. Peter Lockemann ·
> Dr. habil. Karl Schlagenhauf
>
> Amtsgericht Mannheim · Handelsregister-Nr.: HRB 108751 · UID Nr.:
> DE143593148
>
>
>
>



--
Med vennlig hilsen
Erling Wegger Linde

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...