[p2p-hackers] DTD for hashed files

larytet.8753341 at bloglines.com larytet.8753341 at bloglines.com
Wed Apr 13 16:26:59 UTC 2005


i can't find DTD 
this link 
http://open-content.net/spec/thex/thex.dtd

does not exist (error 404)
May you point me to the DTD file or just send
me the file
thank you


--- Peer-to-peer development." <p2p-hackers at zgp.org
wrote:
You might want to look at what we did for THEX, the format has served
us
> quite well:
> 
> http://www.open-content.net/specs/draft-jchapweske-thex-02.html

> 
> By the way, we're ditching DIME for multi-part MIME for bundled THEX

> files.
> 
> -Justin
> 
> On Mon, 2005-04-11 at 02:51 +0000, larytet.8753341 at bloglines.com
wrote:
> > I am looking for DTD describing files/folders + MD5/SHA-1 hashes
+ block hashes
> > 
> > Is anybody aware of existing DTDs. 
> > thanks

> > 
> > 
> > This is what i am looking
> > for (rough idea)
> > <?xml
version='1.0' encoding='utf-8'?>
> > 
> > <!DOCTYPE rodiFile
> > [
> >
  ELEMENT rodiHash (file, folder)+
> > 
> >   ELEMENT file (blocks)
> >
 
> > ATTLIST file 
 >      name CDATA #REQUIRED
> >      size CDATA #REQUIRED

> >   
> >   blockSize CDATA #REQUIRED
> >      blocksNumber CDATA #REQUIRED

> >      hashType
> > (md5|sha1) "md5" #REQUIRED
> >      hash CDATA #REQUIRED

> >      modified CDATA
> > #IMPLIED
> >   >
> > 
> >   ELEMENT blocks
(block+)
> >   ATTLIST blocks hashType
 > (md5|sha1) "md5">
> > 
> > 
 ELEMENT block (#CDATA)
> >   ATTLIST block index
 > CDATA #REQUIRED>
>
> ]>
> > 
> > <rodiHash>
> >   <file name="C:\arkady\CVSROOT\rodi_0.3.04.zip"

> > modified="6:29 PM 4/9/2005" size="566944" blockSize="4194304" blocksNumber="1"

> > md5="56675f2303d5087e80f3aea757a37d45">
> >     <blocks type="md5">

> >       <block
> > index="0">56675f2303d5087e80f3aea757a37d45</block>

> >    </blocks>
> >   </file>
> > 
> > </rodiHash>
> > 
> > _______________________________________________

> > p2p-hackers mailing list
> > p2p-hackers at zgp.org
> > http://zgp.org/mailman/listinfo/p2p-hackers

> > _______________________________________________
> > Here is a web page
listing P2P Conferences:
> > http://www.neurogrid.net/twiki/bin/view/Main/PeerToPeerConferences

> -- 
> Justin Chapweske <justin at chapweske.com>
> 
> _______________________________________________

> p2p-hackers mailing list
> p2p-hackers at zgp.org
> http://zgp.org/mailman/listinfo/p2p-hackers

> _______________________________________________
> Here is a web page listing
P2P Conferences:
> http://www.neurogrid.net/twiki/bin/view/Main/PeerToPeerConferences

> 



More information about the P2p-hackers mailing list