[Xerte] Re: Question about published content and PHP - QR code page
Smith, John
J.J.Smith at gcu.ac.uk
Tue Apr 28 15:31:12 BST 2015
Hi Ron,
That probably means that it isn't working... is the console giving any errors at all? Or in the network tab (in console) are you getting any 404 errors or similar? It may take some time for the ajax call to timeout...
I don't think changes to xenith.js would do anything in this situation but I see that rss_proxy includes the config.php file so if anything has changed in there recently that could possibly have caused something to break...
Regards,
John Smith | Learning Technologist
Room A250, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
Please address ALL support requests to hlsblt at gcu.ac.uk where one of the School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 28 April 2015 14:16
To: 'Xerte discussion list'
Subject: [Xerte] Re: Question about published content and PHP - QR code page
Hi John
thanks for the suggestion.
Changing that line does get past the rssproxy errors but I'd still be keen
to find out exactly what actually changed to break this because it's been
working fine even recently. Good that it doesn't require rssproxy but the
other thing I can't spot at the moment is that if I change that line to
shorturl = "http://is.gd/api.php?longurl=" + pastedurl; it bypasses the
rssproxy error and displays the correct qr code but doesn't show the
shorturl above the qr code.
I compared the latest QRcode.html from develop with just this change made,
with a copy from my install where the qr code and short url are showing and
the only difference seems to be this changed line. Is there perhaps a recent
change in xenith.js affecting this?
Cheers
Ron
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 28 April 2015 12:59
To: Xerte discussion list
Subject: [Xerte] Re: Question about published content and PHP - QR code page
Hi Ron,
I don't know about any changes to rss_proxy so it should work but it is
mainly referenced from the flash engine and used because of cross site
issues.
Looking at the code for QR page though then it looks like rss_proxy is
simply adding another step that could be done by the ajax call...
Try changing this line:
shorturl = "rss_proxy.php?rss=http://is.gd/api.php?longurl=" + pastedurl;
to just this
shorturl = "http://is.gd/api.php?longurl=" + pastedurl;
I don't see why that shouldn't work... it works if you just paste it in a
browser...
Regards,
John Smith | Learning Technologist
Room A250, Govan Mbeki Building | School of Health & Life Sciences | Glasgow
Caledonian University Cowcaddens Road | Glasgow | G4 0BA
Please address ALL support requests to hlsblt at gcu.ac.uk where one of the
School Learning Technologists will pick up the job. This will ensure that
all jobs are completed as promptly as possible.
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 28 April 2015 11:45
To: 'Xerte discussion list'
Subject: [Xerte] Re: Question about published content and PHP - QR code page
Hi John
I'm just wondering if what you mention here is linked to an issue with the
QR code page I posted this morning on gitub.
e.g. the QR code page is now giving rssproxy errors. It seems like a recent
change has broken the QR code page. Existing and new projects with this page
break and give lots of rss proxy errors e.g.
Notice: Undefined property: stdClass::$proxy2 in rss_proxy.php on line 35
There are many more similar errors.
This must be due to a relatively recent change because the QR code page in
an online installation I've been updating and testing with still works but
the very latest code as of this morning doesn't. However I suspect the
change isn't to the QR model itself but elsewhere and I haven't spotted
where so far.
Ron
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 21 April 2015 12:23
To: Xerte discussion list
Subject: [Xerte] Re: Question about published content and PHP
Hi Pat,
We don't use the server to proxy RSS feeds any more for the RSS page. We use
the Google Feed API to return JSON
(https://developers.google.com/feed/v1/jsondevguide)
I'm pretty sure nothing now, other than user input, hardcoded urls, goes
back to the server from an exported HTML5 LO...
Regards,
John Smith | Learning Technologist
Room A250, Govan Mbeki Building | School of Health & Life Sciences | Glasgow
Caledonian University Cowcaddens Road | Glasgow | G4 0BA
Please address ALL support requests to hlsblt at gcu.ac.uk where one of the
School Learning Technologists will pick up the job. This will ensure that
all jobs are completed as promptly as possible.
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley (Pgogy)
[info at pgogywebstuff.com]
Sent: 21 April 2015 12:05
To: Naveed.Hashmi at bristol.ac.uk
Cc: Xerte discussion list
Subject: [Xerte] Re: Question about published content and PHP
Exported content may via APIs and the RSS feed page go back to an install on
a server
On 2015-04-21 11:51, Naveed Hashmi wrote:
> I mean the actual content that is accessible to users, not the
> publishing process.
>
> I think embedded content needs PHP, i.e. the php player, but content
> exported as SCORM does not. I doubt either need to make calls to the
> database via php.
>
> Thanks.
>
> On 21 April 2015 at 11:42, Pat Lockley (Pgogy)
> <info at pgogywebstuff.com> wrote:
>
>> By published - you mean "made public and the published button has
>> been clicked"?
>> Else my last answer is wrong
>>
>> Published by clicking on publish still means the playing on a project
>> uses PHP to decide various things, and in doing so uses the database
>> as well
>>
>> On 2015-04-21 11:36, Naveed Hashmi wrote:
>>
>> A related question, if the database 'crashes', will this affect any
>> published content?
>>
>> Thanks.
>>
>> On 21 April 2015 at 11:30, Pat Lockley (Pgogy)
>> <info at pgogywebstuff.com> wrote:
>>
>> It shouldn't do, bar the API calls / RSS feeds?
>>
>> On 2015-04-21 11:26, Naveed Hashmi wrote:
>>
>> Hi,
>>
>> Newbie question : I assume the published content (HTML5) does not
>> make calls to the application server (re: PHP), is this correct?
>>
>> Naveed
>>
>> 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 mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte [1] [1]
>>
>> --
>> Pgogy Webstuff
>> pgogywebstuff.com [2] [2]
>
> Links:
> ------
> [1] http://lists.nottingham.ac.uk/mailman/listinfo/xerte [1] [2]
> http://pgogywebstuff.com [2]
>
> --
> Pgogy Webstuff
> pgogywebstuff.com [2]
>
>
>
> Links:
> ------
> [1] http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> [2] http://pgogywebstuff.com
--
Pgogy Webstuff
pgogywebstuff.com
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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.
Glasgow Caledonian University is a registered Scottish charity, number
SC021474
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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 mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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.
Glasgow Caledonian University is a registered Scottish charity, number
SC021474
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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 mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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.
Glasgow Caledonian University is a registered Scottish charity, number SC021474
More information about the Xerte
mailing list