[apps-discuss] Media Type for HTML 'snippets'?

Jan Algermissen <algermissen1971@mac.com> Wed, 10 October 2012 11:03 UTC

Return-Path: <algermissen1971@mac.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5604221F8610 for <apps-discuss@ietfa.amsl.com>; Wed, 10 Oct 2012 04:03:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.199
X-Spam-Level:
X-Spam-Status: No, score=-5.199 tagged_above=-999 required=5 tests=[AWL=-1.600, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q2DnxSi82kkL for <apps-discuss@ietfa.amsl.com>; Wed, 10 Oct 2012 04:03:15 -0700 (PDT)
Received: from nk11p03mm-asmtp004.mac.com (nk11p03mm-asmtpout004.mac.com [17.158.232.39]) by ietfa.amsl.com (Postfix) with ESMTP id C14D321F8615 for <apps-discuss@ietf.org>; Wed, 10 Oct 2012 04:03:15 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; CHARSET="US-ASCII"
Received: from [10.90.131.173] ([87.253.171.222]) by nk11p03mm-asmtp004.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MBO005Q3C11V370@nk11p03mm-asmtp004.mac.com> for apps-discuss@ietf.org; Wed, 10 Oct 2012 11:03:15 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.431, 0.0.0000 definitions=2012-10-10_03:2012-10-10, 2012-10-10, 1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1210100069
From: Jan Algermissen <algermissen1971@mac.com>
Date: Wed, 10 Oct 2012 13:03:03 +0200
Message-id: <8573713A-4AEC-4C63-8379-F2FDE9274BB6@mac.com>
To: "apps-discuss@ietf.org application-layer protocols" <apps-discuss@ietf.org>
X-Mailer: Apple Mail (2.1283)
X-Mailman-Approved-At: Wed, 10 Oct 2012 07:57:01 -0700
Subject: [apps-discuss] Media Type for HTML 'snippets'?
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Oct 2012 11:03:16 -0000

Hi,

I am looking for an appropriate media type to use when serving HTML snippets that have a <div> as their root element.

I feel that serving HTML document fragments has become such a common scenario, I think there must be some solution already. However - I cannot find anything appropriate.

The closest thing is likely Atom's type attribute: http://tools.ietf.org/html/rfc4287#section-3.1.1.3

Can anyone provide a pointer or ideas?

Or is it time probably time for application/xhtml-div+xml

Jan