<?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: editing imported html in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/editing-imported-html/m-p/143615#M100469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guys:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you can't just use TinyMCE to edit imported HTML pages.&amp;nbsp; TinyMCE is designed to create and edit HTML fragments.&amp;nbsp; If you have an existing web page, if you attempt to open in TinyMCE, all your Javascript and such will get munged and corrupted by TinyMCE.&amp;nbsp; That's why it's disabled.&amp;nbsp; People were importing static sites and then instead of using the standard editor they used to create the page, tried using TinyMCE.&amp;nbsp; Their pages were munged and unpreviewable.&amp;nbsp; They'd have to Undo their changes and revert their sandboxes back to the latest version of Staging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What to do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create one simple web form, article.&amp;nbsp; Make it have two elements:&amp;nbsp; a title (xs:normalizedString) and a body (xs:string).&amp;nbsp; Then, take your HTML page, save as a *.ftl, and mark-up to make a Freemarker template (add a Freemarker decorator as your first line, declare your XML namespaces, and then delete all the body content and reference instead the body element in your XML.&amp;nbsp; Create a new XML, generate your page, and then on an ongoing basis, users can edit HTML page - but the body only - using TinyMCE.&amp;nbsp; And because it's a template, if you change your template, you can use our Regenerate wizard to re-build all your HTML pages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a slight bit more work, but it'll make your static HTML pages based on XML and standard templates in a pretty quick, straightforward manner.&amp;nbsp; That's part of the power of Freemarker, btw - any HTML page can serve as the basis of a Freemarker template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We go through this exercise in our WCM Training course.&amp;nbsp; I encourage you to sign up!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2007 01:55:07 GMT</pubDate>
    <dc:creator>kvc</dc:creator>
    <dc:date>2007-11-23T01:55:07Z</dc:date>
    <item>
      <title>editing imported html</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-imported-html/m-p/143613#M100467</link>
      <description>Hi,I imported my existing website as a test and notice that it doesn't allow me to edit html files inline.&amp;nbsp; However if I create a new file in a web project and enable inline editing in the properties at the end of the wizard it seems to work fine.How do I enable in-line html editing of a bulk-import</description>
      <pubDate>Tue, 06 Nov 2007 13:16:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-imported-html/m-p/143613#M100467</guid>
      <dc:creator>sigei</dc:creator>
      <dc:date>2007-11-06T13:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: editing imported html</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-imported-html/m-p/143614#M100468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I imported my existing website as a test and notice that it doesn't allow me to edit html files inline.&lt;BR /&gt;[…]&lt;BR /&gt;How do I enable in-line html editing of a bulk-imported site? Is this disabled intentionally?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Same same problem… I was looking around for the same answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually, when I create a "html" web content in a web project, I can write it by the inline html-editor, but when I try to edit it again, I have to download/upload… exactly as after a bulk import.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been able to enable inline editing only on contents in Spaces that are not under a web project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paolo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:25:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-imported-html/m-p/143614#M100468</guid>
      <dc:creator>paolo_bettini</dc:creator>
      <dc:date>2007-11-06T14:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: editing imported html</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-imported-html/m-p/143615#M100469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guys:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you can't just use TinyMCE to edit imported HTML pages.&amp;nbsp; TinyMCE is designed to create and edit HTML fragments.&amp;nbsp; If you have an existing web page, if you attempt to open in TinyMCE, all your Javascript and such will get munged and corrupted by TinyMCE.&amp;nbsp; That's why it's disabled.&amp;nbsp; People were importing static sites and then instead of using the standard editor they used to create the page, tried using TinyMCE.&amp;nbsp; Their pages were munged and unpreviewable.&amp;nbsp; They'd have to Undo their changes and revert their sandboxes back to the latest version of Staging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What to do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create one simple web form, article.&amp;nbsp; Make it have two elements:&amp;nbsp; a title (xs:normalizedString) and a body (xs:string).&amp;nbsp; Then, take your HTML page, save as a *.ftl, and mark-up to make a Freemarker template (add a Freemarker decorator as your first line, declare your XML namespaces, and then delete all the body content and reference instead the body element in your XML.&amp;nbsp; Create a new XML, generate your page, and then on an ongoing basis, users can edit HTML page - but the body only - using TinyMCE.&amp;nbsp; And because it's a template, if you change your template, you can use our Regenerate wizard to re-build all your HTML pages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a slight bit more work, but it'll make your static HTML pages based on XML and standard templates in a pretty quick, straightforward manner.&amp;nbsp; That's part of the power of Freemarker, btw - any HTML page can serve as the basis of a Freemarker template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We go through this exercise in our WCM Training course.&amp;nbsp; I encourage you to sign up!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 01:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-imported-html/m-p/143615#M100469</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-11-23T01:55:07Z</dc:date>
    </item>
  </channel>
</rss>

