UserPreferences

PaceDontUseContentSrc


Abstract

Don't use content/@src in media collection list feeds. Use link/@rel="alternate" and link/@rel="edit"

<entry>
  ...
  <link rel="alternate" type="image/png" href="..." />
  <link rel="edit" type="image/png" href="..." />
  ...
</entry>

Status

Proposed

Rationale

The current draft unnecessarily treats entry and media collections differently in terms of how resources are referenced in collection feeds. The linking model should be consistent.

Proposal

Replace Section 8.3 of Draft -07 with the following

8.3 Media Collections

Media Collections are collections whose member representations are not 
constrained. They are identified by having an app:member-type of "media". 
Every member representation MUST contain an atom:link element with a 
link relation of "alternate" that contains the IRI of a public, read-only 
representation of the resource.  Every member representation MAY contain 
an atom:link element with a link relation of "edit" that contains the IRI 
of an editable representation of the resource.

Impacts

Notes


CategoryProposals