Loving this new front on file sharing on the cloud! I saw the video on bringing in content from GoogleDocs - however we use Microsoft's Live@Edu services since the formatting is cleaner with all the Office Suite products. Most of our staff have documents shared on live / skydrive - is there any way to pull them into Moodle easily?
Someone just needs to make a plugin that connects to Live@Edu, like the google docs one. It is probably not much work, providing Microsoft provides an appropriate API for developers to use. The code for the googledocs plugin is at https://github.com/moodle/moodle/blob/cvshead/repository/googledocs/lib.php. As you can see, it is really very little code.
However, this, from 18 months ago, does not look promising: http://ask.officelive.com/workspace/qna/t/5488.aspx. Looks like Microsoft did not provide an API then.
I wouldn't hold out much hope for a SkyDrive repository anytime soon tbh
What might be more hopeful is when Microsoft finally get around to releasing the SharePoint-based storage in Live@Edu (should be early 2011 I reckon) as it will just need someone to crack how to get files from SharePoint to Moodle (maybe it's been done already?)
Microsoft really need to get their act together with this, not sure how much of a big deal the Live@Edu vs GApps battle means to either company but Google is pulling ahead due to the tighter integration and more open APIs... over to you Microsoft...
Skydrive should be able to be used via WebDav, you just have to figure out the correct address for your folders. This can be done from Windows 7 & Mac so why not from Moodle ??
Will try this out soon.
Agreed that it seems weird how easily I can map skydrive folders in Windows 7 (and XP too with a little work) by copying the web address when saving to skydrive.
With that in mind, if I know the exact web address to access my skydrive folders, is it possible to pull the into Moodle?
Completely agreed GShaw. Thankfull Live ID supports Open ID so that logins are a bit more streamlined - but this is a huge blocker for campuses using Live@Edu services and Moodle for course management.
On your note of "Going Google" - I'm seriously considering putting on new campuses on Google due to its streamlined ability to integrate with Moodle and other systems. I admit that Live@Edu's suite offers nicer features - but bells and whistles don't mean much with poor usability and multi-step workarounds.
Keep me posted on any progress with this
Things may well change completely in the next few months with Office 365 coming out, the platform is undergoing big changes with SharePoint taking over SkyDrive for storage.
Although that's only on certain packages, most of which which are free for students but cost £££ for staff (pricing info still to be fully announced for the UK as far as I know)
Not sure if there's an existing Sharepoint repository plugin for 2.0 yet but if someone can crack that then a lot more becomes possible. The other issue is whether the current Live@Edu plugin gets updated for 2.0, current signs suggest MS won't be doing it so unless a hosting partner or some open-source people do it...
However don't take any of the above as gospel, a lot could change in the next few weeks...
Any work being done on this? We're upgrading to 2.2 in June, and our entire state is already tied into the Live@edu/365/online SharePoint scene. It would really be a great help to us!
I'm very interested in this as well...
Whilst I was working at LUNS a client from Universidad Teconológica de Chile (INACAP) funded us to produce this repository.
The has been released open source code is available here:
It is my intention to integrate this into core however I have not yet been able to.
I downloaded the files and installed this on my 2.2 Test server. I went to https://manage.dev.live.com to add an application. I took the ClientID and Client secret an plugged them into microsoftliveapi.php here...
private $clientid = '00000000XXXXXXXX';
private $clientsecret = 'XaRqcsdmhH5hk988v70W6t-XXXXXXXXX';
but I still cannot connect to SkyDrive.
Any suggestions on why this wont work?
I got that far as well. The error was...
"...Oops, there was a problem The provided value for the input parameter 'redirect_uri' is not valid. The domain of the provided redirect URI must match the domain of the redirect URI registered for this app..."
...does that match yours?
I know a school district tech who was actually intending to write his own plugin, and was confident he could find and fix the error in this one. I'm also going to have a go at it (though I'm definitely not a PHP guy, so if it's more than a URL swap, I'll prolly be in trouble). If either helps, will post back.
In the meantime, go vote on the tracker entry, and see if we can't get this wrapped into the full install.
The error I am getting is this...
"Oops, there was a problem
OK, I got the application working, I connect to my SkyDrive account but when I try to access a folder I get a message that says "Invalid JSON string"
Is your skydrive blocked by a url filter on your Moodle Server? I have had this happen with repositories, when the server does not have access to the website you are trying to access.
It seems to happen because repositories act as proxy servers via the Moodle Server IP address
I can tell you that my copy of this plugin is running flawlessly, and I've distributed it to others in my state with the same results. My only problem was a conflict between the Live app redirect URL and the URL of my current 2.2 install. Once corrected, things worked as billed.
Thanks a bunch for this! I do hope it gets wrapped into the full install, so I dont' have to handle it by hand as we upgrade.
I have the same issue:
"Oops, there was a problem
I'm so sorry to be slow. I'm just now getting my upgrade to 2.2 in place, and am again paying attention. What fixed it for me was an exact URL to the root of my moodle install, which, at that time, was NOT the root of my domain (it was ischool.fcps.net\ischool2). When I entered that, it worked.
However, after my initial excitement, it turns out I hadn't tested far enough -- it displays my cloud storage, allows me to select, spins as it processes, and creates the link...which is broken (404/file not found error). I'm just now pursuing this.
http://tracker.moodle.org/browse/MDL-30740?focusedCommentId=161978#comment-161978 says this is planned to be a part of 2.3's release. I'm hoping so. As posted above, I've found that the plugin does not work well. Of course, it might be that MS is the variable, but at this moment I have everything working 'cept for the created link is bogus.
I noticed the code in https://git.luns.net.uk/?p=moodle.git;a=shortlog;h=refs/heads/microsoft-skydrive (Dan references it) hasn't been updated since January...
The Microsoft Skydrive plugin won't be part of 2.3, but some of the infrastructure for it has gone in. I will release it as a contrib plugin for 2.3 soon in the modules and plugins database.
You can see this for yourself here: