Rename filename based on heading level or topic title

This forum is for all Flare issues not related to any of the other categories.
Post Reply
nickatwork
Sr. Propeller Head
Posts: 457
Joined: Thu Sep 16, 2010 6:31 am
Location: London

Rename filename based on heading level or topic title

Post by nickatwork »

Hi all,
Pretty simple, is it possible to rename files within Flare based on the heading level or topic name, TOC label etc?

I've got a few recycled topics that have had name changes but the original filename is still there, and a few topics that have a messed up filename entirely and I'd like to clean it all up.

Options?

Thanks,
Nick.
Diana_BB
Sr. Propeller Head
Posts: 147
Joined: Mon Oct 22, 2007 11:46 am
Location: Dallas, TX

Re: Rename filename based on heading level or topic title

Post by Diana_BB »

You can rename files within Flare's Content Explorer and the File List. You will be prompted to update all links (TOC, any hyperlinks, etc.) that reference that topic--a must so you don't end up with a ton of broken links.

It's not automatic. You'll have to do the typing. You can copy/paste the topic titles.

Diana
Image
nickatwork
Sr. Propeller Head
Posts: 457
Joined: Thu Sep 16, 2010 6:31 am
Location: London

Re: Rename filename based on heading level or topic title

Post by nickatwork »

Yeah thats what I was afraid of......having to do the typing. With over 1500 topics its lengthy process to find the ones that are named incorrectly.

Thanks.
wbrisett
Sr. Propeller Head
Posts: 216
Joined: Mon Oct 05, 2009 3:29 pm
Location: Austin, TX

Re: Rename filename based on heading level or topic title

Post by wbrisett »

nickatwork wrote: Pretty simple, is it possible to rename files within Flare based on the heading level or topic name, TOC label etc?
I don't know of a way to do inside Flare automatically, but you could do this via a very simple script in [insert your scripting language of choice]. You simply would have to parse the content folder, look for the heading and then save the file out with that name. You could do all 1500 of your topics in seconds this way. You would need to update the TOC however, which could make things a bit trickier, but not that much harder to do.

Wayne
Post Reply