Re: Human/machine views for feeds (1.0, 2.0, Atom)
"James Holderness" <[email protected]> Thu, 25 Jan 2007 16:46:04 -0000
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Message-ID | <[email protected]> |
--TNCCtZ3xPJ5P9BrlmznhAVUP3-3NncCmiRfm-de
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
> Human - We add in XHTML markup within a <content type="xhtml"> element.
> Machine - We add in a complete RSS 1.0 item (sans <content:encoded>
> element)
> within a <content type="application/rdf+xml"> element. This seems
> preferable
> to defining arbitrary RDF/XML and provides best fit with the RSS 1.0 feed.
> In essence the Atom entries contain standalone RDF islands along with an
> XHTML view.
One major problem is that Atom doesn't allow multiple content elements per
item. I suppose you could put the XHTML in a summary element and leave the
RDF stuff in the content element, but the XHTML isn't really a summary of
the RDF stuff is it? It's probably more appropriate to just have the XHTML
in the content element and then include an alternate link element pointing
to the RDF stuff externally.
Also, your dates and ids aren't valid, but that should be easy to fix.
Regards
James
--TNCCtZ3xPJ5P9BrlmznhAVUP3-3NncCmiRfm-de
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<!-- Network content -->
<body style="background-color: #ffffff;">
<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id="ygrp-mlmsg" style="width:655px; position:relative;">
<div id="ygrp-msg" style="width: 490px; padding: 0 15px 0 0; float:left; z-index:1;">
<!--~-|**|PrettyHtmlEndT|**|-~-->
<div id="ygrp-text">
<p>> Human - We add in XHTML markup within a <content type="xhtml"<wbr>> element.<br>
> Machine - We add in a complete RSS 1.0 item (sans <content:encoded> <br>
> element)<br>
> within a <content type="application/<wbr>rdf+xml"> element. This seems <br>
> preferable<br>
> to defining arbitrary RDF/XML and provides best fit with the RSS 1.0 feed.<br>
> In essence the Atom entries contain standalone RDF islands along with an<br>
> XHTML view.<br>
<br>
One major problem is that Atom doesn't allow multiple content elements per <br>
item. I suppose you could put the XHTML in a summary element and leave the <br>
RDF stuff in the content element, but the XHTML isn't really a summary of <br>
the RDF stuff is it? It's probably more appropriate to just have the XHTML <br>
in the content element and then include an alternate link element pointing <br>
to the RDF stuff externally.<br>
<br>
Also, your dates and ids aren't valid, but that should be easy to fix.<br>
<br>
Regards<br>
James<br>
<br>
</p>
</div>
<!--~-|**|PrettyHtmlStart|**|-~-->
<span width="1" style="color: white;">__._,_.___</span>
<!-- Start the section with Message In topic -->
<div id="ygrp-actbar">
<span class="left">
<a href="http://groups.yahoo.com/group/rss-dev/message/7408;_ylc=X3oDMTM0bjM1aWJqBF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBG1zZ0lkAzc0MDkEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMTY5NzQ0MDc5BHRwY0lkAzc0MDg-">
Messages in this topic </a> (<span class="bld">2</span>)
</span>
<a href="http://groups.yahoo.com/group/rss-dev/post;_ylc=X3oDMTJwN3J0ODl1BF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBG1zZ0lkAzc0MDkEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMTY5NzQ0MDc5?act=reply&messageNum=7409">
<span class="bld">
Reply </span> (via web post)
</a> |
<a href="http://groups.yahoo.com/group/rss-dev/post;_ylc=X3oDMTJlZmxlZXRqBF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTE2OTc0NDA3OQ--" class="bld">
Start a new topic </a>
</div>
<!------- Start Nav Bar ------>
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-vitnav">
<a href="http://groups.yahoo.com/group/rss-dev/messages;_ylc=X3oDMTJlaHFybjluBF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwNmdHIEc2xrA21zZ3MEc3RpbWUDMTE2OTc0NDA3OQ--">Messages</a>
| <a href="http://groups.yahoo.com/group/rss-dev/polls;_ylc=X3oDMTJmb2JlZm85BF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwNmdHIEc2xrA3BvbGxzBHN0aW1lAzExNjk3NDQwNzk-">Polls</a>
| <a href="http://groups.yahoo.com/group/rss-dev/members;_ylc=X3oDMTJlcDYxbHVqBF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwNmdHIEc2xrA21icnMEc3RpbWUDMTE2OTc0NDA3OQ--">Members</a>
</div>
<!-- |**|end egp html banner|**| -->
<!-- Do not have place to put it yet -->
<div id="ygrp-grft">
</div>
<!-- yahoo logo -->
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-ft">
<a href="http://groups.yahoo.com/;_ylc=X3oDMTJkZ2h1cDh2BF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMTY5NzQ0MDc5">
<img src="http://us.i1.yimg.com/us.yimg.com/i/yg/img/logo/ma_grp_160.gif" height="15" width="106" border="0" alt="Yahoo! Groups"></a> <br>
<a href="http://groups.yahoo.com/group/rss-dev/join;_ylc=X3oDMTJmNzRpYWtxBF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzExNjk3NDQwNzk-">Change settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:[email protected]?subject=Email Delivery: Digest">Switch delivery to Daily Digest</a> | <a href = "mailto:[email protected]?subject=Change Delivery Format: Traditional">Switch format to Traditional</a> <br>
<a href="http://groups.yahoo.com/group/rss-dev;_ylc=X3oDMTJkbW5zcjZwBF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMTY5NzQ0MDc5">
Visit Your Group
</a> |
<a href="http://docs.yahoo.com/info/terms/">
Yahoo! Groups Terms of Use </a> |
<a href="mailto:[email protected]?subject=">
Unsubscribe </a>
</div> <!-- |**|end egp html banner|**| -->
</div> <!-- ygrp-msg -->
<!-- Sponsor -->
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-sponsor" style="width:140px;float: left; clear: none; margin-left: 5px; background:white; margin-bottom:25px ;position:absolute; top:0; right: 0;">
<!-- Network content -->
<!-- Start vitality -->
<div id="ygrp-vital">
<div id="vithd">Recent Activity</div>
<ul style="list-style-type:none; padding: 0; margin: 2px 0;">
<li style="clear: both;">
<div class="ct" style="float: right;"><span style="display:none"> </span>5</div>
<div class="cat"><a href="http://groups.yahoo.com/group/rss-dev/members;_ylc=X3oDMTJmZzh0bHJlBF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzExNjk3NDQwNzk-">New Members</a></div>
</li>
</ul>
<a href="http://groups.yahoo.com/group/rss-dev;_ylc=X3oDMTJlaTRxbDU3BF9TAzk3MzU5NzE0BGdycElkAzIwOTEwODYEZ3Jwc3BJZAMxNzA2MDMwMzkwBHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTE2OTc0NDA3OQ--">
Visit Your Group </a>
</div>
<!-- Network content -->
<div id="nc">
<div class="ad">
<div id="hd1">New Message Search</div>
<p>Find the message you want faster. Visit your group to try out the improved message search.</p>
<p><a href=""></a></p>
</div>
<div class="ad">
<div id="hd1"></div>
<p></p>
<p><a href="">Share feedback on the new changes to Groups</a></p>
</div>
</div>
</div> <!-- |**|end egp html banner|**| -->
<div style="clear:both; color: #FFF; font-size:1px;">.</div>
</div> <img src="http://geo.yahoo.com/serv?s=97359714/grpId=2091086/grpspId=1706030390/msgId=7409/stime=1169744079" width="1" height="1"> <br>
<span style="color: white;">__,_._,___</span>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</body>
<!--~-|**|PrettyHtmlStart|**|-~-->
<head>
<style type="text/css">
<!--
#ygrp-mlmsg {font-size:13px; font-family: arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;*font-size:100%;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family: Georgia;
}
#ygrp-text p{
margin: 0 0 1em 0;
}
#ygrp-tpmsgs{
font-family: Arial;
clear: both;
}
#ygrp-vitnav{
padding-top: 10px;
font-family: Verdana;
font-size: 77%;
margin: 0;
}
#ygrp-vitnav a{
padding: 0 1px;
}
#ygrp-actbar{
clear: both;
margin: 25px 0;
white-space:nowrap;
color: #666;
text-align: right;
}
#ygrp-actbar .left{
float: left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family: Verdana;
font-size: 77%;
padding: 15px 0;
}
#ygrp-ft{
font-family: verdana;
font-size: 77%;
border-top: 1px solid #666;
padding: 5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom: 10px;
}
#ygrp-vital{
background-color: #e0ecee;
margin-bottom: 20px;
padding: 2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size: 77%;
font-family: Verdana;
font-weight: bold;
color: #333;
text-transform: uppercase;
}
#ygrp-vital ul{
padding: 0;
margin: 2px 0;
}
#ygrp-vital ul li{
list-style-type: none;
clear: both;
border: 1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight: bold;
color: #ff7900;
float: right;
width: 2em;
text-align:right;
padding-right: .5em;
}
#ygrp-vital ul li .cat{
font-weight: bold;
}
#ygrp-vital a {
text-decoration: none;
}
#ygrp-vital a:hover{
text-decoration: underline;
}
#ygrp-sponsor #hd{
color: #999;
font-size: 77%;
}
#ygrp-sponsor #ov{
padding: 6px 13px;
background-color: #e0ecee;
margin-bottom: 20px;
}
#ygrp-sponsor #ov ul{
padding: 0 0 0 8px;
margin: 0;
}
#ygrp-sponsor #ov li{
list-style-type: square;
padding: 6px 0;
font-size: 77%;
}
#ygrp-sponsor #ov li a{
text-decoration: none;
font-size: 130%;
}
#ygrp-sponsor #nc {
background-color: #eee;
margin-bottom: 20px;
padding: 0 8px;
}
#ygrp-sponsor .ad{
padding: 8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family: Arial;
font-weight: bold;
color: #628c2a;
font-size: 100%;
line-height: 122%;
}
#ygrp-sponsor .ad a{
text-decoration: none;
}
#ygrp-sponsor .ad a:hover{
text-decoration: underline;
}
#ygrp-sponsor .ad p{
margin: 0;
}
o {font-size: 0; }
.MsoNormal {
margin: 0 0 0 0;
}
#ygrp-text tt{
font-size: 120%;
}
blockquote{margin: 0 0 0 4px;}
.replbq {margin:4}
-->
</style>
</head>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</html><!--End group email -->
--TNCCtZ3xPJ5P9BrlmznhAVUP3-3NncCmiRfm-de--