Here are some answers, inline;<br><br>On Saturday, August 3, 2013, Jeremy H. Griffith  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 2 Aug 2013 08:57:56 -0400, John Sgammato <<a href="javascript:;" onclick="_e(event, 'cvml', 'john.sgammato@actifio.com')">john.sgammato@actifio.com</a>> wrote:<br>

<br>
>I am using FM11 unstructured with Mif2Go to populate a SalesForce<br>
>Knowledge knowledgebase. SalesForce Knowledge is a relatively new<br>
>offering from SaleForce, much better than their older knowledgebase<br>
>product. Ultimately this will involve hundreds of individual topics so<br>
>I want to automate as much of it as I can.<br>
>I have talked to Rick Quatro about this, but there are some other bits<br>
>where I'd appreciate some ideas.<br>
><br>
>To populate the knowledge base:<br>
>1. I must generate individual HTML files from the FM content and store<br>
>them in a single folder.<br>
<br>
That's the default result.<br>
<br>
>2. The SalesForce importer reads a .csv file to get location and other<br>
>info about the content.<br>
><br>
>The .CSV file looks like this:<br>
>isMasterLanguage,Title.File,datacategorygroup.Products,Channels,Language<br>
>1,Forcing Expiry of a Backup Image,/articles/en_US/doc/ab1101973.htm<br>
>PAS_51,sites,en_US<br>
>1,Restoring Selected Files,/articles/en_US/doc/ab1101043.htm,PAS_51,sites,en_US<br>
<br>
Are the first, fourth, fifth, and sixth columns the same<br>
for all files, or do they vary too?  If they vary, is there<br>
a rule that describes what they need to be, for your project?</blockquote><div> </div><div>1,4,5,&6 are the same for all files</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
>For this release, I need only the procedures; conceptual information<br>
>can come in the future. (I have it, but I do not want to use it in the<br>
>knowledge base until I do some more development work on it.)<br>
><br>
>After I generate all the HTML files, I somehow need to get a list of<br>
>the filenames for the third column of the .csv, and I'd love a way to<br>
>get the Title of the topic into the second column.<br>
<br>
We can probably write a CSV file with that info for each<br>
Frame chapter, then just concatenate them for the full book.<br>
<br>
>My plan is to go through the 6 books that will get this treatment and<br>
>apply a new marker to all of the topics that I want for the knowledge<br>
>base.<br>
<br>
Please don't.  Not only is it a large effort, it is not<br>
necessary from your description above.  The guaranteed<br>
unique filenames we create will work.  Yours would be<br>
absolutely guaranteed **not** to be unique,  There is<br>
a reason we warn against this.</blockquote><div><br></div><div>OK - markers are out</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>I know how to set the HTML file title = that marker, but I am afraid<br>
>that in the end I will have many surplus files, and they will all have<br>
>autogenerated filenames like ab1101973.htm.<br>
<br>
Even worse.<br>
<br>
>Is there a way to automatically set the output *filenames* to match<br>
>the titles? I understand it's a Bad Idea in case I have multiple files<br>
>with the same title, but I will be doing enough post-processing to<br>
>catch and fix that.<br>
<br>
There actually is; we undocumented it for a while<br>
because of the large number of disasters reported<br>
to us.  There is *no way* to tell which files were<br>
clobbered by others until *your* users complain<br>
about the links going to the wrong places...<br>
<br>
>Is there a way to  get only the topics I want and ignore the other<br>
>content?<br>
<br>
How would you identify it?  (Hint: **not** markers.)</blockquote><div><br></div><div>Suppose I create two new para formats, procedure looks like Heading2 and procedure-end is 1pt with nothing in them. Then Mif2go would know the start and end of each procedure? </div>
<div>Xxxxx End of new comments xxxxx<span></span></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
>I can start a new topic at every H1 and H2, and I can title<br>
>the ones I want from the markers, but in the end I will have a bunch<br>
>of files with near-identical filenames, right? Maybe I can send the<br>
>topics with the markers into a different folder?<br>
<br>
No, that won't work.  The right answer depends on<br>
your answer to the question above.<br>
<br>
>I have some time to work on this, but not a lot - a major release will<br>
>be upon me next week.<br>
<br>
Plenty of time, LOL!<br>
<br>
>I have a henchman in India who can help with the FM work, but he<br>
>doesn't know Mif2Go yet.<br>
<br>
This may not be the best time for him to learn.  ;-)<br>
<br>
>I appreciate any thoughts to set up a good, solid, reproducible<br>
>process for this.<br>
<br>
A few answers, please, and we can probably provide one.  <g><br>
<br>
-- Jeremy H. Griffith, at Omni Systems Inc.<br>
  <<a href="javascript:;" onclick="_e(event, 'cvml', 'jeremy@omsys.com')">jeremy@omsys.com</a>>    <a href="http://mif2go.com/" target="_blank">http://mif2go.com/</a><br>
_______________________________________________<br>
<br>
<br>
You are currently subscribed to framers as <a href="javascript:;" onclick="_e(event, 'cvml', 'john.sgammato@actifio.com')">john.sgammato@actifio.com</a>.<br>
<br>
Send list messages to <a href="javascript:;" onclick="_e(event, 'cvml', 'framers@lists.frameusers.com')">framers@lists.frameusers.com</a>.<br>
<br>
To unsubscribe send a blank email to<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'framers-unsubscribe@lists.frameusers.com')">framers-unsubscribe@lists.frameusers.com</a><br>
or visit <a href="http://lists.frameusers.com/mailman/options/framers/john.sgammato%40actifio.com" target="_blank">http://lists.frameusers.com/mailman/options/framers/john.sgammato%40actifio.com</a><br>
<br>
Send administrative questions to <a href="javascript:;" onclick="_e(event, 'cvml', 'listadmin@frameusers.com')">listadmin@frameusers.com</a>. Visit<br>
<a href="http://www.frameusers.com/" target="_blank">http://www.frameusers.com/</a> for more resources and info.<br>
</blockquote><br><br>-- <br>

















<br><table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="middle">
<p> </p>
</td>
<td valign="middle">
<p> </p>
</td>
<td valign="middle">
<p> </p>
</td>
<td valign="middle">
<p> </p>
</td>
<td valign="middle">
<p><b>John Sgammato  </b></p>
<p>Documentation Architect</p>
<p><span><b>e</b> <a href="mailto:john.sgammato@actifio.com" target="_blank"><span>john.sgammato@actifio.com</span></a> </span></p><p><span><b>w</b> </span>+1-(508) 927-2083<span>  </span></p></td></tr></tbody></table>








<p>    <i>Recover anything instantly for up to 90% less than you're paying now.</i></p><br>