<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Change HTML Title During Save as HTML in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285649#M55126</link>
    <description>&lt;P&gt;There have not been any additions to the Save HTML() function in JMP 15.&amp;nbsp; However, you can simply read the file back in and change the title to whatever you want, and then save it back again.......as you suggested&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt &amp;lt;&amp;lt; Bivariate( y( :weight ), x( :height ) );
rbiv = biv &amp;lt;&amp;lt; report;

// Save the display
rbiv &amp;lt;&amp;lt; Save HTML( "$TEMP/myversion2.html" );

// Read it back into JMP as a text string
myHTML = load text file("$TEMP/myversion2.HTML");

// Modify the "JMP Output", to whatever you want
myHTML = substr(myHTML, 1, contains(myHTML,"JMP Output")-1) || "This is the Title" ||
	substr(myHTML, contains(myHTML,"JMP Output")+10);

// Save the file back to the original location
save text file("$TEMP/myversion.HTML", myHTML);

// Open the HTML file as validation
open("$TEMP/myversion.HTML");&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Aug 2020 22:34:06 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-08-12T22:34:06Z</dc:date>
    <item>
      <title>How to Change HTML Title During Save as HTML</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285517#M55107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have JSL script which uses&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Save HTML&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to convert Jmp&amp;nbsp;summary table and Chart to HTML file.&amp;nbsp;Currently, each HTML file has title of "JMP Output" as shown below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First line in HTML file post conversion:&lt;/P&gt;&lt;P&gt;&amp;lt;!doctype html public "-//W3C//DTD HTML 4.0//EN"&amp;gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;&lt;STRONG&gt;JMP Output&lt;/STRONG&gt;&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have &lt;EM&gt;several&lt;/EM&gt; HTML files and would like to distinguish tab in web browser by unique title. Is there a way of converting Jmp data to HTML with option to set title in HTML file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using Jmp12.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:34:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285517#M55107</guid>
      <dc:creator>lad1</dc:creator>
      <dc:date>2023-06-09T23:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change HTML Title During Save as HTML</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285618#M55118</link>
      <description>There does not seem to be an option in JMP 12 to change the window title in the HTML.</description>
      <pubDate>Wed, 12 Aug 2020 19:35:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285618#M55118</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-08-12T19:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change HTML Title During Save as HTML</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285636#M55122</link>
      <description>&lt;P&gt;If I upgrade to Jmp15, would I get the required feature that allows changing HTML title?&amp;nbsp; If not, is there any other way in JSL to change HTML title or should I simply resort to Python to update HTML file title string?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 21:18:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285636#M55122</guid>
      <dc:creator>lad1</dc:creator>
      <dc:date>2020-08-12T21:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change HTML Title During Save as HTML</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285649#M55126</link>
      <description>&lt;P&gt;There have not been any additions to the Save HTML() function in JMP 15.&amp;nbsp; However, you can simply read the file back in and change the title to whatever you want, and then save it back again.......as you suggested&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt &amp;lt;&amp;lt; Bivariate( y( :weight ), x( :height ) );
rbiv = biv &amp;lt;&amp;lt; report;

// Save the display
rbiv &amp;lt;&amp;lt; Save HTML( "$TEMP/myversion2.html" );

// Read it back into JMP as a text string
myHTML = load text file("$TEMP/myversion2.HTML");

// Modify the "JMP Output", to whatever you want
myHTML = substr(myHTML, 1, contains(myHTML,"JMP Output")-1) || "This is the Title" ||
	substr(myHTML, contains(myHTML,"JMP Output")+10);

// Save the file back to the original location
save text file("$TEMP/myversion.HTML", myHTML);

// Open the HTML file as validation
open("$TEMP/myversion.HTML");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Aug 2020 22:34:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285649#M55126</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-08-12T22:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change HTML Title During Save as HTML</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285651#M55128</link>
      <description>&lt;P&gt;&amp;nbsp;That works for me! No need to use other scripting language.&amp;nbsp;Thanks Jim.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 22:56:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285651#M55128</guid>
      <dc:creator>lad1</dc:creator>
      <dc:date>2020-08-12T22:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change HTML Title During Save as HTML</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285652#M55129</link>
      <description>I am a bit confused....the response you marked as being the solution does not have a solution in it.  The purpose of marking an entry as a solution is to provide a direct route for future readers to get the information they need quickly.  I suggest you remove the Solution marker for your response, and to mark the response that actually shows the solution.</description>
      <pubDate>Wed, 12 Aug 2020 23:23:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Change-HTML-Title-During-Save-as-HTML/m-p/285652#M55129</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-08-12T23:23:06Z</dc:date>
    </item>
  </channel>
</rss>

