My apologies, but I left out a critical element from the code in my last post. If you use the code I originally posted, it will write ALL of your Texty’s into a single page.
I should have included a line that will compare the actual URL with the values from your JSON feed to determine whether or not to write a particular Texty:
Here’s the corrected code (I’ve also corrected the code in the original post):
Continue reading “Update to code from previous post”
Digging a little deeper, we find that Texty can even be used with more advanced features. Let me show you how to combine AjaxIncludes , JSON feeds from Zoho Creator , and Texty content management into a single powerful site-building tool.
First, you will want to use the AjaxIncludes scripts to build your site framework. Remember that these elements will not be indexed as part of your site, but that’s OK because they are just the design elements of your page. This can include items like your page banner, navigation structure, and a blank “block” for your page’s content. I’ll use the following assumptions in this example:
You are using Microsoft Office Live Basics (MOLB), so all of your files are stored in the same directory: http://yoursite.com/Documents/.
You have already saved a copy of the AjaxIncludes script from Dynamic Drive as a separate file in your site at http://yoursite.com/Documents/AjaxIncludes.txt (You don’t want to save files with the “.js” extension if you are using MOLB).
You have created the following files to provide the framework for your site:
banner.htm (The main banner for your page)
navigation.htm (The top navigation structure for your page)
footer.htm (The footer for your page)
With this structure in place, you are ready to build a blank page like this:
Continue reading “Advanced Content Management: Using AjaxIncludes, JSON feeds, and Texty together”
Continue reading “Content Management Simplified: Texty”
However, there are a few drawbacks to using JSON feeds to provide your site content, so I wanted to use this post to weight some of the pros and cons of using JSON feeds to deliver custom content to your site.
Continue reading “Content Management using JSON: Pros and Cons”