10:38 Features of 4.3: Entry Pagination » MovableType.org - Home for the MT Community

Up until the general release of MT 4.3 (beta info here), we are publishing details on the features of 4.3. Today we're looking at entry pagination.

1,000 Entries

One of the categories on my blog is now up to nearly 1,000 entries and it has become difficult to display them. Movable Type offers the ability to split up the category content by date (e.g., Category-Monthly archives), but that would still require me to publish all of the content statically. I could use dynamic publishing, but then I would lose the speed of a statically published page on the front-end.

Situations like these, and a long-standing pubilc request, is why we're now introducing a dynamic way to paginate your index and archive templates using MT-Search. With this solution, you're able to publish the first 10 or 20 (or whatever you'd like) entries statically and paginate through the remainder dynamically. What's even better is that it only requires a few changes to your index or archive template to generate the content for MT-Search.

Getting Pagination on Your Blog

We've put together a guide to paginating with static templates that provides details on the new querystring parameters and sample template code. It's based on the classic template set included in MTOS, but could certainly be used as an example for other template sets. If you see any issues or improvements we can make, please leave comments here or on that page!

Bonus Feature!

In addition to allowing for entry pagination, you can now limit your searches by author, category or date. For example, if I was going to search my blog for 'sneaker', the URL would look like this:

http://mydomain.com/cgi-bin/mt/mt-search.cgi?IncludeBlogs=1&search=sneaker

If I wanted it to limit it to only entries in 2007, I'd use this:

http://mydomain.com/cgi-bin/mt/mt-search.cgi?IncludeBlogs=1&search=sneaker&archive_type=Yearly&year=2007

If I only wanted to look in the category 'Design', which has an ID of 40, I'd use this:

http://mydomain.com/cgi-bin/mt/mt-search.cgi?IncludeBlogs=1&search=sneaker&category=40

And if I wanted to limit to an author with the ID of 2, I'd use this:

http://mydomain.com/cgi-bin/mt/mt-search.cgi?IncludeBlogs=1&search=sneaker&author=2

The one caveat here is that, unlike entry pagination, you'll need to use the search template for these. See the entry pagination guide for more details.

09:50 Now We're Really Tweeting » Google Analytics Blog
A few weeks ago, we mentioned some Google Analytics and Website Optimizer focused tweets that you can follow. Well now, as you can see if you glance over to the "Subscribe" section on the right, we've got an official Google Analytics Twitter account. Follow us at twitter.com/googleanalytics.

Here are some of our latest tweets:

GA Tip in 140Char: Segment regions in the Map Overlay report by Keyword to see regional search trends
4:44 PM Jul 22nd from web

@drumFunny For optional parameters that have no values you can use an empty string. More here: http://tr.im/tAmL
3:25 PM Jul 22nd from web in reply to drumFunny

@redduck666 Requested duly noted Almir. Thank you.
3:15 PM Jul 22nd from web in reply to redduck666

@thegrif Segmented sums do not equal the non segmented sum. Each dimension could have some overlap.
3:14 PM Jul 22nd from web in reply to thegrif

Want to learn more about GA? Google Analytics Learning Resources Roundup: http://tr.im/rqUR Enjoy!
2:28 PM Jul 8th from web

One of the easiest & fun guides to setting up Goals & Funnels:http://tr.im/mJST Bonus points for setting up goal values.
5:25 PM Jul 6th from web

New Google Website Optimizer feature added today, it automagically stops showing poorly performing combos:http://bit.ly/ir8JK
3:57 PM Jul 6th from TweetDeck

Ever wonder how to use Google Analytics and Website Optimizer together? Watch the quick new shiny video: http://bit.ly/W10qI
5:48 PM Jul 2nd from TweetDeck



^==Back Home: www.chedong.com

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

<== 2009-07-23
  七月 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-07-25