Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import HTML XPress no go... 2

Status
Not open for further replies.

Kyra102

Technical User
Sep 7, 2003
3
US
HELP! Our software company just did a major rewrite...long story...outcome? Now we can dump major files for complex data (books, catalogs, etc.) to HTML files in easy to organize and sort file structure. Great, after all it was my idea...since it would be easy for prepress systems like Quark to pick up the HTML and use it for the styles. Right?

Here is my nightmare. Using Quark Xpress 5.0, when I go to Get Text and grab any of the html documents, they bring in all the HTML code as if it were a big flat text file (Quark is not converting the HTML). I am looking really bad, and so far everything I read says that it "should" work....but it doesn't.

Ideas? Xtensions manager shows HTMLImport to be active.

 
Does the Quark import Xtension require a line at the beginning of the file that describes that it is an HTML file rather than deciding for itself?

Duncan
 
Duncan,

I don't know, I have never used import Xtension for HTML import before. The files are named with .html extensions, and I have been able to import them successfully into other prepress programs (e.g. Adobe Pagemaker)retaining the styles.

What kind of a line at the beginning of the file would be worth trying to "tell" the program this is an HTML file. Clearly, it is reading it as an ASCII text file at this point.
 
I just did a quick test, and HTML import seems ok on my system. Did you check the XTensions manager (under Utilities) to make sure the HTML Text Import Xtension is loaded?
 
Kyra

I couldn't tell you exactly how the HTML import works as I've never tried it. However, the Xpress Tags does have a string of text - a kind of header - that indicates that it is an Xpress Tags file. I just wondered if the HTML file would require a similar header.

I'll see if I can find anything...

Duncan
 
The HTML file I tried was pretty basic, and the xtension shouldn't need any special headers, other than the normal HTML tags. Try something like:
Code:
<html>
<body>
<h1>Sample Heading</h1>
<p>Sample paragraph</p>
</body>
If that still comes in as plain text, there may be a problem with the XTension.
 
Awesome!

Thank you! Thank you! It turns out that when the new software program pulled the content out in HTML it left out a line of code (just as you both expected) at the top of the &quot;page&quot;. As a result, Quark read it as text.

Thanks to you, I was able to go back to the QA team and programmers and look like a hero rather than a goat.

Kyra [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top