Author

Topic: HTML Meta Tag for Bitcoin (donations) (Read 2507 times)

legendary
Activity: 1442
Merit: 1179
July 17, 2015, 08:55:19 PM
#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:

...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.
legendary
Activity: 2450
Merit: 1008
July 17, 2015, 11:29:04 AM
#7
Old topic found by Google Smiley

Here is the official HTML5 proposal:

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

Ciao!
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
February 05, 2013, 01:29:05 PM
#6
Great idea! I shalt do this with my btc websites, weee
hero member
Activity: 743
Merit: 500
January 31, 2013, 10:31:27 AM
#5
coinbase has a nice donation button code
http://blog.coinbase.com
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
January 31, 2013, 08:55:52 AM
#4
legendary
Activity: 2506
Merit: 1010
January 31, 2013, 08:26:34 AM
#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:

...which looks like:  Donate 1.0 BTC to the Armory Project!
legendary
Activity: 2912
Merit: 1060
January 31, 2013, 07:06:09 AM
#2
I like it
sr. member
Activity: 441
Merit: 266
January 31, 2013, 06: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:



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