Issue Details (XML | Word | Printable)

Key: MDL-16383
Type: Sub-task Sub-task
Status: Open Open
Priority: Minor Minor
Assignee: Dan Poltawski
Reporter: Dan Poltawski
Votes: 3
Watchers: 5
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-16543

Develop "googledocs" plugin for Google Docs

Created: 08/Sep/08 08:38 AM   Updated: 22/May/09 03:04 AM
Return to search
Component/s: Repository API
Affects Version/s: 2.0
Fix Version/s: 2.0

Issue Links:
Relates

Participants: Dan Poltawski, Dongsheng Cai, Helen Foster and Nadav Kavalerchik
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
I've had a quick go at creating a repository plugin:
http://git.danpoltawski.co.uk/?p=moodle.git;a=shortlog;h=refs/heads/googledocs

At the moment it can retrieve a list of files and search them.

Unfortunately it can't download to moodle yet - I think this will require sending extra headers with the get_file method.
It also doesn't do the api auth setup.

Overall I think the biggest issue is how to share between potfolio /repo api.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Poltawski committed 4 files to 'Moodle CVS' - 09/Mar/09 12:53 AM
repository/googledocs New repository plugin MDL-16383

Google have now allowed documents to be downloaded via their API
(http://googledataapis.blogspot.com/2009/02/start-downloads.html) so
the google docs repo plugin could be finished.

At the moment i've set the export format hardcoded, hopefully we can allow the
repo api let the user choose later...
MODIFY lib/googleapi.php   Rev. 1.6    (+48 -7 lines)
ADD repository/googledocs/repository.class.php   Rev. 1.1    (+0 -0 lines)
MODIFY repository/googledocs/icon.png   Rev. 1.1    (+0 -0 lines)
ADD lang/en_utf8/repository_googledocs.php   Rev. 1.1    (+0 -0 lines)
martignoni committed 1 file to 'Lang CVS' - 09/Mar/09 01:53 AM
MDL-16383 new lang file added
ADD fr_utf8/repository_googledocs.php   Rev. 1.1    (+0 -0 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 11/Mar/09 02:43 PM
"REPOSITORY, GDOCS/MDL-16383, tell filepicker gdocs support documents only"
MODIFY repository/googledocs/repository.class.php   Rev. 1.2    (+4 -2 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 25/Jun/09 03:44 PM
"MDL-16383, add check_login to construct function"
MODIFY repository/googledocs/repository.class.php   Rev. 1.5    (+2 -1 lines)