PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > Metalink (XML) library for Ruby?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Metalink (XML) library for Ruby?

Réponse
 
LinkBack Outils de la discussion
Vieux 05/01/2008, 23h22   #1
Anthony Bryan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Metalink (XML) library for Ruby?

Hi,

Would anyone be interested in working on a Metalink library for Ruby?
There's already one for PHP & Python (
http://code.google.com/p/metalink-library/ ).

Metalink is a simple XML format for describing downloads. Most
metalink files contain mirror lists/p2p (the various ways you can get
a file) and checksums (for file verification). They're frequently used
for large files like ISOs and also contain chunk checksums for
repairing downloads and other info. But they're also used by smaller
things like cURL, OpenOffice.org, podcasts, videos, and other stuff.

Close to 20 download programs support Metalink. There's more info at
http://en.wikipedia.org/wiki/Metalink

Here's an example ruby-1.8.6-p111.tar.gz.metalink (most would contain
more mirrors, and maybe a description):

Ruby 1.8.6-p111 (md5: c36e011733a3a3be6f43ba27b7cd7485)

<metalink version="3.0" xmlns="http://metalinker.org">
<files>
<file name="ruby-1.8.6-p111.tar.gz">
<verification>
<hash type="md5">c36e011733a3a3be6f43ba27b7cd7485</hash>
</verification>
<resources>
<url type="ftp" location="us"
preference="100">ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.gz</url>
</resources>
</file>
</files>
</metalink>

Thanks,
--
(( Anthony Bryan ... Metalink [ http://www.metalinker.org ]
)) Easier, More Reliable, Self Healing Downloads

  Réponse avec citation
Vieux 06/01/2008, 15h24   #2
Daniel Brumbaugh Keeney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Metalink (XML) library for Ruby?

On Jan 5, 2008 5:22 PM, Anthony Bryan wrote:
> Would anyone be interested in working on a Metalink library for Ruby?


Metalinks are very cool. There's some folks working on a wget
implementation in Ruby, and I had proposed they incorporate metalinks,
I don't think they've done that yet, maybe not ever. Some guy named
Dag Odenhall[1] looks started a project for this on sharesource[2],
but it doesn't appear to have anything done. I'm sorry I don't have
time to you in the near future.

Daniel Brumbaugh Keeney

[1]
http://sharesource.org/user/dag/
[2]
http://sharesource.org/project/metalink4r

  Réponse avec citation
Vieux 09/01/2008, 00h07   #3
Anthony Bryan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Metalink (XML) library for Ruby?

On Jan 6, 2008 10:24 AM, Daniel Brumbaugh Keeney
<devi.webmaster@gmail.com> wrote:
> On Jan 5, 2008 5:22 PM, Anthony Bryan wrote:
> > Would anyone be interested in working on a Metalink library for Ruby?

>
> Metalinks are very cool. There's some folks working on a wget
> implementation in Ruby, and I had proposed they incorporate metalinks,
> I don't think they've done that yet, maybe not ever. Some guy named
> Dag Odenhall[1] looks started a project for this on sharesource[2],
> but it doesn't appear to have anything done. I'm sorry I don't have
> time to you in the near future.
>
> Daniel Brumbaugh Keeney
>
> [1]
> http://sharesource.org/user/dag/
> [2]
> http://sharesource.org/project/metalink4r


Daniel, thanks a lot for the encouragement!

I hadn't known about metalink4r, even tho there was never a release
it's at least interesting to know that someone thought about doing it


If this seems like something that you'd be interesting in working on
later, please let me know. Or if you're just interested in metalinks,
we have a pretty low traffic discussion list at
http://groups.google.com/group/metalink-discussion , feel free to join
us.

--
(( Anthony Bryan ... Metalink [ http://www.metalinker.org ]
)) Easier, More Reliable, Self Healing Downloads

  Réponse avec citation
Vieux 09/01/2008, 16h29   #4
Rene Leonhardt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Metalink (XML) library for Ruby?

On 6 Jan., 00:22, Anthony Bryan <anthonybr...@gmail.com> wrote:
> Hi,
>
> Would anyone be interested in working on a Metalink library for Ruby?
> There's already one for PHP & Python (http://code.google.com/p/metalink-library/).


Hello Anthony,

I would like to porting my library to Ruby.
That would be a good way to learn it
But I would need someone to with the trickier parts at least:
- reading XML
- hash libraries (MD5, SHA-1, SHA-256, maybe ED2K)
- HTTP requests and responses including headers
- bin2ascii for creating and parsing BitTorrent

The Python code is a bit more than 2000 lines long and I would port
most of them.

Anyone interested?
  Réponse avec citation
Vieux 09/01/2008, 16h36   #5
Frederick Cheung
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Metalink (XML) library for Ruby?


On 9 Jan 2008, at 16:29, Rene Leonhardt wrote:

> On 6 Jan., 00:22, Anthony Bryan <anthonybr...@gmail.com> wrote:
>> Hi,
>>
>> Would anyone be interested in working on a Metalink library for Ruby?
>> There's already one for PHP & Python (http://code.google.com/p/metalink-library/
>> ).

>
> Hello Anthony,
>
> I would like to porting my library to Ruby.
> That would be a good way to learn it
> But I would need someone to with the trickier parts at least:
> - reading XML
> - hash libraries (MD5, SHA-1, SHA-256, maybe ED2K)
> - HTTP requests and responses including headers
> - bin2ascii for creating and parsing BitTorrent
>
> The Python code is a bit more than 2000 lines long and I would port
> most of them.


None of that's terribly difficult, I'd be happy to lend a hand (and I
wrote metalink support into an app on the mac, so I at least have a
vague idea of what's going on :-) )

Fred

  Réponse avec citation
Vieux 09/01/2008, 20h56   #6
Anthony Bryan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Metalink (XML) library for Ruby?

On Jan 9, 2008 11:29 AM, Rene Leonhardt <rene.leonhardt@googlemail.com> wrote:
> On 6 Jan., 00:22, Anthony Bryan <anthonybr...@gmail.com> wrote:
> > Hi,
> >
> > Would anyone be interested in working on a Metalink library for Ruby?
> > There's already one for PHP & Python (http://code.google.com/p/metalink-library/).

>
> Hello Anthony,
>
> I would like to porting my library to Ruby.
> That would be a good way to learn it
> But I would need someone to with the trickier parts at least:
> - reading XML
> - hash libraries (MD5, SHA-1, SHA-256, maybe ED2K)
> - HTTP requests and responses including headers
> - bin2ascii for creating and parsing BitTorrent
>
> The Python code is a bit more than 2000 lines long and I would port
> most of them.
>
> Anyone interested?


Rene, that would be great if you & Fred could collaborate.

I take it you've seen Fred's reply, he worked on Speed Download (a
cool and absolutely gorgeous download manager) from
http://www.yazsoft.com/

small world, didn't expect to run into both you guys here

--
(( Anthony Bryan ... Metalink [ http://www.metalinker.org ]
)) Easier, More Reliable, Self Healing Downloads

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h04.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,20335 seconds with 14 queries