Evzen Polenka | 1 Sep 2007 14:50
Picon

NZB to queue.xml transformation

Hello all,

I was just wondering if someone with XSLT skills has already created a 
transformation from NZB to BNR's queue.xml format.

It could be used for semi-automated downloads (until a support for reading 
NZB files from command line is added).

-- 
	Bye, Evzen

Important Addresses:
Post message: bnr1 <at> yahoogroups.com
Group owner:  bnr1-owner <at> yahoogroups.com
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:bnr1-digest <at> yahoogroups.com 
(Continue reading)

Lenny_Nero | 3 Sep 2007 00:59
Picon
Favicon

Re: NZB to queue.xml transformation

Evzen Polenka said

> Hello all,
> 
> I was just wondering if someone with XSLT skills has already created a
> transformation from NZB to BNR's queue.xml format.
> 
> It could be used for semi-automated downloads (until a support for
> reading NZB files from command line is added).

Why ?

Is it too hard to load them in by hand ???

L.

--

-- 
Want to help to keep the best free usenet servers running ?
http://www.readfreenews.com

Important Addresses:
Post message: bnr1 <at> yahoogroups.com
Group owner:  bnr1-owner <at> yahoogroups.com
BNR homepage: http://www.bnr2.org/

Yahoo! Groups Links

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

(Continue reading)

Evzen Polenka | 3 Sep 2007 08:51
Picon

Re: Re: NZB to queue.xml transformation

On 3.9.2007 0:59, Lenny_Nero wrote:

>> It could be used for semi-automated downloads (until a support for
>> reading NZB files from command line is added).
> 
> Why ?
> Is it too hard to load them in by hand ???

Why do people automate/script things they do on a computer? Is it too hard 
to do them by hand? :-\

--

-- 
	Bye, Evzen

Important Addresses:
Post message: bnr1 <at> yahoogroups.com
Group owner:  bnr1-owner <at> yahoogroups.com
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)
(Continue reading)

jason_s_kane | 3 Sep 2007 19:01
Picon
Favicon

Re: NZB to queue.xml transformation

--- In bnr1 <at> yahoogroups.com, Lenny_Nero <Lenny_Nero <at> ...> wrote:
>
> Evzen Polenka said
> 
> > Hello all,
> > 
> > I was just wondering if someone with XSLT skills has already 
created a
> > transformation from NZB to BNR's queue.xml format.
> > 
> > It could be used for semi-automated downloads (until a support 
for
> > reading NZB files from command line is added).
> 
> Why ?
> 
> Is it too hard to load them in by hand ???

Personally, I like to be able to do both.

Without meaning to start a GUI/CLI debate, some things
are better done using a GUI, and others are better done
using scripts.

It isn't that it's "hard" doing something by hand, it's 
that at times automating a task takes away the need to be 
sitting at the computer and/or reduces the number of steps 
needed to accomplish that task.

Take, for example, a (not so) hypothetical situation that
(Continue reading)

Stormblade | 4 Sep 2007 14:22
Picon

RE: NZB to queue.xml transformation

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. 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

  _____  

From: bnr1 <at> yahoogroups.com [mailto:bnr1 <at> yahoogroups.com] On Behalf Of Evzen
Polenka
Sent: Saturday, September 01, 2007 8:51 AM
To: bnr1 <at> yahoogroups.com
Subject: [BNR] NZB to queue.xml transformation

Hello all,

I was just wondering if someone with XSLT skills has already created a 
transformation from NZB to BNR's queue.xml format.

It could be used for semi-automated downloads (until a support for reading 
NZB files from command line is added).

--

-- 
Bye, Evzen

[Non-text portions of this message have been removed]

Important Addresses:
(Continue reading)

Evzen Polenka | 4 Sep 2007 15:26
Picon

Re: NZB to queue.xml transformation

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 
(Continue reading)

Lenny_Nero | 13 Sep 2007 03:30
Picon
Favicon

Re: NZB to queue.xml transformation

jason_s_kane said

> Take, for example, a (not so) hypothetical situation that applies to at
> least one friend of mine.
> 
> They have unmetered downloads between midnight and 7 AM. So rather than
> having to be awake at 5 past midnight to start their downloads, they set
> a script to run at 5 past midnight.
> 
> Automating mouse clicks isn't as straightforward as being able to say
> something like "at -f dlposts.sh 00:05" (Where "dlposts.sh" is just a
> script that reads and then downloads one or more NZB files using another
> perl script.)

I load it all as per norm, close and just use my normal cron job to run
start BNR3xx.bat at whatever time I want ...but thats just me.

L.

--

-- 
Want to help to keep the best free usenet servers running ?
http://www.readfreenews.com

Important Addresses:
Post message: bnr1 <at> yahoogroups.com
Group owner:  bnr1-owner <at> yahoogroups.com
BNR homepage: http://www.bnr2.org/

Yahoo! Groups Links

(Continue reading)

Laurent | 20 Sep 2007 21:24
Picon
Favicon

How to set multiple servers

I want to use 2 servers one for headers only and the other for
articles only I set this using server mode for each

For the first server (headers only) it works but the second server
(articles only) doesn't attempt to download articles using
message-id's retrieved by the first, is there something elsewhere to set ?

I see in the guide the possibility to export/import nzb file but it
doen't work too even I check "Try downloading by message Ids..."

Any idea ?

Important Addresses:
Post message: bnr1 <at> yahoogroups.com
Group owner:  bnr1-owner <at> yahoogroups.com
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:
(Continue reading)

Lenny_Nero | 23 Sep 2007 12:28
Picon
Favicon

Re: How to set multiple servers

Laurent said

> I want to use 2 servers one for headers only and the other for articles
> only I set this using server mode for each
> 
> For the first server (headers only) it works but the second server
> (articles only) doesn't attempt to download articles using message-id's
> retrieved by the first, is there something elsewhere to set ?
> 
> I see in the guide the possibility to export/import nzb file but it
> doen't work too even I check "Try downloading by message Ids..."
> 
> Any idea ?

Do both work when set to normal, and can they each pull from their own
server ...so you know that the settings you have used are valid.

Also what priority (server access pref's) settings do you have each server
at, I would expect that they need to be the same as there are only two and
doing their own jobs.

L

--

-- 
Want to help to keep the best free usenet servers running ?
http://www.readfreenews.com

Important Addresses:
Post message: bnr1 <at> yahoogroups.com
Group owner:  bnr1-owner <at> yahoogroups.com
(Continue reading)

Laurent | 24 Sep 2007 11:29
Picon
Favicon

Re: How to set multiple servers

--- In bnr1 <at> yahoogroups.com, Lenny_Nero <Lenny_Nero <at> ...> wrote:
> Do both work when set to normal, and can they each pull from their own
> server ...so you know that the settings you have used are valid.
> 
> Also what priority (server access pref's) settings do you have each
server
> at, I would expect that they need to be the same as there are only
two and
> doing their own jobs.
> 
> L
> 
Yes both work when set to normal and can pull from their own server, I
have the default priority 0 on each server, articles go in the queue
but    no download  

Important Addresses:
Post message: bnr1 <at> yahoogroups.com
Group owner:  bnr1-owner <at> yahoogroups.com
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:
(Continue reading)


Gmane