[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AtomPub in XHTML?
- To: "atom-protocol Protocol" <atom-protocol@xxxxxxx>
- Subject: AtomPub in XHTML?
- From: "Peter Keane" <pkeane@xxxxxxxxxxxxxxx>
- Date: Wed, 24 Dec 2008 16:46:27 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=hjw+LgyepqIAbdCo0ZDDlV+WAOa16Y1BjtG0Khr9Svc=; b=QduNwQLr505CVu6CwICWiAFhEgtLwbGXA2BdwzNNhh/tz7ZnDzYFNKDXgbyWBn+XaP decA0Jgo7vrlbWHAWpJEJF3juPgE+arlTkkJHZXiDjgzKcg6KHaK2ozVdvJvpMDo2jCF 2N/7dreLCjV0PVbv0dMkriCJ6WScZ1p+tSkDY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=ZAigC21veWQxF6CTJ/rF4maHwmkGPrfkWfGUT3Sqk7N8chJMb60i1sPeERyQc+LWyv rYe82nbr6qMR5YhFiu60gyEP75pFuZPx0gbGvjSAUe5KAsNEYEq+xcH/PpOBoZD5w7PS /wh1WhvIylE5Fw550a4Q9kyVLf0UwGEc5U2S8=
- List-archive: <http://www.imc.org/atom-protocol/mail-archive/>
- List-id: <atom-protocol.imc.org>
- List-unsubscribe: <mailto:atom-protocol-request@imc.org?body=unsubscribe>
- Sender: owner-atom-protocol@xxxxxxxxxxxx
Anyone have advice on embedding AtomPub elements in XHTML -- I am
specifically interested in link@rel="edit"?
I'd like to enable a small javascript AtomPub client to update
Atom-based entries in a CMS. It's all running on the same server, so
same-domain policy is not an issue.
My current choices are:
<head>
<link rel="edit" type="application/atom+xml"
href="http://example.org/xxx/00123.atom"/>
</head
(not valid xhtml, but atompub-ish)
OR
<body>
<a href="http://example.org/xxx/00123.atom" id="editLink">edit</a>
</body>
(valid xhtml, but completely non-standard, etc.)
I didn't see anything in hAtom microformat that suggested common practice.
--peter keane