Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Pepper suggestion: Popular pages snippet

Since Mint knows what pages are popular, a pepper would be the perfect way to produce a cross-blog platform list of the most popular posts to include on your site that you could then include on your blog via a server side include.

This wouldn’t be a pane based pepper, but Notification has shown us that not all peppers need to have panes in the mint folder.

The pepper should:

  • Allow you to pick how many days you want to go back.
  • Let you style your list in CSS.
  • Alternatively let you specify a blacklist of URIs to ignore, or a whitelist of only those to use.

Anyone, feel free to run with this one!

philipj
Minted
Posted on Feb 16, '07 at 09:05 pm

I’d definitely be interested in a pepper like this!

I would think that it would better to specify the HTML structure of the list, and then let you define CSS outside of the Pepper preferences.

Shaun Inman
Mint/Pepper Developer
Posted on Feb 17, '07 at 03:31 pm

I believe someone has created a Wordpress plugin that does something very similar.

astereo
Third-Party Pepper Developer
Posted on Feb 19, '07 at 08:31 am

Yeah, there is a WP plugin that does this, but it doesn’t work if WP / Mint are in different DB’s

There is yes, but it’s not really a plug n go plugin, if Mint uses a different db you have to hack it somewhat - http://ellisweb.net/2006/03/wp-mint-popular-posts and Im sure someone could improve on it hugely.

Yaakov Ellis
Third-Party Pepper Developer
Posted on Feb 20, '07 at 11:46 am

FYI: I just posted a new release (0.93) of the Mint Popular Posts plugin - the main additional functionality is the ability to pull data from a database other than your Wordpress DB.

Nice, Ill give it a try shortly.

This is great, but blog platform specific. I use Movable Type, so a Wordpress plugin doesn’t help.

Mint already knows the URLs and titles of entries. It shouldn’t need to reach out to the blog platform DB at all.

Till
Third-Party Pepper Developer
Posted on Feb 22, '07 at 01:12 am

I’ll create such a pane-less Pepper when I’m finished with my Downloads Pepper.

Till: That would be awesome. Looking forward to it. I’d be happy to alpha test and provide feedback.

Till, have you looked into creating such a pepper further?

Till
Third-Party Pepper Developer
Posted on Mar 26, '07 at 04:20 pm

I’m not finished my Downloads Pepper : )

You can do this on your own with 15 lines of code.

You must be logged in to reply. Login above or create an account