Re: NZB to queue.xml transformation

Evzen Polenka <[email protected]> Tue, 04 Sep 2007 15:26:18 +0200
Newsgroups gmane.network.bnr
Message-ID <[email protected]>
On 4.9.2007 14:22, Stormblade wrote:

> If no one else does it I can. It possibly won't be until after this week.
> Got a huge project that is going to be demo'd this week and its still got
> some work left. It shouldn't be too hard though.

That would be great! Both formats are not complex at all, so it really 
should be easy for someone with decent XML/XSLT knowledge. I'm just 
beginner, so it would be a challenge for me :-P.

> I've not looked into the format of the queue.xml or the NZB formats so
> that'll take me a little bit of reading. I'm assuming that the NZB format
> is XML so I just need to know the document structure so that I can get at
> the information I need and spit out the correct document formation for
> the queue

The NZB structure is described at 
http://docs.newzbin.com/index.php/Newzbin:NZB_Specs
The queue.xml structure is described at page 130 of BNR Advanced User's 
Guide ( http://www.bnr2.org/BNRAdvancedUsersGuide(beta14.0).pdf )

Since the queue.xml contains also some info about used servers, it won't be 
possible to convert just and only the NZB data, but it will require some 
sort of "external input" as well. But that can be sorted out by either 
command line parameters, or by reading this info from an external 
configuration file.
Either way, I believe it will be still quite easy task... and a very nice 
step towards BNR (semi)automation.

After all, the same thing can be then implemented directly in BNR and make 
it read NZBs from command line.

-- 
	Bye, Evzen


Important Addresses:
Post message: [email protected]
Group owner:  [email protected]
BNR homepage: http://www.bnr2.org/
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/bnr1/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/bnr1/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/