Its also important to note that there are two versions of the Metalink
XML format.  There is version 3 and the newest, RFC 5854 or version 4.
Most clients support version 3.  This should not be a big deal though,
both formats contain mostly the same information so your data structures
can be the same, just the parsing is different.

Neil

On 7/29/2011 4:24 AM, Hampus Wessman wrote:
> Hi Varun,
> 
> welcome to the metalink project!
> 
> I agree with everything Neil wrote below. Here are a few more links to
> interesting metalink projects. Have a look at existing clients and
> libraries and then decide how to do it. This could require quite a bit
> of work so don't make it harder than necessary. I would aim for
> something very simple to begin with. Perhaps you could start by porting
> a Metalink library (loading and saving Metalink files) to Java, as you
> will likely need that later.
> 
> First some "advertising" :) For some basic metalink loading/saving you
> could have a look at my new Metalink Editor 2 source code:
> https://github.com/hampus/metalink-editor. It's a work in progress and
> right now I'm involved in other things, so there's not happening much
> (unfortunately; eventually I'll finish it...). Feel free to fork the
> project and finish or extend it, by the way! There is room for more than
> one editor even... That's just an alternative idea. I could help out a
> bit there too.
> 
> Also have a look over at SourceForge (as Neil already said), where
> you'll find the source code for several interesting metalink projects:
> http://metalinks.svn.sourceforge.net/viewvc/metalinks/. In particular, I
> also think Neil's Metalink Checker could be interesting.
> 
> There are also two metalink libraries: libmetalink
> (https://launchpad.net/libmetalink) and metalink-library
> (http://code.google.com/p/metalink-library/).
> 
> Finally, for a full-blown metalink download client I recommend that you
> have a look at aria2 by Tatsuhiro. It's rather big and complicated
> AFAIK, because it supports a lot of things. You may not want to port all
> that to Java ;) It's one of the best download clients, though. Tatsuhiro
> can tell you more about this...
> 
> There are a couple of open source GUI download clients that support
> Metalinks too, but I'm not sure which is best to look at there.
> 
> Hampus
> 
> 
> On 2011-07-29 09:03, Varun Agrawal wrote:
>> I would like to port an existing metalink client to Java.
>> I feel it would be great to start slow, get my feet wet before diving
>> in, by getting a feel for the software.
>> Now what should I do? Any links to the source code of an existing client?
>>
>> On 29 July 2011 04:10, Neil M. <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>     OK great there are a few approaches you can pick from:
>>
>>     1. Port an existing Metalink Client to Java.  This might be more work
>>     than necessary but easier than starting from scratch.
>>
>>     2. Use an existing Java Metalink client and turn it into a simple Java
>>     Applet.  This is probably easiest but you will probably need to rework
>>     or simplify the GUI and pull out extra code that isn't needed.
>>      Phex is
>>     a candidate for this.
>>
>>     3. Use an existing metalink library in another language that has a
>>     Java
>>     implementation.  I've already started with my Python program Metalink
>>     Checker and Jython as noted on the link I sent you.  This requires
>>     optimization for it to be really useful.
>>
>>     4. Start with a generic Java download client and add Metalink support.
>>     I've already started doing this with DLApplet.  It lacks the
>>     robustness
>>     features that make Metalink really useful like multi-threaded download
>>     and checksum support.  You might look into JDownloader for this and
>>     every use it to replace what I've already done.  You could also
>>     combine
>>     option 1 with this.
>>
>>     DLApplet in action:
>>
>>     http://www.nabber.org/projects/metalink/dlapplet/
>>
>>     The source code is here:
>>
>>     http://metalinks.svn.sourceforge.net/viewvc/metalinks/dlapplet/
>>
>>     The Metalink Checker source code is here.  This is a Python client
>>     I've
>>     written, it supports most Metalink features so it could be a good
>>     reference.
>>
>>     http://metalinks.svn.sourceforge.net/viewvc/metalinks/checker/
>>
>>     Neil
>>
>>     On 7/28/2011 7:04 AM, Varun Agrawal wrote:
>>     > The Browser Based Metalink Download Client would be a good start.
>>     > However I am not familiar with Python and I may need extensive
>>     guidance
>>     > on tackling this problem.
>>     > However, with the right memtoring, I am sure I will be able to
>>     complete
>>     > this very well.
>>     >
>>     > Any other ideas for me to start on would be great!
>>     >
>>     > On 27 July 2011 22:55, Neil M. <[email protected]
>>     <mailto:[email protected]>
>>     > <mailto:[email protected] <mailto:[email protected]>>> wrote:
>>     >
>>     >     Hi Varun, welcome to the project.  I suggest you take a look
>>     at our
>>     >     Google Summer of Code Ideas to see all of the possiblities
>>     of what can
>>     >     be done, it might be a little out of date but for the most
>>     part it
>>     >     should be accurate.
>>     >
>>     >    
>>     https://groups.google.com/group/metalink-discussion/web/gsoc-ideas?pli=1
>>     >
>>     >     Given your interest in Java may I suggest a couple that I've
>>     been
>>     >     wanting to do for a while, "Browser Based Metalink Download
>>     Client" or
>>     >     "High Definition video downloads made faster/error free with
>>     Metalinks."
>>     >      Its quite possible you might not be ready to tackle those
>>     though and
>>     >     would be better of just starting fresh on something else.
>>      Let me know
>>     >     what you think is a good fit for you.  If you want a little more
>>     >     guidance we can come up with specific tasks/features for you
>>     to do.
>>     >
>>     >     Most of the source code for these projects is hosted at
>>     >     sourceforge.net <http://sourceforge.net>
>>     <http://sourceforge.net>:
>>     >
>>     >     http://sourceforge.net/projects/metalinks/
>>     >
>>     >     Anyone can checkout so I suggest you get familiar with how
>>     subversion
>>     >     works if you aren't already.
>>     >
>>     >     Neil
>>     >
>>     >     On 7/27/2011 5:56 AM, Varun wrote:
>>     >     > Hello.
>>     >     >
>>     >     > I am an undergraduate student studying computer science
>>     and I am
>>     >     > interested in working in your Open Source projects.
>>     >     > I have fairly good experience with Java, C++ and Internet
>>     technologies
>>     >     > with a desire to learn more and use them in an actual
>>     development
>>     >     > environment.
>>     >     >
>>     >     > I read about you from TeachingOpenSource.org.
>>     >     >
>>     >     > I am, however, new to Open Source project development thus
>>     I am
>>     >     > seeking a mentor and an opportunity to present my skills
>>     and make
>>     >     > valuable contributions to your projects.
>>     >     >
>>     >     > Thanking you.
>>     >     >
>>     >     > --
>>     >     > Varun Agrawal
>>     >     >
>>     >     > B.Tech-III
>>     >     > Computer Science and Engineering
>>     >     > National Institute of Technology
>>     >     > Surat, India.
>>     >     >
>>     >
>>     >     --
>>     >     You received this message because you are subscribed to the
>>     Google
>>     >     Groups "Metalink Discussion" group.
>>     >     To post to this group, send email to
>>     >     [email protected]
>>     <mailto:[email protected]>
>>     >     <mailto:[email protected]
>>     <mailto:[email protected]>>.
>>     >     To unsubscribe from this group, send email to
>>     >     [email protected]
>>     <mailto:metalink-discussion%[email protected]>
>>     >     <mailto:metalink-discussion%[email protected]
>>     <mailto:metalink-discussion%[email protected]>>.
>>     >     For more options, visit this group at
>>     >     http://groups.google.com/group/metalink-discussion?hl=en.
>>     >
>>     >
>>     >
>>     >
>>     > --
>>     > Varun Agrawal
>>     >
>>     > B.Tech-III
>>     > Computer Science and Engineering
>>     > National Institute of Technology
>>     > Surat, India.
>>     > About Me <http://www.about.me/varunagrawal>
>>     > computerCalledVarun <http://computercalledvarun.wordpress.com/>
>>     >
>>     > --
>>     > You received this message because you are subscribed to the Google
>>     > Groups "Metalink Discussion" group.
>>     > To post to this group, send email to
>>     [email protected]
>>     <mailto:[email protected]>.
>>     > To unsubscribe from this group, send email to
>>     > [email protected]
>>     <mailto:metalink-discussion%[email protected]>.
>>     > For more options, visit this group at
>>     > http://groups.google.com/group/metalink-discussion?hl=en.
>>
>>     --
>>     You received this message because you are subscribed to the Google
>>     Groups "Metalink Discussion" group.
>>     To post to this group, send email to
>>     [email protected]
>>     <mailto:[email protected]>.
>>     To unsubscribe from this group, send email to
>>     [email protected]
>>     <mailto:metalink-discussion%[email protected]>.
>>     For more options, visit this group at
>>     http://groups.google.com/group/metalink-discussion?hl=en.
>>
>>
>>
>>
>> -- 
>> Varun Agrawal
>>
>> B.Tech-III
>> Computer Science and Engineering
>> National Institute of Technology
>> Surat, India.
>> About Me <http://www.about.me/varunagrawal>
>> computerCalledVarun <http://computercalledvarun.wordpress.com/>
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Metalink Discussion" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/metalink-discussion?hl=en.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Metalink Discussion" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/metalink-discussion?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Metalink Discussion" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/metalink-discussion?hl=en.

Reply via email to