relpayment-research-fr: Difference between revisions
m (→RelPayment: translation in progress) |
|||
Line 25: | Line 25: | ||
== Métadonnée Visible == | == Métadonnée Visible == | ||
Les liens balisés avec rel="payment" sont sensés être visibles sur la page, et ce parce que l'élément <a> est encouragé sur l'élément <link>. Ceci donne aux lecteurs l'accès le plus facile pour montrer le support et cela décourage la fraude de lien. Les auteurs ne devraient pas utiliser des hyperliens vide tels que <a href="[url]" rel="payment" /> et les parseurs peuvent ignorer les liens vides. | |||
== Profil XMDP == | == Profil XMDP == |
Revision as of 15:14, 12 July 2006
Auteurs
(traduction Christophe Ducamp)
Abstract
RelPayment is a microformat for making exchanges of support (be it financial or otherwise) possible. By adding rel="payment" to a hyperlink a page indicates that the destination of that hyperlink provides a way to show or give support for the current page. For example to give financial support to the owner of the current page.
One of the goals with this microformat is to give content aggregators such as RSS readers a way to extract these support links and give them special attention (such as displaying a standard button along with the content).
RelPayment
RelPayment est pensé comme un moyen général de faciliter les actes de donation, et de ce fait cette spécification de fait aucune hypothèse sur le type de support.
Une page peut contenir n'importe quel nombre d'hyperlines marqués avec rel="payment". Ceci permet aux auteurs de donner aux lecteurs plus d'un moyen possible d'afficher le support pour la donation (un lien DropCash, un lien PayPal, un lien vers une page avec une adresse pour envoyer un chèque et ainsi de suite.) Cela permet aussi aux auteurs d'ajouter des liens de paiement qui ne sont seulement en rappoert qu'avec une certaine section de page. Par exemple un site web de critique de livre peut avoir plusieurs critiques de livres sur une page avec chaque critique ayant son propre lien Amazon Affilié balisé avec rel="payment". Les agrégateurs devraient implémenter le support pour plusieurs hyperliens de paiement.
Les auteurs devraient utiliser l'attribut "title" pour fournir une description lisible par un humain du type de support pointé par l'hyperlien. Les agrégateurs peuvent utiliser les contenus de l'attribut "title" pour fournir une information additionnelle à propos deu lien support vers leurs utilisateurs. Par exemple <a href="[url]" rel="payment" title="Donnez de l'Argent Via PayPal">.
Si l'hyperlien contient une image (par ex. <a href="[url] rel="payment"><img src="[url]" alt="Badge de Support" /></a>) les agrégateurs peuvent afficher cette image au lieu du lien standard de l'agrégateur.
Métadonnée Visible
Les liens balisés avec rel="payment" sont sensés être visibles sur la page, et ce parce que l'élément <a> est encouragé sur l'élément <link>. Ceci donne aux lecteurs l'accès le plus facile pour montrer le support et cela décourage la fraude de lien. Les auteurs ne devraient pas utiliser des hyperliens vide tels que <a href="[url]" rel="payment" /> et les parseurs peuvent ignorer les liens vides.
Profil XMDP
<dl class="profile"> <dt id="rel">rel</dt> <dd><p> <a rel="help" href="http://www.w3.org/TR/html401/struct/links.html#adef-rel"> HTML4 definition of the 'rel' attribute.</a> Here is an additional value.</p> <dl> <dt id="payment">payment</dt> <dd>Indicates that the referred resource provides a way to show support for the referring page.</dd> </dl> </dd> </dl>
Application pour addition vers l'enregistrement Atom des relations de liens
The following is an application for a link relation value, as specified in the Atom Syndication Format. [1]
thank you,
Joshua Kinberg, jkinberg AT gmail DOT com
Robert Sayre, sayrer AT gmail DOT com
Enregistrement
http://www.iana.org/assignments/link-relations
Valeur d'Attribut
"payment"
Description
rel="payment" indicates a URI where payment is accepted. It is meant as a general way to facilitate acts of payment, and thus this specification makes no assumptions on the type of payment or transaction protocol. Examples may include a WWW page where donations are accepted or where goods and services are available for purchase. rel="payment" is not intended to initiate an automated transaction.
A link element with a rel="payment" attribute may exist at the feed/channel level and/or the entry/item level. For example, a rel="payment" link at the feed/channel level may point to a "tip jar" URI, whereas an entry/item containing a book review may include a rel="payment" link that points to the location where the book may be purchased through an online retailer.
Caractéristiques d'Affichage
End-user software could support rel="payment" by displaying a "payment button" along with the content. Alternatively, content aggregators may display a payment hyperlink containing the text specified in a corresponding title attribute within the <link> element, for example:
<link rel="payment" href="http://example.com/c.r.e.a.m" title="give me the loot" />
May display either a payment button or a hyperlink containing the text, "give me the loot."
Considérations de Sécurité
The link element is subject to tampering and observation, as is the linked resource. For that reason, implementations should clearly signal the level trust and privacy a linked resource provides. If present, digital signatures provide authentication, message integrity, and non-repudiation with proof of origin. Encryption provides data confidentiality. Implementations should also consider the level of confidentiality and message integrity provided by the transport used to reach the payment resource.
Art Inital
Proposition d'Anil Dash, 2002
Anil Dash's proposal in 2002 to use XHTML <link> element to define payment URLs:
payment LINK tags
There are already a lot of defined (if not quite standardized) possible values for the LINK element in XHTML. We're using them for RSS Auto-Discovery and, of course, for stylesheets already. But what about something like:
<link rel="appendix" type="text/html" title="payment" href="URL of Wishlist or Paypal Page" />
A standardized way of linking to the page where you pay for your patronage of a site. Granted, calling the payment page an "Apppendix" of the site you're visiting is fudging things a bit. Maybe there's a more elegant way?
Although this is similar to rel="payment" as we are proposing, it is not as flexible as it can only be used to define one payment location for an entire page (likely a tip jar or wishlist page). Perhaps rel="payment" could be used within the link element as well as within standard anchor tags?
Exemples dans la jungle
Amazon Associates
Product with image
This is the code generated by Amazon for a single product endorsement with photo. Everything is generated automatically. The form can be replaced with another regular HTML link.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <body> <table cellSpacing=0 cellPadding=1 width=120 height=240 bgColor=#000000 border=0> <tr> <td> <table cellSpacing=0 cellPadding=0 width=118 height=238 align=center bgColor=#ffffff border=0> <tr> <td> <table width=100% height=238 border=0 cellSpacing=0 cellPadding=0> <tr align=center> <td> <a href=http://www.amazon.com/exec/obidos/ASIN/B00022AH6I/solitudedk-20?creative=327641&camp=14573&link_code=as1 target=_blank><img src=http://rcm-images.amazon.com/images/P/B00022AH6I.01._SCTZZZZZZZ_.jpg vspace=3 border=0></a> </td> </tr> <tr> <td vAlign=center height=15%><center> <a href=http://www.amazon.com/exec/obidos/ASIN/B00022AH6I/solitudedk-20?creative=327641&camp=14573&link_code=as1 target=_blank><font face=Arial color=#0000ff size=1>Kodak EasyShare DX7440 4MP Digital C...</font></a> </td> </tr> <tr height=15%> <td> <center> <font face=Arial color=#000000 size=-2>Kodak Digital </font> </center> </td> </tr> <tr> <td height=15%> <center><a href="http://www.amazon.com/exec/obidos/redirect?tag=solitudedk-20&camp=14573&creative=327641&link_code=am1&path=tg/stores/offering/list/-/B00022AH6I/all/ASIN/B00022AH6I&camp=14573&creative=327641" target=_blank><font face=Arial color=#0000ff size=1>Best Price <font face=Arial color=#990000 size=1>$157.70</font></font></a></center> </td> </tr> <tr height=15%> <td> <center><font face=Arial color=#000000 size=1>or Buy New <font color=#990000></font></font></center> </td> </tr> <tr> <td height=15%><center> <table> <form method="GET" action="http://www.amazon.com/gp/aws/cart/add.html" target="_blank"> <tr> <td> <input type="hidden" name="SubscriptionId" value="D68HUNXKLHS4J" /> <input type="hidden" name="AssociateTag" value="solitudedk-20" /> <input type="hidden" name="ASIN.1" value="B00022AH6I" /> <input type="hidden" name="Quantity.1" value="1" /> <input type="hidden" name="linkCode" value="as1" /> <input type="image" name="submit.add" value="Buy from Amazon.com" border="0" alt="Buy from Amazon.com" src="http://rcm-images.amazon.com/images/G/01/buttons/buy-from-tan.gif" /> </center> </td> </tr> </form> </table> </center></td> </tr> <tr> <td height=5% align=absbottom> <center><a href=http://rcm.amazon.com/e/cm/privacy-policy.html?o=1 target=_blank> <font face=Arial color=#a1a1a1 size=1>Privacy Information</font></a></center> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </body> </html>
Text links
This is the code for a text link to a product category. The visible link text is chosen by the user.
<a href="http://www.amazon.com/exec/obidos/redirect?link_code=ur2&camp=1789& tag=solitudedk-20&creative=9325&path=tg/browse/-/1"> Get Photography Books at Amazon </a> <img src="http://www.assoc-amazon.com/e/ir?t=solitudedk-20&l=ur2&o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
Banners
The following is the code generated by Amazon for generic Amazone banners. Note use of imagemap to create "privacy policy link".
<html> <body topmargin=0 leftmargin=0 marginheight=0 marginwidth=0> <table width=468 height=60 border=0 cellspacing=0 cellpadding=0> <tr valign=middle align=center> <td> <MAP NAME='boxmap'><AREA SHAPE='RECT' COORDS='379, 50, 469, 61' HREF=http://rcm.amazon.com/e/cm/privacy-policy.html?o=1 target=_top> <AREA COORDS='0,0,10000,10000' HREF=http://www.amazon.com/exec/obidos/redirect? tag=solitudedk-20&creative=333489&camp=15553&link_code=ez&path= /tg/browse/-/171280 target=_top> </MAP> <img src=http://rcm-images.amazon.com/images/G/01/ associates/2005/served-banners/us_banner_imag_468x60.gif width='468' height='60' border='0' usemap='#boxmap'> </td> </tr> </table> </body> </html>
Search Boxes
Amazon offers search boxes:
<form action="http://www.amazon.com/exec/obidos/external-search"> <table class="normal" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="background-color:#fff;"> <table border="0" cellpadding="0" cellspacing="0" align="top" height="90" width="120" style="border: 1px solid #000000 !important;"> <tr> <td style="background-color:#fff;" height="20" valign="bottom" align="center"> <span style="font-family: verdana,arial,helvetica,sans-serif; font-size:10px !important; font-weight:bold !important;">Search Now:</span> </td> <td style="background-color:#fff;"> </td> </tr> <tr> <td style="background-color:#fff;" align="center" height="30" valign="top"> <input type="text" name="keyword" size="10" value="" /> </td> <td style="background-color:#fff;" height="20" valign="top" align="left"> <input type="hidden" name="mode" value="blended" /> <input type="hidden" name="tag" value="solitudedk-20" /> <input type="image" border="0" value="Go" name="Submit" src="http://g-images.amazon.com/images/G/01/associates/build-links/ ap-search-go-btn.gif" alt="[ Go ]" align="absmiddle" /> </td> </tr> <tr> <td colspan="2" style="background-color:#000;" height="40"> <a href="http://www.amazon.com/exec/obidos/redirect-home/solitudedk-20"> <img src="http://g-images.amazon.com/images/G/01/associates/build-links/ searchbox-logo-126x32.gif" height="36" border="0" width="126" alt="Amazon Logo" /></a></td> </tr> </table> </td> </tr> </table> </form>
Exemples Pratiques de rel="payment"
Blog entry containing video interview with founders of a theater group. rel="payment" link points to the theater group's fundraising page where the reader is encourage to donate via PayPal.
Blog entry containing home video that uses music by a popular recording artist. rel="payment" link encourages reader to purchase the artist's CD at Amazon (could have used Amazon affilliate link as noted above).
Blog entry containing audio segment from an NPR interview. rel="payment" link encourages the reader to support NPR by purchasing something from the NPR Online Shop.
Outils qui supportent actuellement RelPayment
FireAnt is an RSS video aggregator and media player. Subscribe to any RSS 2.0 channel and automatically download fresh media content to watch and listen to.
blip.tv lets you share and watch video for free. We will host your video, make it available for your friends, family and blog readers and help you find video that others have shared.
Mefeedia is a video aggregator, like Bloglines for video. You can subscribe to channels and watch thousands of videos. This site is about not about movies, television shows or video made by big companies, it's about the thousands of people are creating video and putting it online. Movies made by real people.