[Building Sakai] Attaching files with no user interaction. Can it be done?

Tiago Gaspar tiagocgaspar at gmail.com
Fri Apr 10 17:18:59 PDT 2009


Hi again,

Sorry to insisit, i really need a way out...

any one?


On Sun, Apr 5, 2009 at 11:49 PM, Tiago Gaspar <tiagocgaspar at gmail.com>wrote:

> Hi,
>
>  I'm working on a sakai tool to record personal audio&video messages to be
> used in wikis, annoucements, blog, etc. It will allow the WYSIWYG editors
> like FCK and TinyMCE to display those flv files. The recorded messages
> should be stored as a archive available in Resources to ease referencing.
>
>  The flv files are stored in the media server (possibly in other machine).
> The problem is: How to take the flv file and upload it to Resources?
>
> I though of some options:
>
>    1. Using FilePicker Helper:
>    1. Make the flv folder in the media server accessible through Apache.
>       2. Set the upload Textfield URL in FilePicker Helper.
>       3. The user would just have to press the add button.
>    2. Attach files programmatically
>    1. Make the flv folder in the media server accessible through Apache.
>       2. Call a method to upload the file inside the logic of my tool.
>
> In the 1st approach the challenge is to set the Textfield with the
> appropriate URL. Can it be done through FilePicker Helper? This approach
> makes the URL visible to the user, which is not a very nice thing...
>
> The 2nd approach seems much better. But how can it be done? The Sakai
> documentation is very poor in this matter. Would I need to hack some code
> from the content project ?
>
> Thanks is advance,
>
> Tiago Gaspar.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090410/9f5c070c/attachment.html 


More information about the sakai-dev mailing list