Import Categories List?

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: XnTriq, xnview, Dreamer

Xnout!
Posts: 25
Joined: Wed May 24, 2017 2:18 am

Import Categories List?

Postby Xnout! » Mon Jun 05, 2017 5:33 pm

What are the steps on how to import a categories list into XnView categories.
I know how to create them manually but it would be nice (easier) to use/know how to create/edit an external list.

Or is it just one of those things where you have to export your existing list first, as a way of saving?

User avatar
xnview
Author of XnView
Posts: 27356
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Categories List?

Postby xnview » Wed Jun 07, 2017 7:21 am

you can import a category list (lightroom format) in the category pane>menu>categories management
Pierre.

Xnout!
Posts: 25
Joined: Wed May 24, 2017 2:18 am

Re: Import Categories List?

Postby Xnout! » Sun Jun 11, 2017 5:09 pm

There are two objectives I was hoping for with the Import/Export feature,

1. To save/export a current cats list for backup (later import if needed).
2. To be able to work with building/editing a categories list outside of XnView, then importing/updating
back into XnView.

I thought I could do this when exporting to txt file > make edits > import back. It jumbled up/copied some entries when doing so.
That clearly does not work :wink:

Is there a way to do the above mentioned points?
I hear you on the Lightroom file thing, but I'm not sure exactly how you mean.
Can you create a Lightroom list file (with appropriate extension) without having/using Lightroom?

User avatar
xnview
Author of XnView
Posts: 27356
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Categories List?

Postby xnview » Thu Jun 15, 2017 12:11 pm

It's only a text file like this

Code: Select all

Cat1
   Child1
   Child2
Cat2
Cat3
   Child3
Pierre.

Xnout!
Posts: 25
Joined: Wed May 24, 2017 2:18 am

Re: Import Categories List?

Postby Xnout! » Thu Jun 15, 2017 11:42 pm

That's what I did, or how I approached it. It jumbled/copied some entries when reimporting back in after
making a few additions/edits.

It seems that if you have a list already created and you import to txt > edit txt file > then, re-import without clearing
out the list that is still in XnView, it messes it up (you should try that as a test, if you don't already realize it).

I guess the only way it will work properly is to create the text file from scratch and import it in > then, when
I want to work on/edit it outside of program, I'll need to clear the cats out of XnView just before re-importing.
Really? I would have to do that every single time I wanted to work on it? :(

User avatar
xnview
Author of XnView
Posts: 27356
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Categories List?

Postby xnview » Sat Jun 17, 2017 7:55 am

Xnout! wrote:Really? I would have to do that every single time I wanted to work on it? :(

when you import categories, you would like to clear categories before?
Pierre.

Xnout!
Posts: 25
Joined: Wed May 24, 2017 2:18 am

Re: Import Categories List?

Postby Xnout! » Sat Jun 17, 2017 12:09 pm

No. But it seems that's what one would have to do to make it work properly, which would be terrible and a waste of time.
Did you test out what I was saying in previous post?

User avatar
xnview
Author of XnView
Posts: 27356
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Categories List?

Postby xnview » Mon Jun 19, 2017 11:02 am

Xnout! wrote:No. But it seems that's what one would have to do to make it work properly, which would be terrible and a waste of time.
Did you test out what I was saying in previous post?

you means that if you import a list of keywords already in catalog, there is a problem?
Pierre.

Xnout!
Posts: 25
Joined: Wed May 24, 2017 2:18 am

Re: Import Categories List?

Postby Xnout! » Mon Jun 19, 2017 1:00 pm

Yes, sort of. Let me simplify. Here are the steps to take for testing.

as example,
1. Create 6 parent categories with 5 subcategories under two of them, in XnView.
2. Export that list to a TXT file. Afterwards, the XnView category list is "not" cleared.
3. Open the text file and delete one of the parents without subs > then, add 3 subcats to one of the subcategory lists.
4. Create a new parent category single and a new parent category with 3 subs.
5. Save TXT
6. Import that TXT list back into XnView.
7. Does the XnView list look correct now, according to what was done to the TXT file (not the way the XnView list looked previously)?

Or, if that is the kind of thing you already do, does it work for you? Or, do you use Lightroom files?
Are those also essentially just txt files?

User avatar
xnview
Author of XnView
Posts: 27356
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Categories List?

Postby xnview » Tue Jun 20, 2017 11:58 am

O.k., thank you, I can also reproduce the problem. Issue 1273 is fixed in next version.
Pierre.

Xnout!
Posts: 25
Joined: Wed May 24, 2017 2:18 am

Re: Import Categories List?

Postby Xnout! » Tue Jun 20, 2017 12:06 pm

Thank You!!!
Me so happy now :D

I've pretty much halted production on XnView, trying to get this resolved (have an extensive categories system
I would like to implement).

I hope the new version is out fairly soon.

Thanks again


Return to “Fixed in next test version”

Who is online

Users browsing this forum: No registered users and 0 guests