Category: Code
This area of the site is dedicated to code snippets for quick and easy reference
Read Online Content
With this example I only want an IP address so it’s rather clean and easy but you can essentially put any public webpage in place of “http://kittell.net/onlyip.php”
HTML5 Geolocation
[raw] Click the button to get your coordinates: Try It [/raw] Source: http://www.w3schools.com/html/html5_geolocation.asp
Remove HTML Tags
This script will remove all HTML tags from a given column in a table, useful if you need to simply have the text. Source: http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/
Unix Time Conversion
When integrating various systems you sometimes need to convert DateTime values to an Integer, the code samples below will be helpful
Clone A Menu Into Multiple Languages
Source: http://www.codeproject.com/Articles/275767/Ektron-SQL-Script-To-Clone-A-Menu-into-Multiple-La
Ektron Reserved Files And Folders
The following files and folders are pre-installed/configured by the Ektron site setup. Most of them can be configured through the web.config. FOLDERS %WebRoot%/Assets/ DMS storage location of public uploaded assets %Drive%:/%CustomPath%/AssetLibrary/%SiteName%/ DMS storage location defined during site setup %WebRoot%/AssetManagement/ DMS application files used to upload/view DMS assets %WebRoot%/UploadedFiles/ Where the…
Ektron Current Version
This script will display the current Ektron version. Works In: 8.0.2, 8.5, and 8.7 Source: http://www.skonet.com/Articles_Archive/Helpful_Sql_Scripts_for_Ektron_CMS_400_Net.aspx