[Building Sakai] problem uploading .url files via webdav.
Steve Swinsburg
s.swinsburg at lancaster.ac.uk
Wed Jun 17 02:38:20 PDT 2009
AFAICT, the URL type resources are just files with the URL as the
content and mime type of text/url. In fact, uploading a file with
content of just a URL then setting the mime type in 'Edit Details' to
'text/url' causes the file to be opened in the browser and the link
followed. This was just a text file I created, but if you had the
correct mime type to start with when the file was uploaded, that might
work?
If there a standard for what the content of the .url files are meant
to be which is cross platform?
cheers,
Steve
On 17/06/2009, at 10:22 AM, Adam Marshall 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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090617/fc62c541/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/fc62c541/attachment.bin
More information about the sakai-dev
mailing list