Bitcoin Forum
June 22, 2018, 12:06:07 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Machine-detectable way to give a bitcoin address in an HTML page  (Read 2231 times)
thechevalier
Jr. Member
*
Offline Offline

Activity: 40
Merit: 0



View Profile
October 18, 2012, 01:31:07 AM
 #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.

The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529625967
Hero Member
*
Offline Offline

Posts: 1529625967

View Profile Personal Message (Offline)

Ignore
1529625967
Reply with quote  #2

1529625967
Report to moderator
davux
Sr. Member
****
Offline Offline

Activity: 289
Merit: 250


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!