The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Directly editting pages/...xml files
#1
As a developer I often like to bypass the CMS feature of GetSimple and edit our site directly via a good text editor and FTP. The CMS features are great for those of our staff who don't know web development.

I don't think there is any good reason to be escaping all of the < and > characters within the <content> section of the page.xml files. It would make sense to escape them in a case where malformed HTML could interfere with the interpretation of XML. But all of the code is inside <![CDATA[ ]]> elements so it is already properly segregated. Would it not make sense to NOT escape it so that these files are more easily editted by hand for those expert users who are familiar with the technologies?

Why would I want to edit these by hand? For the simple reason that text editors have proper editting features way beyond what can be provided by an in-page editor. For our non-technical staff that is fine.
Reply




Users browsing this thread: 1 Guest(s)