diff --git a/content/tutorials/asset-hosting.md b/content/tutorials/asset-hosting.md index 4ee9bb1b..2d033097 100644 --- a/content/tutorials/asset-hosting.md +++ b/content/tutorials/asset-hosting.md @@ -101,3 +101,51 @@ Go to the Azure portal: https://portal.azure.com/#home and select `Storage accou Now, copy and paste the link in the Publish page in the Ocean Marketplace. ![Publish the file as an asset](/images/marketplace/publish/azure-10.png) + +### OneDrive + +Create an account on [Microsoft](https://www.microsoft.com/en-us/microsoft-365/onedrive/online-cloud-storage). + +#### Step 1 - Upload a file + +Go to [OneDrive](https://onedrive.live.com/) and upload the file to be published. + +![Upload a file](/images/marketplace/publish/one-drive-1.png) + +#### Step 2 - Get link + +After the file is uploaded, right click on the file and click `Embed`, and copy the link. + +![Get an embeddable link](/images/marketplace/publish/one-drive-2.png) + +Now copy the highlighted content as shown in below image: + +![Copy the iframe](/images/marketplace/publish/one-drive-3.png) + +The copied content will be of the format as below: + +```html + +``` + +#### Step 3 - Generate downloadable link + +Copy the content from `src` field from the `iframe`. The link will the in the format as below: +`https://onedrive.live.com/embed?cid=&resid=%&authkey=` + +Replace the `https://onedrive.live.com/embed` with `https://onedrive.live.com/download` from the above URL. + +The downloadable file URL will be of the format as below: +`https://onedrive.live.com/download?cid=&resid=%&authkey=` + +Enter the the URL in the browser and verify if the file is downloaded correctly. + +#### Step 4 - Publish the asset using the generated link + +Now, copy and paste the link in the Publish page in the Ocean Marketplace. + +![Publish the file as an asset](/images/marketplace/publish/one-drive-4.png) diff --git a/content/tutorials/images/marketplace/publish/one-drive-1.png b/content/tutorials/images/marketplace/publish/one-drive-1.png new file mode 100644 index 00000000..00910484 Binary files /dev/null and b/content/tutorials/images/marketplace/publish/one-drive-1.png differ diff --git a/content/tutorials/images/marketplace/publish/one-drive-2.png b/content/tutorials/images/marketplace/publish/one-drive-2.png new file mode 100644 index 00000000..7334561d Binary files /dev/null and b/content/tutorials/images/marketplace/publish/one-drive-2.png differ diff --git a/content/tutorials/images/marketplace/publish/one-drive-3.png b/content/tutorials/images/marketplace/publish/one-drive-3.png new file mode 100644 index 00000000..73c4f043 Binary files /dev/null and b/content/tutorials/images/marketplace/publish/one-drive-3.png differ diff --git a/content/tutorials/images/marketplace/publish/one-drive-4.png b/content/tutorials/images/marketplace/publish/one-drive-4.png new file mode 100644 index 00000000..61c964e1 Binary files /dev/null and b/content/tutorials/images/marketplace/publish/one-drive-4.png differ