Skip to content

feat: add presets for revshare and linktag#68

Merged
DarianM merged 8 commits intomainfrom
67-add-link-tag-and-revshare-presets
Mar 19, 2025
Merged

feat: add presets for revshare and linktag#68
DarianM merged 8 commits intomainfrom
67-add-link-tag-and-revshare-presets

Conversation

@DarianM
Copy link
Member

@DarianM DarianM commented Mar 19, 2025

Requested changes

Move rev-share & linktag generators under publisher tools.
Add description and tooltip text in tools home page for both linktag and rev-share

@DarianM DarianM linked an issue Mar 19, 2025 that may be closed by this pull request
{
enabled: true,
title: 'Revenue Share',
image: 'widget_representation.svg',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we using the widgets image for this ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for now yes, will write to request new svg designs after the first release

@lengyel-arpad85 lengyel-arpad85 self-requested a review March 19, 2025 09:11
link: `https://webmonetization.org/tools/prob-revshare/`,
tooltip: tooltips.revShareGenerator,
description:
"Probabilistic revenue sharing (revshare) is one way to share a portion of a web monetized page's earnings between multiple payment pointers"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"...between multiple payment pointers and wallet addresses."

The linktag and revshare pages themselves also need to reference wallet addresses, but I can take care of that part later.

scriptModal:
'Copy your script and insert it just before the closing </body> tag on your website, or place it within a script type element if you\'re using a site management software (ex: WordPress, etc). <br />Be sure to review and select all the options in the "Include" section, that you want to display on your website.',
linkTagGenerator:
'Generate and customize your Web Monetization <link> tag to monetize your web pages. The generator helps you create the correct tag with your payment pointer and validates the syntax, ensuring proper implementation of Web Monetization in your HTML documents.',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think they're really customizing anything, so "Generate your Web Monetization tag to monetize your web pages. The generator helps you create a tag from your payment pointer or wallet address and validates the syntax."

I think we can leave out the last piece regarding proper implementation.

linkTagGenerator:
'Generate and customize your Web Monetization <link> tag to monetize your web pages. The generator helps you create the correct tag with your payment pointer and validates the syntax, ensuring proper implementation of Web Monetization in your HTML documents.',
revShareGenerator:
'Create a customized revenue sharing configuration that distributes Web Monetization earnings between multiple payment pointers. The generator helps you set weighted percentages for each recipient and validates the payment pointer format, ensuring fair distribution of streaming payments.',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this too much?

Split Web Monetization revenue between multiple payment pointers and wallet addresses. Assign a weight to each recipient, then add the generated link tag to your HTML documents. As you assign weights, the generator will calculate percentages. The percentages represent how often a given wallet address or payment pointer will receive payments each time a web monetized visitor views your content.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no it's not, still looks good with some line break elements in between. thanks!

@DarianM DarianM merged commit d2ea146 into main Mar 19, 2025
7 checks passed
@DarianM DarianM deleted the 67-add-link-tag-and-revshare-presets branch March 19, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add link-tag and revshare tools in tools

4 participants