This content has been marked as final. Show 6 replies
There is a method on my site for re-using content in more than one topic in the same project. Click here. However it is not without problems in webhelp and will not suit most scenarios.
I don't know of anything that is cross project. The topic would be outside the project and cause search problems for a start.
This is sort of the holy grail. Give up while you are sane would be my advice.
Good afternoon all,
Would it be possible to use something similar to Rick's "Sharing topics across multiple projects" in his Tips and tricks? I know it is written specifically for HTML Help, but...
If I get time this afternoon, I'll give it a try.
First off, what I'm about to say does NOT mean your idea is a bad one. Personally, I like it. But that solution sorta heads down the tubes along with a gurgling flushing sound in X5.
Why? All the XML files that have specific names that aren't unique to the project. Once you place project 2 in the same folder, its files then overwrite project 1's. I think the troublesome files have a .APJ extension.
Just an update.
Followed Rick's instructions (nearly)
1 Created the Top level folder.
2 Created three sub-folders - Forumtest1 to 3
3 Created three test projects, each containing 6 topics and 3 shared topics.
4 Placed shared topics in the top level folder
5 Imported the shared topics into each project
6 Created Index
7 Used Traditional Style to generate
8 Checked all three Webhelp outputs.
9 I edited the shared topics in one project. Saved and closed the project.
10 Opened each of the other projects in turn and checked that the changes were reflected.
11 Regenerated each project and checked the output.
All projects webhelp were updated properly. The contents,Index and search features worked.
As Rick says in his instructions, backup the .JS and .CCS files before you start. (missed one project).
When you get a chance, would you check that the steps I carried out were correct.
If you try this, don't forget to backup your whole projects first. Must be nearly morning where Rick is.
Didn't see you there Rick, Took me a while to write all this up.
I didn't put the projects in the same folder, just straight into their own sub-folders, and copied the shared topics into the top level folder, then imported them.
Still working on my second cup of "Go power" (coffee)
Hey, if you can make it work, I'm impressed to say the least. I recall when X5 arrived that I had to abandon the way I used to work because of it. I would be cautious with placing the project files in sub folders with that additional folder layer sitting above where the main project files are. Something in my gut is wanting to say there could be issues down the road with this approach.
Cheers all... Rick