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

New Pepper: Prank

shokk
Third-Party Pepper Developer
Posted on Jan 30, '07 at 06:53 pm

For those that like to track their Google Page Rank, this pepper will list your most popular pages and the corresponding page rank. Uses caching to reduce the hits to Google servers since pagerank does not change frequently.

This has been created for Mint 1 since I don’t have Mint 2 yet, but it doesn’t do anything exotic, so it should still work. Once I have the new Mint installed, I’ll take care of any errors that anyone finds.

See shokk.com/blog/articles/2007/01/30/goog … mint-prank for more details.

shokk
Third-Party Pepper Developer
Posted on Jan 30, '07 at 10:11 pm

A few Mac folks have said they had trouble opening the zip archive. I’ve made a new zip in the same location, only using Windows instead of Red Hat to make the zip file. Please let me know if this one is any better.

mihalis
Minted
Posted on Jan 30, '07 at 10:39 pm

I had problems unarchiving with BOMArchiveHelper and The Unarchiver, but it worked in Stuffit fine.

Anyways, installed it in Mint 2. King but it seems to be looking for an image that wasn’t in the archive (ernieoporto/prank/prN/A.gif)…and the pagerank doesn’t display It also takes quite a while to load, but I don’t think this is because of the pepper.

I’ll be keeping track of this one, I’m definitely interested in this

Check out the screenshot: http://img409.imageshack.us/img409/8436/picture1nj1.png

shokk
Third-Party Pepper Developer
Posted on Jan 30, '07 at 11:49 pm

OK I’ve updated prank.zip to version 1.01 to include some fixes and the prNA.gif. I’ve also added the preferences pane to allow you to change the cache time. Same links as before. Anyone having trouble with the zip can get a tar.gz version from that page.

This looks pretty sweet… though, it would be even sweeter if we could track PR over time. Any chance of that on a future upgrade? :)

Sam Brown
Third-Party Pepper Developer
Posted on Jan 31, '07 at 05:57 am

Hey Shokk, sounds like a great Pepper but like the others I am having problems uncompressing.

The .zip only downloads 2 bytes, while the .tar.gz file downloads 7kb. However, it is still un-openable.

steffx
Minted
Posted on Jan 31, '07 at 07:11 am

same here …

shokk
Third-Party Pepper Developer
Posted on Jan 31, '07 at 10:03 am

Was an issue with the DLoads pepper for download tracking. I’ve disabled it for now and verified that downloads work again. I’ll have to find another way of tracking that.

I apologize to everyone that couldn’t grab a copy. Have at it again.

shokk
Third-Party Pepper Developer
Posted on Jan 31, '07 at 12:53 pm

Updated to 102 to fix an icon that I mistakenly saved as jpg instead of gif.

Also please note that mint saves URLS as domainname.tld rather than domainname.tld. There is a comment in the above article with the download link that mentions a change in the .htaccess at the root of your site needed for google to see the two URLs as the same pagerank. If you are seeing domainname.tld with one pagerank and domainname.tld with ZERO pagerank, you need the above change. It takes about a week or so for the Googlebot to correct this.

philipj
Minted
Posted on Jan 31, '07 at 01:31 pm

Hi shokk, cool pepper!

Could you add the option of just displaying the root’s pagerank?

shokk
Third-Party Pepper Developer
Posted on Jan 31, '07 at 01:32 pm

I’ll add it to the feature list for the next update.

philipj
Minted
Posted on Jan 31, '07 at 01:34 pm

Awesome, thanks!

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

Shokk, the two PHP files in this Pepper both have whitespace after the final closing ?>. This is breaking a number of Mint installs. Anyone experiencing problems staying logged in to Mint or with an equal number of Total and Unique hits should uninstall this Pepper until an update is released.

Shokk, please release an update that omits the final closing ?> in both files. I know it sounds like sloppy coding but it is recommended when dealing with includes (see the note on this page on PHP.net) for this very reason.

shokk
Third-Party Pepper Developer
Posted on Jan 31, '07 at 09:09 pm

Wow I would have never thought of that. It just fixed my problem with Fresh Mint. Version 1.03 is up now to fix this problem.

Shaun Inman
Mint/Pepper Developer
Posted on Jan 31, '07 at 09:48 pm

Yeah, it’s kind of silly. Like much of PHP. :)

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