WordRider Home
Welcome! Log In Create A New Profile

Advanced

questions on plug-in development

Posted by meow 
questions on plug-in development
February 07, 2010 07:39PM
Hi,

First of all, thanks for your work on Freerapid downloader. Recently I
am going to develop new plugins for a Chinese website tora.to
I have read all of your screencasts which are really awesome, and get
started to develop my own plugin.

So bascially, I'm testing with this web page
[tora.to] (Well it is in Chinese and Japanese,
but you can see the "quoted area" provides the downloadable files)
The problem is, each tora.to download page is providing a collection
of files available to download, instead of a single file.
So I wonder how to deal with this situation, is it possible for frd to
display a list for the user the choose the file? If it is, what
existing plugin could show how it works?

Thank you for checking my question :)


Meow

(seems that the info /at/ wordrider.com is rejecting my email, so I post here :) )
Re: questions on plug-in development
February 07, 2010 07:49PM
First - it's wordrider.net , not wordrider.com winking smiley

It's planned, but it's not possible yet, but every plugin is able to display any dialog to user you want.
getDialogSupport() allows this:

/**
     * Shows simple OK/Cancel dialog with given content of given container
     *
     * @param container   a container with SWING components to show
     * @param dialogTitle title for dialog
     * @return returns true, if user pressed OK button, false otherwise
     * @throws Exception if something went wrong or thread was interrupted
     */
    boolean showOKCancelDialog(Component container, String dialogTitle) throws Exception;
where container is eg. JPanel --> see some Netbeans Matisse tutorial on the web how to use it to create Panel with components

[www.youtube.com]

I expect you know Java Swing or Java at least.

-------------------------------------





Edited 3 time(s). Last edit at 02/07/2010 07:53PM by Vity.
Re: questions on plug-in development
February 07, 2010 08:01PM
Thanks for the prompt reply, and swing is ok to me ;)

Then if the user selects multiple files, could i add multiple download tasks within the runner class?
Re: questions on plug-in development
February 07, 2010 08:03PM
yes, this is in our FAQ in dev wiki [wordrider.net]

-------------------------------------

Re: questions on plug-in development
February 07, 2010 08:06PM
Thx! I would check it out.
Re: questions on plug-in development
February 07, 2010 08:25PM
What if the final download link is an authenticated ftp link?
I could only see get and post method in the API.
Re: questions on plug-in development
February 07, 2010 08:27PM
FTP is not supported

-------------------------------------

Re: questions on plug-in development
February 07, 2010 08:35PM
Are you planning on FTP support in the future? There are a few sites that use FTP (eg. GigaUp.fr).

Java might not support FTP by default but AFAIK there are 3rd party libraries available.
Re: questions on plug-in development
February 07, 2010 08:40PM
No, FTP means a lot of problems. I always planned it with HTTP support only.

-------------------------------------

Sorry, only registered users may post in this forum.

Click here to login