11:00 Quick Fixes for Common Itches » MovableType.org - Home for the MT Community
Every once in a while, if you use Movable Type long enough, you can run into little glitches or things that are confusing. We thought we'd round up a couple of random ones that have seemed common lately, with the hopes that it makes things a little more fun and a little less frustrating.


This one cropped up in Movable Type 4.25 (the release where Motion was introduced). If you have a category name like "Diamonds & Pearls" and you set <mt:entries category="Diamonds & Pearls">, you get an error instead of your entries! No good. So, we made a quick little patch to fix it. Just follow the outlined steps there and you should be set.


Oooh, tricky. What's probably happened here is your mt-config.cgi file lists the full path for your site's MT install, something like StaticWebPath http://www.example.com/mt/mt-static/ but you've visited your MT install at http://example.com/mt/, without the "www" part. Because of the web browser security works, MT can't load the editor part of the Create Entry screen, and that makes everybody sad. You can get around it immediately by making sure to visit the address you have set up in your configuration file, or solve it more permanently by using a relative path instead of an absolute one. In this example, you'd replace something like  StaticWebPath http://www.example.com/mt/mt-static/with StaticWebPath /mt/mt-static/ so that MT won't be so picky about what address you're using.

Bonus Tip: The mt-config.cgi configuration options are listed here. Handy to bookmark for future reference!


You usually have to do one additional step to get scheduled tasks going on your Movable Type install. Movable Type uses a scheduling system to trigger these events. If you're simply doing scheduled entries, you can actually get Movable Type to run scheduled tasks by subscribing to your System Activity Log's feed. This is a cool little under-promoted feature that gives you an RSS feed of everything that goes on in your Movable Type install, and as a side benefit, every time your RSS reader or browser requests the feed, scheduled tasks are run.


Got a bigger site, or just want a more robust scheduling system that can handle things like a Movable Type Publish Queue? Then you'll want to set up MT's Run Periodic Tasks system. Don't worry -- if you know your way around your web server, it's not too complicated. Once you've got all that running, grab Byrne Reese's Publish Queue Manager plugin and you'll be able to see exactly what's going on with the system.

We'll try to share more tips and tricks as they pop up, but in the meantime here's one last gem to bookmark: A great page on the Movable Type wiki offering up template tag recipes to do all kinds of cool things on your site. No plugins needed, and the sky's really the limit for the ideas people have shared.

 
09:25 Share Your Google Analytics Data With Everyone » Google Analytics Blog
Almost everyone uses Google Analytics to calculate overall site traffic as a way to measure the value of their website.

Many users are clamoring for a simpler way to share their Analytics traffic data with their external stakeholders. These stakeholders, such as investors and advertisers, typically use data reported by other services to evaluate the performance of a company. Many times these estimates are significantly different than that from Google Analytics.

One way to share your Analytics data with everyone is to use our recent integration with Google Ad Planner. With this, you can replace Ad Planner traffic estimates with actual data collected by Google Analytics.

Now you can use the Google Analytics Data Export API to create your own integrations to share Google Analytics data with everyone. For example, if you use WordPress blogging software, you can display Google Analytics traffic data directly on your website using the new Analyticator plugin by Sprial Web Consulting.

Ronald Heft explains, "this plugin allows WordPress users to easily configure tracking and reporting of Google Analytics data without having to manually edit their WordPress template files. The plugin uses the new Google Analytics API to retrieve the unique visitor information and display it directly on your blog."

Example of the Analyticator plugin display

To use the plugin, download it from the WordPress plugin Website or just search for, "analyticator" in the "Add a New Plugin" section of the WordPress Administration page. According to Heft, Sprial plans to surface more Google Analytics API data, such as a summary dashboard of website statistics and a widget to display the most popular pages.

We're looking forward to watching the evolution of this plugin and excited to see the applications developers are building with the Google Analytics Data Export API.

Posted by Nick Mihailovski, The Google Analytics API Team

^==Back Home: www.chedong.com

^==Back Digest Home: www.chedong.com/digest/

<== 2009-05-21
  五月 2009  
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
==> 2009-05-23