Bitcoin Forum
November 22, 2017, 12:01:29 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: HTML Meta Tag for Bitcoin (donations)  (Read 2375 times)
stick
Sr. Member
****
Offline Offline

Activity: 439



View Profile
January 31, 2013, 10:28:58 AM
 #1

Hi!

I would like to propose the following HTML meta tag for Bitcoin donations. If this idea is accepted, one could create a browser extension that shows the bitcoin icon in the URL bar and user can simply donate to the website by clicking on it (which will launch bitcoin client with pre-filled address).

example:

<meta name="bitcoin" content="1BitkeyP2nDd5oa647AjvBbbwST54W5Zmx" />

What do you think about that? Does it make sense to you?

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

Posts: 1511352089

View Profile Personal Message (Offline)

Ignore
1511352089
Reply with quote  #2

1511352089
Report to moderator
1511352089
Hero Member
*
Offline Offline

Posts: 1511352089

View Profile Personal Message (Offline)

Ignore
1511352089
Reply with quote  #2

1511352089
Report to moderator
1511352089
Hero Member
*
Offline Offline

Posts: 1511352089

View Profile Personal Message (Offline)

Ignore
1511352089
Reply with quote  #2

1511352089
Report to moderator
bitpop
Legendary
*
Offline Offline

Activity: 2184


https://keybase.io/bitpop


View Profile WWW
January 31, 2013, 11:06:09 AM
 #2

I like it

Reputation  |  PGP  |  DigitalOcean  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2324



View Profile
January 31, 2013, 12:26:34 PM
 #3

user can simply donate to the website by clicking on it (which will launch bitcoin client with pre-filled address).

See URI scheme, BIP 21:

 - http://en.bitcoin.it/wiki/BIP_0021

Example:

Creating and parsing "bitcoin:" URI Strings:

This is the easiest part, which is fully-documented in BIP 21: URI Scheme.   Here a simple example of how you would include it (using my donation address, of course!)

Code:
<a href="bitcoin:1ArmoryXcfq7TnCSuZa9fQjRYwJ4bkRKfv?amount=1.0&label=Armory%20Donation%20Address&message=Donation%20to%20Armory">Donate 1.0 BTC to the Armory Project!</a>

...which looks like:  Donate 1.0 BTC to the Armory Project!

bitfreak!
Legendary
*
Offline Offline

Activity: 1535


electronic [r]evolution


View Profile WWW
January 31, 2013, 12:55:52 PM
 #4

FireCoin

<meta name="bitcoin" content="1KHTs795SKBd2yBfdfpf4BxArEq5RGrNZo" />

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
World
Hero Member
*****
Offline Offline

Activity: 746



View Profile
January 31, 2013, 02:31:27 PM
 #5

coinbase has a nice donation button code
http://blog.coinbase.com

Supporting people with beautiful creative ideas. Bitcoin is because of the developers,exchanges,merchants,miners,investors,users,machines and blockchain technologies work together.
Xenland
Legendary
*
Offline Offline

Activity: 980


I'm not just any shaman, I'm a Sha256man


View Profile
February 05, 2013, 05:29:05 PM
 #6

Great idea! I shalt do this with my btc websites, weee
Stemby
Legendary
*
Offline Offline

Activity: 2254



View Profile
July 17, 2015, 03:29:04 PM
 #7

Old topic found by Google Smiley

Here is the official HTML5 proposal:

https://wiki.whatwg.org/wiki/MetaExtensions

Ciao!

“…virtual currencies, could have a substitution effect on central bank money if they become widely accepted.”
ECB Report, October 2012
coinableS
Legendary
*
Offline Offline

Activity: 1050



View Profile WWW
July 18, 2015, 12:55:19 AM
 #8

user can simply donate to the website by clicking on it (which will launch bitcoin client with pre-filled address).

See URI scheme, BIP 21:

 - http://en.bitcoin.it/wiki/BIP_0021

Example:

Creating and parsing "bitcoin:" URI Strings:

This is the easiest part, which is fully-documented in BIP 21: URI Scheme.   Here a simple example of how you would include it (using my donation address, of course!)

Code:
<a href="bitcoin:1ArmoryXcfq7TnCSuZa9fQjRYwJ4bkRKfv?amount=1.0&label=Armory%20Donation%20Address&message=Donation%20to%20Armory">Donate 1.0 BTC to the Armory Project!</a>

...which looks like:  Donate 1.0 BTC to the Armory Project!


Yea but that's just a URI link to open someone's local wallet. Adding a metatag opens the doors to more possibilities and layers on top. Like OP stated browser extensions. In the distant future when bitcoin is widespread the metatag could be scrapped by google's robots and added to results. So if you search for "Brooklyn Cupcakes" you'll receive all the matches, plus they could use that metatag to indicate they accept bitcoin.

Brooklyn Designer Cakes
www.designercakes.net
We offer and makes amazing cakes for everybody, order today with Visa.

Matty's Magnificent Cakes
www.mmcakes.ny BTC
I make all my cakes by hand with natural ingredients. Come down and visit us and try our coffee. Free wifi!

Mastercard Cakes
www.mastercakes.us
We are really old and do things the old way. We only accept cash and mastercard. Newspapers also available for $1.25

In the above example Matty has the bitcoin metatag so he gets a little BTC by his search result.

Pages: [1]
  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!