Skip to main content
Skip table of contents

Connecting additional Content Sources

Adding additional content sources such as Pixabay or YouTube supports you users in creating better content.

In order to add an additional source:

  • Log in to edu-sharing as the administrator.
  • Use the left menu and select the "Admin-Tools".
  • Open the "APPLICATIONS" tab.
  • Here you will find a list containing all systems (both LMS and search sources) which have already been connected.


You can find an XML file upload functionality to easily set up new sources on the page.

We have attached two XML's as examples. In principle, the search services work in such a way that the XML data contains information about which services are to be used for the search.

It is important that you change the API key in these files (contact the respective provider).

You should also change the domain ("localhost") to your domain, so that there are no problems with the preview images.

Once uploaded you can also edit the files directly online to adjust on-the-fly settings using the little pen button in the corresponding line.

example "pixabay"

CODE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>pixabay as remote repo for search</comment>
<entry key="searchable">true</entry>
<entry key="auth_by_app_sendmail">false</entry>
<entry key="appcaption">pixabay</entry>
<entry key="appid">pixabay</entry>
<entry key="metadatasetsV2">mds_pixabay.xml</entry>
<!--
no authenticationwebservice, else redirect servlet does the wrong thing
<entry key="authenticationwebservice">http://127.0.0.1:8080/edu-sharing/services/authentication</entry>
-->
<!-- also an option but sends encrypted alfresco username at the moment:
<entry key="contenturl">http://www.youtube.com/watch</entry>
<entry key="nodeid_key">v</entry>
-->
<entry key="devmode">false</entry>
<entry key="is_home_node">false</entry>
<entry key="type">REPOSITORY</entry>
<entry key="repositorytype">PIXABAY</entry>
<entry key="searchclass">org.edu_sharing.repository.server.MCAlfrescoAPIClient</entry>
<!--entry key="authenticationtoolclass">org.edu_sharing.repository.server.AuthenticationToolYouTube</entry-->
<entry key="authenticationtoolclass">org.edu_sharing.repository.server.AuthenticationToolAPI</entry>
<entry key="searchService">org.edu_sharing.service.search.SearchServicePixabayImpl</entry>
<entry key="permissionService">org.edu_sharing.service.permission.PermissionServiceCCPublish</entry>
<entry key="nodeService">org.edu_sharing.service.nodeservice.NodeServicePixabayImpl</entry>
<entry key="trustedclient">false</entry>
<entry key="logo">/edu-sharing/images/logos/pixabay.png</entry>
<entry key="apikey">API-KEY</entry>
<entry key="domain">localhost</entry>
</properties>


example "YouTube"

CODE
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">

-<properties>

<comment>youtube as remote repo for search</comment>

<entry key="searchable">true</entry>

<entry key="auth_by_app_sendmail">false</entry>

<entry key="appcaption">youtube</entry>

<entry key="appid">youtube.com</entry>

<!-- no authenticationwebservice, else redirect servlet does the wrong thing <entry key="authenticationwebservice">http://127.0.0.1:8080/edu-sharing/services/authentication</entry> -->


<!-- also an option but sends encrypted alfresco username at the moment: <entry key="contenturl">http://www.youtube.com/watch</entry> <entry key="nodeid_key">v</entry> -->


<entry key="devmode">false</entry>

<entry key="is_home_node">false</entry>

<entry key="metadatasets">/org/edu_sharing/metadataset/metadatasets_default.xml</entry>

<entry key="password">xyz</entry>

<entry key="domain">localhost</entry>

<entry key="port">80</entry>

<entry key="repositorytype">YOUTUBE</entry>

<entry key="searchclass">org.edu_sharing.repository.server.MCAlfrescoAPIClient</entry>

<!--entry key="authenticationtoolclass">org.edu_sharing.repository.server.AuthenticationToolYouTube</entry-->


<entry key="authenticationtoolclass">org.edu_sharing.repository.server.AuthenticationToolAPI</entry>

<entry key="searchService">org.edu_sharing.service.search.SearchServiceYouTubeImpl</entry>

<entry key="permissionService">org.edu_sharing.service.permission.PermissionServiceCCPublish</entry>

<entry key="nodeService">org.edu_sharing.service.nodeservice.NodeServiceYouTube</entry>

<entry key="trustedclient">false</entry>

<entry key="type">REPOSITORY</entry>

<entry key="username">admin</entry>

<entry key="metadatasets">/org/edu_sharing/metadataset/metadatasets_youtube.xml</entry>

<entry key="metadatasetsV2">mds_youtube</entry>

<entry key="logo">/edu-sharing/images/logos/youtube.png</entry>

<entry key="apikey">API-KEY</entry>

</properties>



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.