<?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 no spaces in content name in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195037#M148167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to ensure that users do not enter spaces in the "Name" of the content they are creating when using a webform.&amp;nbsp; I would like to either prevent them from creating web pages with spaces in the page name or else replace the spaces with underscores "_".&amp;nbsp; Also is there any way of preventing them from using capitalisation for a web page name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2008 00:13:46 GMT</pubDate>
    <dc:creator>boneill</dc:creator>
    <dc:date>2008-10-10T00:13:46Z</dc:date>
    <item>
      <title>no spaces in content name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195037#M148167</link>
      <description>Hi All,Is there any way to ensure that users do not enter spaces in the "Name" of the content they are creating when using a webform.&amp;nbsp; I would like to either prevent them from creating web pages with spaces in the page name or else replace the spaces with underscores "_".&amp;nbsp; Also is there any way of p</description>
      <pubDate>Fri, 10 Oct 2008 00:13:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195037#M148167</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2008-10-10T00:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: no spaces in content name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195038#M148168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can control the output of the renditions by changing the output path of the webform; you can use freemarker and some regular expression replacement techniques to replace the whitespace / other annoying characters. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, it might be better using hyphens as opposed to underscores; not sure if it's changed recently, but google at least still treats underscores as important characters, whereas dashes are treated for the most part as whitespace.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 00:48:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195038#M148168</guid>
      <dc:creator>marcus</dc:creator>
      <dc:date>2008-10-15T00:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: no spaces in content name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195039#M148169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Marcus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to ensure that the xform file has no spaces in its name (ie xml with the values the user entered) not the renditions generated by transformations.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;you can use freemarker&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;.&amp;nbsp; Can you apply freemarker to the name of the xform file.&amp;nbsp; Have you any examples of this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 21:32:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195039#M148169</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2008-10-15T21:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: no spaces in content name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195040#M148170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The XML output name can be customised also, check the first step of the webform wizard. Something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;${name?lower_case?replace('[^a-z0-9.-_]+', '-', 'r')?replace('-+', '-', 'r')?replace('-+$', '', 'r')}.xml&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;should do what you're after.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2008 04:18:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195040#M148170</guid>
      <dc:creator>marcus</dc:creator>
      <dc:date>2008-10-30T04:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: no spaces in content name</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195041#M148171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marcus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for that.&amp;nbsp; Will try it out today.&amp;nbsp; I hope that you had a good honeymoon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Nov 2008 20:55:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/no-spaces-in-content-name/m-p/195041#M148171</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2008-11-02T20:55:46Z</dc:date>
    </item>
  </channel>
</rss>

