WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Caspio Deploy2

Enables Shortcodes for SEO or embedded deployment of Caspio cloud computing database applications.

Caspio is an online database featuring web-based tools for designing database tables, forms, reports, charts and graphs, and more complicated applications like store locators with Google Maps mashups. Applications can be created without programming, and embedding them in your website is as easy as copying and pasting a code snippet.

The Caspio Deploy2 plugin enables Shortcode placeholders that further streamline the deployment of Caspio applications. The shortcodes can be used for SEO deployment of content, as well as embedding the AJAX widget used to display Caspio forms. Caspio Deploy2 replaces the earlier Caspio Deployment Control plugin (which did not use shortcodes).

Every Caspio application has a unique address at caspio.com, but most Caspio users want to embed these applications in their own websites. Caspio provides code snippets you can paste into any web page, but pasting JavaScript or PHP code into the WordPress editor is awkward. The Caspio Deploy2 plugin lets you instead paste the application URL into a [caspio] shortcode format, and the plugin generates the required JavaScript code or calls the PHP functions.

See the Screenshots tab for an illustration of how to obtain the Caspio URL for an application by toggling the DataPage deployment wizard to "Direct from Caspio".

You can then use any of the following Shortcode formats:

Embedded Deployment / AJAX Widget

[caspio]http://b4.caspio.com/dp.asp?AppKey=5F422000c3f2d8h4d3c9f4b9g9e0[/caspio]

or

[caspio embed="https://b4.caspio.com" key="5F422000i9f9a0h4e2i7c9g6c9c3"]

SEO Deployment

[caspio seo="http://b4.caspio.com/dp.asp?AppKey=5F422000c3f2d8h4d3c9f4b9g9e0" style="l"]

This can also be formatted as:

[caspio url="http://b4.caspio.com/" key="5F422000c3f2d8h4d3c9f4b9g9e0" style="l"]

Or you can embed the whole PHP code snippet for SEO Deployment:

[caspio]
<!-- Begin Caspio Deploy Code (for inserting in body) -->
<?php require_once('http://b4.caspio.com/scripts/dpload.txt');dpload('http://b4.caspio.com/','5F422000c3f2d8h4d3c9f4b9g9e0','l');?>
<!-- End Caspio Deploy Code -->
[/caspio]

Instead of having WordPress execute the PHP code, WordPress extracts the parameters from the dpload function call. You can also delete everything except those parameters:

[caspio]
'http://b4.caspio.com/','5F422000c3f2d8h4d3c9f4b9g9e0','l'
[/caspio]

The style parameter you would use with the first two examples is the third parameter in the dpload function call. If you omit the style parameter, the plugin uses "l" (lower case "L") as the default.

In order to deploy a Caspio Bridge SEO DataPage in WordPress, you must have:

  • Caspio Bridge account with activated SEO deployment and properly configured DataPage
  • Installed and activated the Caspio Deploy2 plugin for WordPress.

For information about Caspio Bridge see the Caspio official site at http://www.caspio.com

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 2013-10-24
Downloads: 1,607

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1
100,2,2 100,1,1