Ok, I ended up finding out that writing my own extension for it, is not that complicated.
Might post my source code if I get it up running, but in short my plan is:
From the dataTypeId its possible to retrieve the Cloudfiles credentials registered with universal media picker, and from containername and imagename its possible to retrieve the CDN Url through the Cloud Files API.
I haven't used the provider since writing it when UMP was first released about a year ago. This provider probably needs to be upgraded to latest version of UMP and maybe even Cloud Files API.
If you download the AWS S3 provider there is an example xslt that you should be able to use with the Cloud Files provider.
If you want to help upgrade the Cloud Files provider I can send you the source code. Any help is appriciated ;)
Im not sure if the provider needs to be upgraded or not. The main functionality of the provider (selecting and uploading images) works fine, I just couldnt figure out how to display the images on the frontend.
I did install the S3 provider, but I can't find the example XSLT. I have example XSLT files for Dropbox, Vimeo and Youtube. The package installation also registered XSLT extensions for Dropbox, Vimeo and Youtube, but not CloudFiles and Amazon.
I did figure out that I could easily do an XSLT extension myself, that would get the CDN url from the container name and concatenate it with the item name, so that is probably what I will do anyway, but if you can send me the source code, I would appriciate it. Could save me some hours.
I haven't forgotten about you, but I'm moving my private repositories to Bitbucket so you will be able to get the code from there.
I wanted to add a sample xslt, but just noticed that I never included an xslt extension for the Cloud Files provider, so I will try to add an extension when moving the repository.
How to use CloudFiles provider?
I have installed CloudFiles provider and set up the account.
I am able to add the datatype and use it to upload and select an image. The image gets uploaded to Cloud Files as it should.
But the only values im able to get in XSLT is:
I cant seem to find any XSLT extensions for CloudFiles!
What to do?
Ok, I ended up finding out that writing my own extension for it, is not that complicated.
Might post my source code if I get it up running, but in short my plan is:
From the dataTypeId its possible to retrieve the Cloudfiles credentials registered with universal media picker, and from containername and imagename its possible to retrieve the CDN Url through the Cloud Files API.
Hi Nicolai,
Sorry about the late reply.
I haven't used the provider since writing it when UMP was first released about a year ago. This provider probably needs to be upgraded to latest version of UMP and maybe even Cloud Files API.
If you download the AWS S3 provider there is an example xslt that you should be able to use with the Cloud Files provider.
If you want to help upgrade the Cloud Files provider I can send you the source code. Any help is appriciated ;)
- Morten
Hi Morten
Thank you for the reply.
Im not sure if the provider needs to be upgraded or not. The main functionality of the provider (selecting and uploading images) works fine, I just couldnt figure out how to display the images on the frontend.
I did install the S3 provider, but I can't find the example XSLT. I have example XSLT files for Dropbox, Vimeo and Youtube. The package installation also registered XSLT extensions for Dropbox, Vimeo and Youtube, but not CloudFiles and Amazon.
I did figure out that I could easily do an XSLT extension myself, that would get the CDN url from the container name and concatenate it with the item name, so that is probably what I will do anyway, but if you can send me the source code, I would appriciate it. Could save me some hours.
nicolai(at)heilbuth.net
Nicolai
Hi Nicolai,
I haven't forgotten about you, but I'm moving my private repositories to Bitbucket so you will be able to get the code from there.
I wanted to add a sample xslt, but just noticed that I never included an xslt extension for the Cloud Files provider, so I will try to add an extension when moving the repository.
- Morten
is working on a reply...