Integrating magnets in a media archive

8 views
Skip to first unread message

Bigue Nique

unread,
Mar 4, 2005, 2:51:07 AM3/4/05
to bitpe...@googlegroups.com
Hello everyone from Bitpedia,

I've put much interest in the Bitzi project as soon as I discovered it.
I have no doubt that this open project, if it does not become an
international standard over time, will inspire new ways of doing
things.

I created a very basic media indexing system (The Fiat Jam Archive:
http://membres.lycos.fr/fiatjamarchive/) to manage recordings of shows
we organize periodically, in order to be able to verify availability
and localize files among our increasing archive.

I intend to pour this information in a database soon, so it would be
updatable from anywhere. I also planify to enable some sharing
features, so selected recordings would be easily available publicly.

Seeking around on the web for a way to generate the magnet: sha1 tag of
a file using PHP lead me almost nowhere. I've found a sha1() function
[www.php.net/sha1]. But the PHP sha1() returns a 40-characters hash
string, whilst we need a 32-characters hash string.

If anyone could give me some indication on how to process a file's
bitprint in PHP, I'd be glad to share my results with the Bitzi
community.

Bigue Nique
First executive, Fiat+/-Lux Media
http://www.geocities.com/fiatluxmedia

Gordon Mohr (@ Bitzi)

unread,
Mar 5, 2005, 6:21:38 PM3/5/05
to bitpe...@googlegroups.com
Hello, Bigue.

Thanks for your interest in Bitzi & Bitpedia!

A PHP utility which wraps the Bitcollider utility to bitprint files and
create magnet links, by Bitzi's Mike Linksvayer, is available at the URL:

http://gondwanaland.com/tmp/bitcollider-php/

It includes a PHP function, hex_to_base32($hex), which you could use
to convert SHA1 hex values from other functions (like PHP's sha1())
into RFC3548 Base32-encoding.

Hope this helps!

- Gordon @ Bitzi

rsrik...@gmail.com

unread,
Mar 6, 2005, 9:41:42 AM3/6/05
to bitpe...@googlegroups.com
Bigue Nique,
The Fiat Jam Archive is in French.
Is there an english version of the page?

rsrik...@gmail.com

unread,
Mar 6, 2005, 9:42:28 AM3/6/05
to bitpe...@googlegroups.com

Bigue Nique

unread,
Mar 6, 2005, 2:40:04 PM3/6/05
to bitpe...@googlegroups.com

No not yet. A bilingual version is gonna be available around August
2005. I'm gonna keep you in touch of any developments of my archive
system.

Thanks for your interest!

Bigue Nique
First Executive, Fiat+/-Lux Media
http://www.geocities.com/fiatluxmedia/

Reply all
Reply to author
Forward
0 new messages