[Building Sakai] problem uploading .url files via webdav.

Steve Swinsburg s.swinsburg at lancaster.ac.uk
Wed Jun 17 02:49:00 PDT 2009


You 'could' use a HTML file as your redirect but makes updating them  
tricky. To do this from Java you could just use a StringBuilder and  
append chucks of text then write it to a file.


cheers,
Steve

On 17/06/2009, at 10:45 AM, Dominic Bombace wrote:

> One simple solution i came up with was to create a .html redirector  
> file and upload that then your all set sakai knows what to do  
> with .html, unfortunately i'm having a tricky time creating these  
> with my java app, looking at HTMLWriter class but having some  
> trouble, anybody know a painless way in java to just create that  
> small redirector html file like this one?
>
> <head>
> <meta http-equiv="Refresh" content="5; url=https://www.server.com/vid.wmv 
> ">
> </head>
>
> On Wed, Jun 17, 2009 at 9:22 AM, Adam Marshall <adam.marshall at oucs.ox.ac.uk 
> > wrote:
> We wanted to put the weblinks in a zip file which is then uploaded  
> and expanded from within the resources tool. The zip file is in fact  
> an IMS CP generated by our old VLE.
>
>
> Adm
>
>
> From: Steve Swinsburg [mailto:s.swinsburg at lancaster.ac.uk]
> Sent: 17 June 2009 10:11
> To: Adam Marshall
> Cc: sakai-dev at collab.sakaiproject.org
> Subject: Re: [Building Sakai] problem uploading .url files via webdav.
>
>
> What about the 'Add Web Links (URLs)' in Resources already? That  
> creates a resource which redirects to the actual URL.
>
>
> cheers,
>
> Steve
>
>
>
> On 17/06/2009, at 10:01 AM, Adam Marshall wrote:
>
>
>
> We’d be interested if you find out how to do this.
>
>
> We want to do a similar thing, ie, create “a file” that’s a URL link  
> and upload into Resources. After a bit of experimentation, we  
> figured that the file doesn’t actually contain the URL and must be  
> (something like) a pointer to a database entry that specifies the URL.
>
>
> Adam
>
>
> From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org 
> ] On Behalf Of Dominic Bombace
> Sent: 17 June 2009 06:41
> To: sakai-dev at collab.sakaiproject.org
> Subject: [Building Sakai] problem uploading .url files via webdav.
>
>
> I'm connecting sakai to a data server have made a java ap to spider  
> the server and create directories and links to the server content  
> via webdav..problem is the .url links don't work from within  
> resources, if you click them they have to be downloaded and then  
> they are working .url links. Any ideas on this?
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090617/9fa48cd2/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090617/9fa48cd2/attachment.bin 


More information about the sakai-dev mailing list