Download Latest Version exponent-3.0.2.zip (44.1 MB)
Email in envelope

Get an email when there's a new version of Exponent CMS

Home / Samples
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-02-28 3.3 kB
import_wp_posts.php 2023-02-25 25.4 kB
eaas_test3.html 2023-02-25 7.6 kB
English - US.php 2022-07-27 840 Bytes
eaas_test2.html 2018-03-22 5.6 kB
Feed Reader 2.zip 2018-03-22 129.4 kB
eaas_test.html 2017-04-12 4.5 kB
antispam-test.php 2016-11-08 6.3 kB
overrides.php 2016-02-12 608 Bytes
eaas.json 2015-12-18 17.5 kB
Feed Reader.zip 2015-12-16 277.2 kB
Totals: 11 Items   478.2 kB 0

Exponent Content Management System..

===============================================

Copyright (c) 2004-2023 OIC Group, Inc.

This folder contains sample code/files for Exponent.

  • eaas_test3.html is an updated example of how to use the Exponent As A Service module in javascript. Most variables can now be entered from the form instead of having to edit the file..

  • English - US.php is an example custom language file to convert an English-US Exponent eCommerce site from products to books. It will change displayed key phrases from products to those which are book related. E.G., SKU into ISBN, Manufacturer into Publisher. Additionally it converts references to Zip Code to display as Postal Code, for non-US stores. The file should be downloaded an placed within your theme folder within a new subfolder named 'lang'. It should be noted, the custom language file must have the same name as the language file being used by the web site.

  • import_wp_posts.php is an example CLI script to import posts from a WordPress web site into an Exponent Blog. You must have access to the WP database! The script also attempts to copy over all post attachments. You may have to create some custom styles and clean up the posts for them to display similar to the WordPress site. This script will also create Exponent Users if they do not already exist.

  • eaas_test2.html is an (updated with dynamic selection of desired module) example of how to use the Exponent As A Service module in javascript. To become usable, you must 1) add and configure an EAAS module and its aggregated modules (this example is set to 'news') on your web site, and 2) edit this file with the EAAS module API Key and the site url.

  • Feed Reader 2.zip is the source code (updated with dynamic selection of desired module) for a sample Android app which receives is data from an Exponent EAAS module. It is a user-interactive version of the eaas_test.html page. It provides a list of items from the website in the selected module(s) and allows the user to pull up each item for details, allowing them to share the item or view it on the website.
    The 'about this app' details are also pulled from the website. This package does NOT include the compiled app, but the code may be compiled using the Android Studio IDE and it creates an app which connects to the Exponent CMS test web site out-of-the-box.

  • eaas.json is a sample json response from an EAAS request (news, 5 items). This may be useful in your testing or understanding of the response format.

  • antispam-test.php is a script is a simple test of the reCaptcha widget. You install it in the root of your Exponent installation. It is run by typing the full filename in the url (www.mysite.org/antispam-test.php), which will report missing keys or present a sample form for testing. You can use google test keys by passing a 'test' parameter (www.mysite.org/antispam-test.php?test=1).

  • overrides.php is a sample overrides.php file. While this file is auto-generated during an installation if needed (some server scenarios when running site from a subfolder), it can also be used early in the page build process to add site specific settings. This sample file includes some desired fixes.

Source: README.md, updated 2023-02-28