You may embed an RPD to you website using one of these options:
Creating a downloadable file link
To create a downloadable file link, you can use an HTML anchor tag with the href attribute pointing to the file's URL and the download attribute.
1. Upload the file to a specific folder in your server.
2. Update the web page with the below formatted anchor tag
Here's an example:
<a href="https://example.com/path/to/your-file.html" download="your-file.html" rel="noreferrer">Download</a>
In this example:
- Replace https://example.com/path/to/your-file.html with the actual URL of the file you want to make available for download.
- The download="your-file.html" attribute specifies the name the file will be saved as when downloaded. You can customize this as needed.
When users click on the link, the file will be downloaded directly to their system.
Base64
1. Convert the RPD to Base64 using a Base64 encode tool.
2. Copy the Base64 text and embed it in the anchor HTML tag.
Here's an example:
<a href="data:application/html;base64,PCFN0eXBlIGb+DQo8aHRtbCBsYW5nPSJlbiIgY2xhc3M9Imgt" download="SampleNDAAgreement.html" target="_blank" rel="noreferrer">Download</a>
In this example:
- Replace PCFN0eXBlIGb+DQo8aHRtbCBsYW5nPSJlbiIgY2xhc3M9Imgt with the Base64 code you got from the encode tool.
- Replace SampleNDAAgreement.html with the display name of your RPD. Please note there cannot be spaces in the name of the file.
- You may replace Download with your desired call to action, such as 'Download the file' or 'Read the report', to encourage users to click and access the file.