FWE HTML Macros
To help our Wiki product produce web sites which look very unique from other Wiki type of sites, we implemented a macro parser. All pages are physical files stored on the web server, an HTML file implements the following macros which are replaced at run-time.
All macros start with ### and end with ###. So, the "NOW" macro looks like ###NOW###.
These are for a request which contains information in the database
###CONTENT###
FWE replaces this MACRO with the HTML version of the Wiki page. This is usually used on a page template for visitors.
###RAWCONTENT###
FWE replaces this MACRO with the Wiki Markup version of the Wiki page. This is usually used on the edit template for making changes to a page.
###SPLIT_PAGE###
###PAGE###
###HITS###
###SEARCH_MATCHES###
###CREATED###
###LASTMODIFIED###
###VERSION###
###AUTHOR###
###NOW###
###COMPANY_NAME###
###SCRIPTURL###
###CLIENTIP###
###NEWPAGE###
###VIEW_SCRIPTNAME###
###EDIT_SCRIPTNAME###
###ADD_SCRIPTNAME###
###SEARCH_SCRIPTNAME###
###WIKI_VERSION###
###DOCUMENT_ROOT###
###REQUEST_URI###
###REFERER###
###RESULTS###
###TAGS_OVER_5###
###TAGS_OVER_5_LIST###
###MATCHED_WORDS###
###MATCHED_WORDS_LIST###
###INPUT_SEARCHED_WORDS###
###COOKIE###
###ADMIN###
###SCRIPTFILE###
###USER_AGENT###
###PAGEURL###
###KEYWORDS###
###DESCRIPTION###
###5BEST_INCOMING###
###5BEST_OUTGOING###
###5MOST_POPULAR###
###TIME_ELAPSED###
These are for a request which does not contain information in the database
###NOW###
###COMPANY_NAME###
###CLIENTIP###
###NEWPAGE###
###VIEW_SCRIPTNAME###
###EDIT_SCRIPTNAME###
###ADD_SCRIPTNAME###
###SEARCH_SCRIPTNAME###
###WIKI_VERSION###
###DOCUMENT_ROOT###
###REQUEST_URI###
###REFERER###
###COOKIE###
###ADMIN###
###SEARCH_MATCHES###
###SCRIPTFILE###
###USER_AGENT###
###PAGEURL###
###PAGE###
###SITEMAP###
###TIME_ELAPSED###
###TAGS_OVER_5###
###TAGS_OVER_5_LIST###
###5MOST_POPULAR###
Search Engine
Topics Linked to here
Topics this links to
| none |

