[Xerte-dev] Re: Youtube RSS
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Thu Jul 16 12:53:00 BST 2015
Admins add their keys to api_keys.php which keeps them safe.
Admins can either allow users to take their keys with their content (we wouldn't allow that) or ask users to get their own key: they can add it directly to youtuberss.html. That's not a decision we can make for them.
Embedding it directly doesn't work very well (the you tube pages are not responsive) so I've gone off that idea, but that is also an option for end users wanting exportable content.
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 16 July 2015 12:26
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Youtube RSS
So will or can the code as it is work if a key is added to the model file and the lo then exported?
e.g. instructions for admins:
1. To make the YouTube and Flickr feed pages work from an online installation add your own api keys to api_keys_dist.php and save as api_keys.php
2. To ensure that the YouTube and Flickr feed pages work when any LO's are exported also add your keys to the youtuberss.html and flickr.html models.
Be sure to take copies or repeat this step when upgrading in future.
Not ideal but that would suffice for this release I think.
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 16 July 2015 12:05
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Youtube RSS
Need to settle on a solution here. I'm thinking that we should stick with what we have in place to use the API when used on an install. If users want to create exportable content then they have two options: get their own youtube key and add it to the model file, or use the embed page and embed youtube search results directly.
What do you guys think?
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
(Pgogy)
Sent: 13 July 2015 15:42
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Youtube RSS
Get the JS to make a check for the API key, if API key not found, do iframe?
On 2015-07-13 09:03, Julian Tenney wrote:
> You could fix them by embedding the page. It's easy to construct the
> url to embed from the search parameters:
>
> https://www.youtube.com/results?search_query=xerte
>
> and then just make an iframe out of that.
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron
> Mitchell
> Sent: 13 July 2015 13:58
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: Youtube RSS
>
> Wouldn't we need an api key for that? ;-)
>
> Isn't the point that if we can we need to fix all the broken LO's
> currently using the feed page or at least any linked from a fixed
> installation.
>
> I think enabling the feed page to work when exported is a slightly
> different concern although ideally that should work too.
>
> Obviously an OER exported and imported into another Xerte install will
> use the key of that new install.
> An exported LO for offline use would need online access anyway.
> An LO exported for use via import into a vle seems like the most
> common export where this would currently be a problem.
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian
> Tenney
> Sent: 13 July 2015 13:36
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Youtube RSS
>
> Thinking differently, why don't we just embed the youtube search page
> and forget about the API calls?
>
>
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
> Lockley
> (Pgogy)
> Sent: 13 July 2015 13:28
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Youtube RSS
>
> Exported is a sort of context neutral reuse, with an OER it is any use
> you feel like doing under the license.
> I may plausibly just want the youtube page and nothing else, and then
> to get other feeds as well.
>
> If I have something which uses a key I basically take a punt on how
> much it will be used and how techie the reusers are.
>
> The phoning home makes sense, would make setting up a server easier as
> well (what would stop someone creating a youtube page is the key
> wasn't set up?)
>
> On 2015-07-13 08:17, Julian Tenney wrote:
>> Not sure what you mean?
>>
>> The key is going to bind the content to an owner. I wouldn't let my
>> personal key get passed around, nor would I let any keys associated
>> with UoN. I'm not sure it's risky, but it just doesn't feel right as
>> the use of it is tracked and we would lose control over what it's
>> being used for.
>>
>> All I can think is that the content reaches back to its mothership
>> for the key somehow: the youtube rss functionality will need internet
>> connectivity anyway, but it still makes me a bit uneasy.
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>> Lockley (Pgogy)
>> Sent: 13 July 2015 13:08
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Youtube RSS
>>
>> On 2015-07-13 05:10, Julian Tenney wrote:
>>> OK. It's basically working though, if it wants tweaking a bit to
>>> line up with the existing code that's fine.
>>>
>>> Do you think it would be acceptable if you had to add your own key
>>> to make an exported file work? I can't think of another way: we
>>> can't use a generic 'xerte project' key, and as an institution I
>>> would be uneasy with an exported piece taking my key with it: god
>>> knows where it might end up or what it might be used for.
>>
>> What if it becomes an OER though?
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>>
>>
>> This message and any attachment are intended solely for the addressee
>> and may contain confidential information. If you have received this
>> message in error, please send it back to me, and immediately delete
>> it.
>>
>> Please do not use, copy or disclose the information contained in this
>> message or in any attachment. Any views or opinions expressed by the
>> author of this email do not necessarily reflect the views of the
>> University of Nottingham.
>>
>> This message has been checked for viruses but the contents of an
>> attachment may still contain software viruses which could damage your
>> computer system, you are advised to perform your own checks. Email
>> communications with the University of Nottingham may be monitored as
>> permitted by UK legislation.
>
> --
> Pgogy Webstuff
> pgogywebstuff.com
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete
> it.
>
> Please do not use, copy or disclose the information contained in this
> message or in any attachment. Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
>
> Please do not use, copy or disclose the information contained in this
> message or in any attachment. Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
--
Pgogy Webstuff
pgogywebstuff.com
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
More information about the Xerte-dev
mailing list