<?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: WYSIWYG website editing with Browser XForms in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194985#M148115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah that's the XForms plugin.&amp;nbsp; It's pretty awesome for generating complicated forms quickly and plugging in other XML data models from web scripts, like "all images in folder x" or "all files with extension y"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To define editable areas, I just wrapped the content fragments in tags, so each editor has a configurable start and end marker.&amp;nbsp; That works for almost all content, except for things like the text inside a title.&amp;nbsp; There are so many ways of marking things though, and it doesn't have to be start and end tags, it could be ids or tag types.&amp;nbsp; Anything really.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2009 16:58:02 GMT</pubDate>
    <dc:creator>damonsmith</dc:creator>
    <dc:date>2009-02-24T16:58:02Z</dc:date>
    <item>
      <title>WYSIWYG website editing with Browser XForms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194980#M148110</link>
      <description>Hi all, This is unrelated to the other recent WYSIWYG thread.&amp;nbsp; Having looked at web forms, they seem to inflexible and hard to develop for what I need.&amp;nbsp; To get around that, I've built a prototype that uses the mozilla XForms plugin instead, some javascript to display and update the web page inline,</description>
      <pubDate>Tue, 10 Feb 2009 16:47:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194980#M148110</guid>
      <dc:creator>damonsmith</dc:creator>
      <dc:date>2009-02-10T16:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: WYSIWYG website editing with Browser XForms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194981#M148111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Damon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope things are okay with you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you've done sounds very interesting. Can you elaborate a little more please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 08:43:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194981#M148111</guid>
      <dc:creator>tommorris</dc:creator>
      <dc:date>2009-02-19T08:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: WYSIWYG website editing with Browser XForms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194982#M148112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad you asked Tom &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't use Alfresco to serve site content, only to deploy it where our content server app can read it.&amp;nbsp; This content server is a java app that "includes" template files together to make pages, and overrides files for different languages and regions to provide the option of minor or complete customisation of the site for regions and locales, while still falling back to the default site for non-overriden bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was considering how to make editing the content in this system easier, and came to the conclusion that if the browser could identify each file fragment in the generated page, I could write some javascript to overlay editors on the content, and then post the changes back to Alfresco.&amp;nbsp; We've already built the content server app which uses velocity.&amp;nbsp; We have a velocity macro to do the file inclusion so I added an edit-mode for that macro where it marks editable file fragments with surrounding tags and comments.&amp;nbsp; These tags and comments are picked up by the editor javascript, which adds mouseovers and options for editing the content inline in the page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These changes can then be posted back to an Alfresco web script which updates the AVM.&amp;nbsp; This on it's own is quite useful, but then if I load the app into the Alfresco preview server in edit-mode, all of a sudden the process for editing the website becomes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Login to Alfresco and find your web project&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Click on preview in your sandbox&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Find the part of the site you want to edit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Click on the edit tab and change it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. When you're happy, hit the submit changes button&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Go to Alfresco web project page and hit submit all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a config file for matching editor types up to file fragments and templates, and a few different editor types to use.&amp;nbsp; I think the template editor is very useful, but the user has to install the firefox XForms plugin to use them.&amp;nbsp; (You could also build an HTML forms based editor that converted things to XML, or templated some other way, as long as it generates some text.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does that make sense?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 15:08:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194982#M148112</guid>
      <dc:creator>damonsmith</dc:creator>
      <dc:date>2009-02-19T15:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: WYSIWYG website editing with Browser XForms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194983#M148113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nice!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FWIW this is quite similar to the architectural model that Web Studio (&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Studio" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Studio&lt;/A&gt;&lt;SPAN&gt;) uses, although there are some minor variations in the details (eg. the use of the browser-side XForms).&amp;nbsp; In fact Alfresco (not to mention the wider community) are increasingly moving in this direction, where the main Alfresco server becomes a "headless" content repository, and multiple use-case-specific UIs (Share, Web Studio, Flex Spaces, …) interact with that repository via REST.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 17:34:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194983#M148113</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2009-02-19T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: WYSIWYG website editing with Browser XForms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194984#M148114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it this that you're using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.mozilla.org/projects/xforms/" rel="nofollow noopener noreferrer"&gt;http://www.mozilla.org/projects/xforms/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This sounds like a good idea when there's a need to write a highly tailored (probably limited-functionality) web-interface for WCM content authors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I like it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you use CSS 'class' attribute values to identify editable portions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 15:58:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194984#M148114</guid>
      <dc:creator>tommorris</dc:creator>
      <dc:date>2009-02-23T15:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: WYSIWYG website editing with Browser XForms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194985#M148115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah that's the XForms plugin.&amp;nbsp; It's pretty awesome for generating complicated forms quickly and plugging in other XML data models from web scripts, like "all images in folder x" or "all files with extension y"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To define editable areas, I just wrapped the content fragments in tags, so each editor has a configurable start and end marker.&amp;nbsp; That works for almost all content, except for things like the text inside a title.&amp;nbsp; There are so many ways of marking things though, and it doesn't have to be start and end tags, it could be ids or tag types.&amp;nbsp; Anything really.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 16:58:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wysiwyg-website-editing-with-browser-xforms/m-p/194985#M148115</guid>
      <dc:creator>damonsmith</dc:creator>
      <dc:date>2009-02-24T16:58:02Z</dc:date>
    </item>
  </channel>
</rss>

