Wednesday, January 17, 2007

nzb support for KDE

A few days ago I hacked a very simple plugin for KDE to provide support for .nzb files meta-information. It is a small kfile-plugin which I based on mpyne's torrent plugin (only mine is much, much simpler since the file itself is a simple xml)

It also meant that I created a small .desktop file to create the application/x-nzb mimetype so nzb file actually gets recognized as such by konqueror.

I basically took the nzb xml parser from klibido and adjusted it to parse only the info needed. It's not fast or optimized but I don't think it needs to be. The following (meta) information is retrieved from the file:
  • Number of files
  • Total Size
  • Oldest File
  • Group(s)
Here is a screenshot: wooooohaa.



I'll be commiting those changes in trunk/kdenetwork/kfile-plugins in the next days.

What are NZB files?
.nzb are "NewzBin Usenet Index" file. They are meant to reference usenet posting. Good tools for linux that supports nzb files are KLibido, nzbperl and hellanzb.

What's next?
Hopefully, support for those files in KNode as well as KGet... (?)

6 comments:

eMPee said...

>The following (meta) information is retrieved from the file: [...]
> Oldest File
that's kinda clever actually.. you can sort out the ones your news provider has already thrown away anyways..
++

Anonymous said...

do you know what would be really cool:
when you open an nzb file in Konqueror, the nzb behaves as if it is a directory. Konqueror will show the contents of this directory: Children directories with the name(s) of the newsgroup(s) the NZB refers to. When the user clicks on it, the files are visible,as if these are files on the users computer. The user can then simply copy the files to another directory. In the background, the files will be downloaded from the newsserver and the segments are merged. (And if needed, par2 is executed)

Anonymous said...

Howdy,

When ever I surf on web I never forget to visit this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]Lots of good information here namshub-kde.blogspot.com. I am sure due to busy scedules we really do not get time to care about our health. Let me present you with one fact here. Research displays that nearly 50% of all U.S. grownups are either chubby or overweight[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] Hence if you're one of these individuals, you're not alone. In fact, most of us need to lose a few pounds once in a while to get sexy and perfect six pack abs. Now the question is how you are planning to have quick weight loss? [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss[/url] is really not as tough as you think. Some improvement in of daily activity can help us in losing weight quickly.

About me: I am author of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also health expert who can help you lose weight quickly. If you do not want to go under painful training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for effortless weight loss.

viagra online said...

I basically took the nzb klibido xml parser and set to scan only the necessary information. It is not fast or optimized but I do not think it necessary. The following (meta) information is retrieved from the archive:

* Number of files
* Total Size
* Oldest Archive
* Group (s)

eco travel agency costa rica said...

Hi buddy, firstly I would like to send greetings to all readers then I think that this information is amazing and very entertainment information, I was looking information about nzb support for KDE, and this information is very professional and I would like to have any update about, thanks for sharing!!

free mother daughter incest stories said...

Have you noticed your daughter acting strange lately. He sucked my nipples like they were thesweetest fruits.
sexy shaving stories
free cuckold porn stories
taboo lil pissing stories
bondage and sadism stories
sex stories young teens
Have you noticed your daughter acting strange lately. He sucked my nipples like they were thesweetest fruits.