missing file madcap.css
missing file madcap.css
when selecting project analysis from within my project, i chose to search for broken links.
A list of topics was displayed and said to be missing the madcap.css file. I am not fully sure what this file is, but after a little reading it seems that this file is generated at build time. It is referenced in my topics as:
<head><title>What are Dynamic Variables?</title>
<p> </p>
<link href="../../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../../Resources/Stylesheets/GeminiiStyles.css" rel="stylesheet" />
<script src="../../SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
The error in the broken link list says that the file is missing.
Any ideas why? and what problems might this cause?
Thanks
Pam
A list of topics was displayed and said to be missing the madcap.css file. I am not fully sure what this file is, but after a little reading it seems that this file is generated at build time. It is referenced in my topics as:
<head><title>What are Dynamic Variables?</title>
<p> </p>
<link href="../../SkinSupport/MadCap.css" rel="stylesheet" />
<link href="../../Resources/Stylesheets/GeminiiStyles.css" rel="stylesheet" />
<script src="../../SkinSupport/MadCapAll.js" type="text/javascript">
</script>
</head>
The error in the broken link list says that the file is missing.
Any ideas why? and what problems might this cause?
Thanks
Pam
Pam Brechlin
Freelance Technical Writer
http://www.pambrechlin.com
http://www.linkedin.com/in/pambrechlin
Freelance Technical Writer
http://www.pambrechlin.com
http://www.linkedin.com/in/pambrechlin
Re: missing file madcap.css
Madcap.css is added to the output at build time. None of your source files should be referencing it. You might see that if at some point you had your output build back to the source destination (never a good idea) or you copied a file from a compiled output and added it to the project instead of copying a source file over. I would use the find tool to search for all instances of Madcap.css in your source files and delete that entire line from the code. Actually, that whole block of Madcap.css, your stylesheet, and the JavaScript file should be deleted. Those are added at build time. Well, your stylesheet might appear in the source, but generally that's added at build time, too.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: missing file madcap.css
Now I see why this occurred...I did have a source problem at one point and did use the compiled output to rebuild my source. Guess that was not the best idea but the only way I had to retrieve the source at the time.
Besides the code block that I posted, is there anything else that I should be removing from these (compiled, now source) files?
Besides the code block that I posted, is there anything else that I should be removing from these (compiled, now source) files?
Pam Brechlin
Freelance Technical Writer
http://www.pambrechlin.com
http://www.linkedin.com/in/pambrechlin
Freelance Technical Writer
http://www.pambrechlin.com
http://www.linkedin.com/in/pambrechlin
Re: missing file madcap.css
Hard to say since it depends on which version was used to build the output that's now your source. Most likely you'll need to rebuild some of the Flare-specific effects. For instance, the breadcrumbsProxy, miniTOCproxy, drop-down effects (maybe), and so on.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: missing file madcap.css
This post might be useful:Pamb10 wrote:Besides the code block that I posted, is there anything else that I should be removing from these (compiled, now source) files?
http://forums.madcapsoftware.com/viewto ... 13&t=13101
Re: missing file madcap.css
Thanks Lisa and Dave. Your replies are helpful and my project is looking pretty good. Probably just a few little things left to clean up.
Pam Brechlin
Freelance Technical Writer
http://www.pambrechlin.com
http://www.linkedin.com/in/pambrechlin
Freelance Technical Writer
http://www.pambrechlin.com
http://www.linkedin.com/in/pambrechlin
-
flarenewbie
- Propeller Head
- Posts: 25
- Joined: Thu Feb 16, 2012 9:47 pm
Re: missing file madcap.css
@LTinker68 : In my case the team did not import any pages from output or source of any webhelp project. It was a project that was created from scratch, but still all topics have the below code in them.
I am able to do find and replace in a single file, how do I run it in all files within the project . Within the Find & replace panel, under Options there is Look in option, but still its replacing only in the file that is currently open even though I selected "Whole project" from the Look In drop down.
Code: Select all
<link href="Resources/Stylesheets/BookStyles_Template.css" rel="stylesheet" type="text/css" />
<script src="SkinSupport/MadCapAll.js" type="text/javascript">/*<![CDATA[*/
/*]]>*/</script>Re: missing file madcap.css
After selecting "whole project," you must click the Start button (also in the Options panel). Once the full-project Find has been "Start"ed, you can then continue with the Find Next or Replace button.
As you get to the last replacement in a topic, nothing happens; you must click Find Next again to manually get to the next topic. Unless, of course, unless you have chosen to Replace in All Files, which I don't recommend.
Good luck,
Leon
As you get to the last replacement in a topic, nothing happens; you must click Find Next again to manually get to the next topic. Unless, of course, unless you have chosen to Replace in All Files, which I don't recommend.
Good luck,
Leon
-
flarenewbie
- Propeller Head
- Posts: 25
- Joined: Thu Feb 16, 2012 9:47 pm
Re: missing file madcap.css
Thanks Leon, I'll give that a shot. But what I'm more keen on finding out is why those two lines of code being inserted in all topics.Obviously those were inserted by Flare, but why would the tool link to non-existent paths?
-
wclass
- Propellus Maximus
- Posts: 1238
- Joined: Mon Feb 27, 2006 5:56 am
- Location: Melbourne, Australia
Re: missing file madcap.css
References to "SkinSupport/MadCapAll.js" and similar files usually get added to topics as the output is being generated - but should not update your source files.flarenewbie wrote:... But what I'm more keen on finding out is why those two lines of code being inserted in all topics.Obviously those were inserted by Flare, but why would the tool link to non-existent paths?
If you have ever moved output topics over the top of the source you will get this problem.
Margaret Hassall - Melbourne
-
flarenewbie
- Propeller Head
- Posts: 25
- Joined: Thu Feb 16, 2012 9:47 pm
Re: missing file madcap.css
Never did that.References to "SkinSupport/MadCapAll.js" and similar files usually get added to topics as the output is being generated - but should not update your source files.
If you have ever moved output topics over the top of the source you will get this problem.