Bitcoin Forum
April 26, 2024, 03:31:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HTML Meta Tag for Bitcoin (donations)  (Read 2507 times)
stick (OP)
Sr. Member
****
Offline Offline

Activity: 441
Merit: 266



View Profile
January 31, 2013, 10:28:58 AM
Last edit: February 05, 2013, 06:46:25 PM by stick
 #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?

1714145477
Hero Member
*
Offline Offline

Posts: 1714145477

View Profile Personal Message (Offline)

Ignore
1714145477
Reply with quote  #2

1714145477
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714145477
Hero Member
*
Offline Offline

Posts: 1714145477

View Profile Personal Message (Offline)

Ignore
1714145477
Reply with quote  #2

1714145477
Report to moderator
1714145477
Hero Member
*
Offline Offline

Posts: 1714145477

View Profile Personal Message (Offline)

Ignore
1714145477
Reply with quote  #2

1714145477
Report to moderator
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



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

I like it

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


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!

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


bitfreak!
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


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: 743
Merit: 500



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
Merit: 1003


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: 2450
Merit: 1008



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: 1442
Merit: 1179



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:  

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