New Document Listing .odt Docs in Directory?

Writing a book, Automating Document Production - Discuss your special needs here

New Document Listing .odt Docs in Directory?

Postby Ellsinore » Sun Nov 29, 2015 11:21 pm

I'm not sure if I've asked this before, but I know I've been thinking about it for a long, long time.

I have a directory with many .odt documents that I would like a list of, which would include some of the fields from the many .odt docs.

There are over a thousand of them now, and there will be many, many more before I'm finished. They use different templates and there are too many of them to generate a master document -- the file would be huge.

What I would like to do is generate a new document (or spreadsheet) that reads the information from the .odt documents in the directory and populates a table with the date, title, etc., from the .odt documents in that directory.

Hope this makes sense -- and is it possible?

Thanks!
AOO 4.1.5 on Windows 10
Ellsinore
 
Posts: 20
Joined: Tue Jul 14, 2009 1:02 am

Re: New Document Listing .odt Docs in Directory?

Postby RoryOF » Sun Nov 29, 2015 11:36 pm

This might help you get started
https://support.microsoft.com/en-us/kb/196158

It may not provide enough information for you.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28394
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: New Document Listing .odt Docs in Directory?

Postby Ellsinore » Mon Nov 30, 2015 3:53 am

Yes, that's the idea. But you're right, the info I need isn't there. However, since Explorer *can* read the title of the document, I wonder if there's an option to include that in the text file. I'll dig some more. Thanks!
AOO 4.1.5 on Windows 10
Ellsinore
 
Posts: 20
Joined: Tue Jul 14, 2009 1:02 am

Re: New Document Listing .odt Docs in Directory?

Postby Bill » Mon Nov 30, 2015 6:46 am

Are you sure Explorer can read the titles of .odt files? I see titles of .doc files displayed in Explorer, but no titles of .odt files. My .odt files only display Name, Date modified, Type and Size in Explorer.
AOO 4.1.6 and LO 6.2.0.3 on Manjaro MATE
Bill
Volunteer
 
Posts: 7130
Joined: Sat Nov 24, 2007 6:48 am

Re: New Document Listing .odt Docs in Directory?

Postby Ellsinore » Mon Nov 30, 2015 7:32 am

Bill wrote:Are you sure Explorer can read the titles of .odt files? I see titles of .doc files displayed in Explorer, but no titles of .odt files. My .odt files only display Name, Date modified, Type and Size in Explorer.


Hi, Bill -- You have to add the "Title" attribute to the list of columns, but it will show that for the .odt files and .jpg as well. As you can see, it doesn't show the title for the .pdf files -- but you can change that, also, by using Libraries and using "Arrange by Name." Maybe it's because I'm on Windows 7 -- which I should have included in my original post. I'm not sure about other Windows versions.
Attachments
ss_filel_list.jpg
AOO 4.1.5 on Windows 10
Ellsinore
 
Posts: 20
Joined: Tue Jul 14, 2009 1:02 am

Re: New Document Listing .odt Docs in Directory?

Postby Bill » Mon Nov 30, 2015 8:12 am

OK, it's working here now. For some reason after adding the Title column in Explorer, the titles weren't displayed for the .odt files, but they were displayed after restarting the computer.
AOO 4.1.6 and LO 6.2.0.3 on Manjaro MATE
Bill
Volunteer
 
Posts: 7130
Joined: Sat Nov 24, 2007 6:48 am


Return to Advanced Uses

Who is online

Users browsing this forum: No registered users and 4 guests