|
DeveloperQuestions:
How do I compare if a date is older than 7 days in RXML?Convert the date to seconds, add 7 days and compare with the current time. This solution is not accurate regarding turn of the day but is usualy sufficient.
How to extract the last 7 characters from a string in RXML?Calculate the number of characters to remove from the string and extract the other part with the string processing tag >sscanf< available in the "Additional RXML tags" module. Note, this module is not loaded by default and has to be loaded manualy.
How do I make Forums from Instant usable from CMS?Set up one Instant site and one CMS site and use "HTTP Relay module" to relay the request.
When we're using the sb-edit-area tags within Roxen 2.2, what encoding are XML files saved with and can we force a particular encoding when creating/saving a file?The encoding of XML files in sitebuilder is default the one specified by the file language, usually ISO-8859-1, and can be specified by the XML declaration at the top of the file. When a file is saved Roxen encodes the internal representation of the string to the encoding specified in the declaration. The XML declaration is also used to decode the file when it is read. Note that it is not permitted to have whitespaces before the XML-declaration. The tag <?xml version="1.0" encoding="utf-8"?> has to be in the absolute beginning of the file. By the way, you might need to use the <roxen-automatic-charset-variable/> inside the <form> tag to make sure roxen decodes the request variables correctly. |
|||||||||||||||||||||||||||