Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Flickr repository: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(repository capabilities)
 
(11 revisions intermèdies per 7 usuaris que no es mostren)
Línia 1: Línia 1:
{{stub}}{{Moodle 2.0}}Location: ''Administration > Modules > Repositories > Manage repositories''
{{Repositories}}
The Flickr repository enables a user to log into their Flickr account and copy files from their account into any of the Moodle file interfaces.


[[Category:Repositories]]
==Flickr repository setup==
 
Location: ''Settings > Site administration > Plugins > Repositories > Manage repositories''
 
This page lets a site administrator configure access to a Flickr repository.
 
To set this repository up you need to set the following two fields:
*API Key
*Secret
 
==Setting up a Flickr API==
To get your API Key and Secret you need to create an App inside your Flickr account. Visit [http://www.flickr.com/services/api/keys/ this link] to start creating your own API Key and secret.
#Click the "Get Another Key" button to start creating your App. [[Image:get-another-key.png]]
#Choose "Apply for a Non-commercial Key"
#Enter a title and brief description for the App (i.e. Moodle to Flickr Access - App to allow Moodle to access Flickr through it's repository API)
#Tick the two boxes to show your agreement to Flickr's terms of use and then click submit.
#You will now have the key and secret for the new app. Copy and paste these into the fields in your Moodle Flickr configuration page.
#Click save on the Moodle Flickr configuration page.
#Revisit the settings of your Flickr repository in Moodle and copy the callback URL from that page.
#Revisit your Flickr App page and click on the "Edit Auth Flow for this App" link
#Paste the URL from your Moodle page into the Callback URL field on your Flickr App
#Click "Save Changes"
 
You should now have a working Flickr repository. Try adding a file from your Flickr account as a resource in Moodle to test it!
 
==Repository capabilities==
 
There is just one capability, [[Capabilities/repository/flickr:view|View Flickr repository]], which is allowed for the default authenticated user role.
 
==See also==
 
*[[Flickr public repository]]
 
[[Category:Site administration]]
 
[[eu:Flickr ezarpenak]]
[[de:Flickr Repository]]

Revisió de 09:52, 16 abr 2012

The Flickr repository enables a user to log into their Flickr account and copy files from their account into any of the Moodle file interfaces.

Flickr repository setup

Location: Settings > Site administration > Plugins > Repositories > Manage repositories

This page lets a site administrator configure access to a Flickr repository.

To set this repository up you need to set the following two fields:

  • API Key
  • Secret

Setting up a Flickr API

To get your API Key and Secret you need to create an App inside your Flickr account. Visit this link to start creating your own API Key and secret.

  1. Click the "Get Another Key" button to start creating your App. get-another-key.png
  2. Choose "Apply for a Non-commercial Key"
  3. Enter a title and brief description for the App (i.e. Moodle to Flickr Access - App to allow Moodle to access Flickr through it's repository API)
  4. Tick the two boxes to show your agreement to Flickr's terms of use and then click submit.
  5. You will now have the key and secret for the new app. Copy and paste these into the fields in your Moodle Flickr configuration page.
  6. Click save on the Moodle Flickr configuration page.
  7. Revisit the settings of your Flickr repository in Moodle and copy the callback URL from that page.
  8. Revisit your Flickr App page and click on the "Edit Auth Flow for this App" link
  9. Paste the URL from your Moodle page into the Callback URL field on your Flickr App
  10. Click "Save Changes"

You should now have a working Flickr repository. Try adding a file from your Flickr account as a resource in Moodle to test it!

Repository capabilities

There is just one capability, View Flickr repository, which is allowed for the default authenticated user role.

See also