Adding header export - v3.73
Adding header export - v3.73
I'm improving things a bit (more comprehensive xml parser) and adding the export function for headers.
If you have anything regarding import/export let me know now since I'm planning to finish that and switch to other aspects of the project.
If you have anything regarding import/export let me know now since I'm planning to finish that and switch to other aspects of the project.
Can you add an option to automatically name the exported nzb file using the date of the oldest header being exported and part of the subject line.If you have anything regarding import/export let me know now since I'm planning to finish that and switch to other aspects of the project.
examples:
yyyy-mm-dd-first 50 characters of the oldest header.nzb
2004-01-12-Return of the King.SVCD.DVDrip [01/57] - rotk.nzb
I'd also like an option to export the headers directly into the import folder.
this is a version with the export function, check it for some unlikely case (it is simple to add so less probability of introducing something wrong):
<snip - see the current release>
the function is in the context menu, "more->export selected headers" with shortcut shift+e and in the import/export menu (renamed from just import).
i'll make a release shortly (now version autoupdate will be set).
i'm not sure about export into the import group directly, it looks artificial, but i added the automatic file name while saving.
<snip - see the current release>
the function is in the context menu, "more->export selected headers" with shortcut shift+e and in the import/export menu (renamed from just import).
i'll make a release shortly (now version autoupdate will be set).
i'm not sure about export into the import group directly, it looks artificial, but i added the automatic file name while saving.
Looks great, and works like a charm.....alex wrote:this is a version with the export function, check it for some unlikely case (it is simple to add so less probability of introducing something wrong):
http://www.netwu.com/newspro/npr3724.zip
the function is in the context menu, "more->export selected headers" with shortcut shift+e and in the import/export menu (renamed from just import).
i'll make a release shortly (now version autoupdate will be set).
i'm not sure about export into the import group directly, it looks artificial, but i added the automatic file name while saving.
I posted the direct link in the Dutch Newspro Forum, complete with a small user-manual in Dutch. Sure you don't mind
i'll add .nzb in the end of the file name to fix that, since if there is something looking as extension windows will use it and not default.andreasfc wrote:I do have a minor problem, the file it's default extension is rar, shouldn't that be nzb?
also i'll put a comment in the end that the file has been created by newspro.
in addition to the said above i made it to extract newsgroup names form article bodies when available, the reason is for already downloaded attachments export is most probably for sharing so it better to contain as much as possible.
<snip - see the current release>
since reading article body (full header) usually needs opening a file the export operation on headers with bodies (but not otherwise) will be slower (you can see that these are only file accesses since when you invoke it in the second time it is extremely fast because files are cached), still i thought it is better to include the article newsgroups when intention is sharing, also not every part is opened but only one per partial message.
it looks like final regarding export.
<snip - see the current release>
since reading article body (full header) usually needs opening a file the export operation on headers with bodies (but not otherwise) will be slower (you can see that these are only file accesses since when you invoke it in the second time it is extremely fast because files are cached), still i thought it is better to include the article newsgroups when intention is sharing, also not every part is opened but only one per partial message.
it looks like final regarding export.
Alex, thanks so much for the new nzb import/export support and import group. I was considering using another newsreader with nzb support as a backup but now Newspro does it all as usual.
And the new import group makes an excellent download management queue. When I find something I want to download, I just export the headers and immediately import them so that everything I want to download is in the import group. It's a real time saver. Now I can just open the import group real quick before leaving for the day and mark more articles for download rather than opening each newsgroup and searching for the articles that I want to download.
And the new import group makes an excellent download management queue. When I find something I want to download, I just export the headers and immediately import them so that everything I want to download is in the import group. It's a real time saver. Now I can just open the import group real quick before leaving for the day and mark more articles for download rather than opening each newsgroup and searching for the articles that I want to download.
If I do a Xpat search to a group called #xpat and try to export it to a .nzb file, the group list in the .nzb file shows:
<groups>
<group>#xpat</group>
</groups>
This gives problems when I try to share this file, it needs to be:
<groups>
<group>alt.binaries.misc</group>
</groups>
I tried to select: "use bodies to fill group names for export" under the Import/Export Tab, but it gives me the same result.
Am I missing something???
Using the latest version 3.73
<groups>
<group>#xpat</group>
</groups>
This gives problems when I try to share this file, it needs to be:
<groups>
<group>alt.binaries.misc</group>
</groups>
I tried to select: "use bodies to fill group names for export" under the Import/Export Tab, but it gives me the same result.
Am I missing something???
Using the latest version 3.73