Bitcoin Forum
May 26, 2024, 08:46:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Machine-detectable way to give a bitcoin address in an HTML page  (Read 2339 times)
thechevalier
Newbie
*
Offline Offline

Activity: 40
Merit: 0



View Profile
October 18, 2012, 01:31:07 AM
Last edit: October 18, 2012, 04:44:00 AM by thechevalier
 #21

Just a follow-up for anyone developing this further. What do you think about using an existing link relation type for bitcoin? "payment" seems to be about right...

So a link might look like:

<link rel="payment" href="bitcoin:1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L" />

See: https://tools.ietf.org/html/draft-nottingham-http-link-header-10

Relation Name: payment
   o  Description: indicates a resource where payment is accepted.
   o  Reference: [this document]
   o  Notes: this relation type registration did not indicate a
      reference.  Requested by Joshua Kinberg and Robert Sayre.  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 web page where
      donations are accepted or where goods and services are available
      for purchase. rel="payment" is not intended to initiate an
      automated transaction.  In Atom documents, 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.

davux (OP)
Sr. Member
****
Offline Offline

Activity: 288
Merit: 263


Firstbits.com/1davux


View Profile WWW
October 18, 2012, 05:22:13 AM
 #22

Sounds great, indeed!

1DavuxH9tLqU4c7zvG387aTG4mA7BcRpp2
México (Oaxaca) – France - Leeds
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!