Copy link to clipboard
Copied
Yes - I admit it - I imported html topic files from an output folder of another RH project into the help project I am currently working on (the source files were lost and I needed to bring over a lot of legacy content in a hurry). However, I completely forget that the RH output html file contains unique Java scripting that is used to render the topic properly in a browser, but that same Java Script causes havoc when you open it up in as a source file in another RH Project. Needless to say, it has caused numerous weird things when I went to publish and view my files (but, surprisingly, you don’t really see or notice them in the RH Design WYSIWYG view or preview mode).
The bad news is that it took about 2 weeks for me to notice the issue (the help output is viewed on a special console running Linux with a QT browser that I only view occasionally). The good news is that is that I figured out what the problem was (that took some hours) and I can restore my help project back to a time before I did the "naughty deed".
I am now at a crossroads - do I:
Copy link to clipboard
Copied
Hi there
The article linked below may be of value to you.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
You missed the third option, fall on your sword.
Take a look at Rick's well worn instructions. http://www.robowizard.com/RoboWizard/NewProject.htm#MonthlyScry/062004.htm
You should be able to do some search to find the affected topics or in the Topic List, add the column Modified Date. (Right click on the headings)
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Thank you for suggesting Rick's column. It gave me the idea of using the Edit > Find and Replace in Files command and searching for all instances of "script" in my topic files.
I only found three topics (out of 225) that had JavaScript code in them, and I removed all code between the <script> commands. After I republished my project and viewed it on my console with the QT browser, however, it didn't solve the issue. Maybe if I described the issue I'm seeing in more detail, it may help.
The help for the home (default screen) displays correctly the FIRST time you view it. However, if you move off that help screen to another help screen (using breadcrumbs, hotlinks, or the TOC), and then return to that screen, that screen no longer displays correctly (proper styles are not being applied to the text). Also, all other screens thereafter display incorrectly. What's weird is that the help files I found the JavaScript in them (and removed) are not even the ones being accessed when the issue occurs.
Is this problem an indication of a JavaScript issue within the browser? If so, what over places (besides the topic files) could be throwing off the browser and possibly I missed in this "cleansing" process?
Copy link to clipboard
Copied
Sorry I didn't pick up on your first post stating you are having this problem with QT browser. It isn't a supported browser so first let's establish whether the help works on Windows using IE and / or FF.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
The current ("bad)" help files work perferectly under IE, Mozilla Firefox, and Chrome. And, yes, Peter, you are right that the QT browser is "officially" not supported. However, the WebHelp I was generating for it was working fine from the beginning of my project until several weeks ago. As part of my investigation into this issue, I restored my help to a point several weeks ago on my viewing machine and it works fine, so I know something happened in the intervening time (like me starting to import topics that were output files).
Let me also throw out something else strange I noticed in this intervening time (approx. two weeks). For some topics, I noticed that when I pasted some content from another source (e.g., Word or an html file), and I went to apply an existing RH style to it by double clicking on that style and asking to reapply that style to the text highlighted, RH would (sometimes) generated spurious "local" formatting on top the style that you choose in addition to applying local" formatting on other sections of content within that topic. The insidius part of this anomaly was that you didn't notice this formatting change in either either Design View or Preview Mode (unless you happened to be looking at your styles dropdown), but ony after generating and viewing the help. I've attached a document where I try to explain what is happening.
Any theories or ideas?
Copy link to clipboard
Copied
I just realized you can't attach a document in these forums... Pehaps I can email to anyone who is interested? It's got four screen grabs with text and callouts.
Copy link to clipboard
Copied
When you reply there is a camera icon. Use that to insert the screenshots so everyone can see.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
OK - here is the documentation of this weird issue (hopefully, you can read the htlm code in the screen images):
1. In this topic, I cut and pasted some text into the table you see at the bottom of the screen. I had to reapply the “TableBody” style to this text. After doing this, I moved my cursor to the “Keyboard" text on top. Notice that it is displaying the "TABLEBODY" style, although visually, it is displaying the correct style on screen (“Heading 1”).
2. In HTML view, notice the addition of the class= “TableBody”> code for this “Keyboard” text.
3. I then reselected Heading 1 for this “Keyboard” text.
4. Notice that the class= “TableBody”> code is now removed for this “Keyboard” text and has just the proper <h1> tagged assigned.
Copy link to clipboard
Copied
In the first screenshot, the fact that the style is in CAPS is telling you the style is not in the CSS. Because the class tag is H1 you are seeing that in the second screenshot. All that is happening in the next two is you are applying H1 with no class.
Is there a class TableBody as part of H1? Seems an odd combination.
Is the clean up to search on what you have shown in the second screenshot and replace with <h1>?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Peter - I finally figured out this weird thing in RH. It probably only affects me, but here's what happens.
When I open a new, blank topic, the default placeholder text appears. Instead of deleting the text, I open up another topic, copy the first few lines (which includes Header 1), and paste it into the new topic. For some strange reason, sometimes RH includes the class TableBody as part of the Header 1 style. In addition, when the cursor is over the Header 1 content, you see the TABELBODY style style as shown in an earlier figure, even though on screen it looks perfect. I then have to manually reapply Header 1 style to the text to override the class TableBody.
My advice - be wary when copying text to or within RH. Thanks to you and others, from now on I am now using the PureText utility for my copying and pasting...!
Copy link to clipboard
Copied
I think you need to look at the code in the source topic from which you are pasting. I have never seen anyone report that problem so it seems odd that it would do it for you.
Try going back to your old way until it happens again and then check the source.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
As always, Peter, you are right. After doing more research, I noticed that this junk code was in in 95% of my topics. I must have inadvertently copied this junk code from a topic at the beginning in my project which wound up in virtually all of my subsequent topics. I suspect this all came about from my initial importing of RH output files into my project early on.
It would be nice if RH could somehow recognize an "output" file during the importing of an html file and notify the user in a warning, such as: "Are you SURE you want to import an output file such as this?"
Copy link to clipboard
Copied
No sir, not Always.
No doubt Adobe could do something to warn you that a topic being imported is an output file. That is something you could suggest. Please follow this link.
http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
Sometimes though the problem is that people publish to the source folder. You could request that is also covered but I think that might be rather more difficult.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
I ran into this same issue yesterday. Again, the "TABLEBODY" style was applied locally on top of text using "HEADING1" (the correct style). Likewise, this happened unbeknownst to me, until I saw it pop up on the Style Menu when my cursor was placed over the text. In Design mode, it correctly rendered it as "HEADING1", but in HTML mode, I saw the TABLEBODY" style applied along with "HEADING1".
Because this was a brand new topic and I had checked the HTLM code before entering text, I can confidently say that RH generated this spurious code (vs. it being copied from another topic by me). In addition, it seem to have happened when I was adding content in the topic (in Design mode) right after I did a combination of key commands (like maybe highlight, delete, scroll?), but I'm not sure exactly what they were.
I hope to someday figure out the exact key commands that creates this issue so I can present this to Adobe (and to this forum).
Copy link to clipboard
Copied
I ran into this same issue again, where my "TableBody" style was applied locally on top of other text in a topic (in today's case, on top of using the "Normal" style). This time, however, I noticed a few more things when this happened:
This explains why I couldn't produce this issue at will - it seems this RH bug only occurs after you try to save a topic using the Save Component (floppy disk icon) and it doesn't "register" at first. Then, when you finally get the topic to save, weird things happen...
I am using RH version 9.0.2.271 on a Windows 7 platform. I assume that this version has the latest patches, as when I run Help > Updates, it says all applications are up-to-date.
Copy link to clipboard
Copied
I realized that I may have reversed Steps 3 and 4 in my posting above, so this could be how it happened (from a programming view, this seems to makes more sense to me anyway):
Copy link to clipboard
Copied
OK - still another "incident" today:
I never mentioned until today's post that I normally have several apps open on my PC (usually Word, Excel, Outlook, and IE) while working in RH. However, with 4 GB of RAM on my laptop, I don't think that should be an issue nowadays. Based on today's events, however, I am beginning to wonder if there is some sort of memory cache issue going on between RH and the Windows OS?
Copy link to clipboard
Copied
I don't think the issue is related to other apps being open. I think it is more likely related to which tab RoboHelp thinks has focus.
Instances of RoboHelp not clearing the asterisk when Save Component has been used have been reported. Personally I use Save All.
Maybe as well as click a tab you could try clicking in the Design Editor to see if that makes any difference.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Peter - thanks - I hadn't realized that this issue of RoboHelp not clearing the asterisk when you click on Save Component has already been reported. Based on my experiences, I'm going to add that "collateral" damage may result in another open topic when this occurs, and make my own submission on the RH bug/feature page.
FYI - I used to use "Save All" for all of my saves, but after I started adding images in my current project, the time it took to do a save went from a few seconds to over 30. I like to save often (due to the numerous crashes and other anomalies I've experienced in RH over the last few months), so waiting 30 seconds is intolerable.
Copy link to clipboard
Copied
There's something seriously wrong then. If you cannot replicate this in another project, some detective work is needed.
Tablebody has not been reported and 30 seconds is way too long. Your project is on your local drive and not on a network I hope.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
The project is on a local drive. Good news, though - I tried using "Save All" in my project and the time is down to about 10-15 seconds. That's tolerable for me. I think it improved after I cleaned up the junk code than came in as a result of importing the RoboHelp html output topic. I'll be starting to use this method again.
BTW - What do you mean by "Tablebody has not been reported"?
Copy link to clipboard
Copied
Not reported by anyone else.