[Xerte-dev] Re: rss containing html5 links

Ron Mitchell ronm at mitchellmedia.co.uk
Mon Nov 19 12:12:16 GMT 2012


Well yes there are also rss links in workspace properties but for now I was
concentrating on the rss tab of LO properties e.g. when an author selects an
LO, clicks properties and visits the rss tab.

 

url_library is one of the files I updated but I haven't updated an .js files
- what js files need to be updated and why? Can you help with that Pat?

 

I've only made changes to my local .htaccess so far (attached as a txt file)
which is why I posed question 2.

 

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 19 November 2012 11:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: rss containing html5 links

 

Are they not in workspace properties?

if you update .htaccess , or htaccess.conf, you also need to update
url_library.php and one of the JS files

 

On Mon, Nov 19, 2012 at 11:58 AM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

Hi all

I've been testing how to have the rss feeds display html5 links instead of
flash links and have just committed some changes to enable this. 

 

I discovered something I never knew before last week that appending ?export
to the end of /rss.php changes the feed and links to show the LO's set for
the export feed. So now with the changes I've committed appending ?html5 (or
&html5 if there are other parameters like username and/or foldername)
changes the links to play the html5 version rather than flash version. I
think the RSS feeds become even more useful when it comes to mobile device
consumption.

 

I've uploaded these changes to the techdis install so for example:

 

Normal rss feed: http://vle.jisctechdis.ac.uk/xot/rss.php

HTML5 version http://vle.jisctechdis.ac.uk/xot/rss.php?html5

 

Likewise:

http://vle.jisctechdis.ac.uk/xot/rss.php?username=Ron_Mitchell

http://vle.jisctechdis.ac.uk/xot/rss.php?username=Ron_Mitchell
<http://vle.jisctechdis.ac.uk/xot/rss.php?username=Ron_Mitchell&html5>
&html5

 

and also:

http://vle.jisctechdis.ac.uk/xot/rss.php?username=Ron_Mitchell
<http://vle.jisctechdis.ac.uk/xot/rss.php?username=Ron_Mitchell&folder_name=
tests> &folder_name=tests

http://vle.jisctechdis.ac.uk/xot/rss.php?username=Ron_Mitchell
<http://vle.jisctechdis.ac.uk/xot/rss.php?username=Ron_Mitchell&folder_name=
tests&html5> &folder_name=tests&html5

 

This raises a couple of questions:

 

1. Should these links or at the very least instructions be displayed in the
RSS properties panel?

 

2. I've tested with apache set to true and had to obviously add additional
lines in the .htaccess. I looked at adding these changes to htaccess.conf in
the setup folder but that doesn't seem to have all the current links
required even without the additional lines required for html5. Has anyone
been keeping that up-to-date?

 

Cheers

Ron

 

 

 

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

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.



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121119/225dfd10/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: htaccess.txt
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121119/225dfd10/attachment.txt>


More information about the Xerte-dev mailing list