🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64471

Re: xBin file set message format?

#64471
From: Curt Welch
Date: Thu, 20 Mar 2003 22:38
54 lines
3814 bytes
"Chris" <nobody@rogers.com> wrote:
> I've been hacking up ypost so that it will generate xBin headers, and I
> realized that I didn't know how to generate file set messages.  Was there
> some format that had been agreed upon?  I was thinking of just putting
> ~XB~T1 or something like that in the Message-ID: header, and then listing
> the root hash of each file in the set on its own line in the message
> body.

No work at all has been done on the file format as far as I know.

If the file is official marked in the message-id however, we need to define
a file format.

What it must have is the list if xBin IDs (I'd argue that the root hash
alone really isn't right because the file size should be included as well).
I wanted to estabish that the "file id" all through the xBin "system" was
thought of as not just the root hash but the root hash + the file size.
This is most important to allow more effective bits in the Message-Ids
without having to use a full root hash in the Message-Id, but generally
seems useful throught the system to give us more effective "bits" to
identify files with and reduce the probability of collisions for large time
periods and large file sets.

But, in addition to the file-id, there are lots of reasons where you want
to include a lot more meta-data about the file - and that is very likely to
change from application to application.  The most obvious is a file name,
but other data like the mime type, is also very useful for a broad range of
applications.  And for backward compatiblity with things like csf files,
having other CRC or hash values like an MD5 if the file will be both useful
and important.  Text descriptions of the files are important (bascily the
stuff you would find in a subject line for a normal post), and general
"set" descriptions are good.

Then there's all sorts of more application specific meta data that would be
niec to include in thes files, like for jpgs, you can include the pixel
size of the image.  For mp3 files the encoding rate as well as artist, etc.

So, a general purpose format that would allow applications to add extra
meta data at will, but have the well known meta data (like filename, xBin
ID, mime time, description) well defined so they will work across all
appliations, would be important.

I was thinking some type of XML format would be a way to go, but I know
very little about how XML stuff is actually defined so I'd have to study
that more to really get a feel for how you define that.

> I have an xBin C library pretty much complete if anybody is interested.

Cool.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030320173815.800$rX@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!news-out.visi.com!petbe.visi.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <pan.2003.03.20.22.19.07.174671@rogers.com>

Show Full Headers
Complete Article Headers
Message-ID: <20030320173815.800$rX@newsreader.com>
Subject: Re: xBin file set message format?
Date: Thu, 20 Mar 2003 22:38:15 +0000
From: curt@kcwc.com (Curt Welch)
References: <pan.2003.03.20.22.19.07.174671@rogers.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!news-out.visi.com!petbe.visi.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com S_8M.A_qCUAcBuXq90NgB=RFPuj0NYDnS@nI_VxSs5KOfnev
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 53