creativecommons / creativecommons.org

Legacy legal code translations and general support issues
MIT License
155 stars 201 forks source link

Integrate Web Monetization on Select Pages #1124

Closed annatuma closed 4 years ago

annatuma commented 4 years ago

We're going to start the first phase of experimenting with Web Monetization.

The tag needs to be put in the <head> of the website, and is <meta name="monetization" content="$ilp.uphold.com/edR8erBDbRyq">

For CC.org, we'll do these three pages initially: https://creativecommons.org/about/program-areas/arts-culture/arts-culture-resources/legalmusicforvideos/ https://creativecommons.org/share-your-work/ https://creativecommons.org/use-remix/

annatuma commented 4 years ago

@hugosolar Coil does have a WordPress plugin for this: https://wordpress.org/plugins/coil-web-monetization/

I don't know if it's preferred to use the plugin, or code this directly into the <head>. Also, if this is something that I can do (e.g. by installing the plugin and making settings) I am happy to help with this, but I defer to you.

kgodey commented 4 years ago

We probably do not want to use the plugin; integrating the tags directly will allow us to support all web monetization providers, not just Coil.

hugosolar commented 4 years ago

Yes! I agree with @kgodey, I added a PR with a short function that should do the trick