Content:
Chinese indexing and searching
Posted by Madjo on the 18/04/2005.
Author: Gan Ying Hung
Website: http://4mb.hopto.org
Introduction The support of the language Chinese by Pivot is not very good. This is why not many Chinese bloggers use Pivot, despite its good quality.
I like the system and its powerfulness, but would also like to do indexing and searching on Chinese contents. Therefore I developed this small extension to support them.
Don’t thank me, thank the spirit of open source.
Click on this link to go to the download location of this extension.
Please note, this link is dead, and I have been unable to find this extension. If someone has downloaded it previously, please contact us, so that we can upload it here and store it locally.
Requirement The extension is well tested in Pivot-1.24.1. I am not sure if it works on older version or not. So you may better upgrade yours.
Also, it is well tested in UTF-8 (unicode) encoding. But I think no doubt it works on Big5 and GB codes too. Please let me know if it didn’t. If you are newly setting up your blog, you can set your encoding settings in Administration -> Configuration -> Use encoding of your pivot admin page. Enter “utf-8” there. Since the distinguishing of Tradition and Simplified Chinese is a very, very annoying matter, I encourage you to turn to unicode as early as possible.
Installation Step-by-step:
At your server, create the directory “pivot/db/search-chi” under your blog root
Chmod it to 0777
Replace the file “pivot/modules/module_search.php” with the downloaded file
Login to your admin page, rebuild the search index
If you have Chinese blogs, and everything works fine, you should see this message: A total of 123 different Chinese characters have been indexed, where 123 is an integer.
Done! Now you should try to do some searching with Chinese words.
Limitations Known issues/limitations:
Accent characters like á can no longer be searched or indexed because they conflict with Chinese chars (but I guess those who need Chinese support do not need to use accent?)
Taggerati 2.2c
Posted by ElectraWoman on the 13/03/2005.

Author: Marco van Hylckama Vlieg

Website:
http://www.i-marco.nl
Taggerati makes it easy to use Tags on your blog. It also features an extensive Tag Universe snippet which generates a load of relevant links based on tags used by you.
With this it's extremely easy to add tags to your postings by entering in your postings. It will result in a link like this:
word_to_tag
Because it contains the rel=tag attribute it will first of all be 'seen' by Technorati, del.icio.us and other tag universe sites.
In addition to this, a list of all tags used in a posting can be displayed right under your entry.
All tags link to a special page wich you can create with a pivot entry. On this page an overview will be shown with a lot of links related to the tag you linked. All of this is visible in my demo.
New in v2.0 are a list of related tags, a list of postings that share the tag and a tag cosmos overview page.
New in v2.1 is a list of postings with tags used in the original posting right below the blog entry.
Added in v2.2 is an extra snippet to tag your categories. Replace extensions with in entrypage_template.php and it should work. Let me know if this does the job. I cannot test it all too thoroughly because I don't do anything with categories on my own blog.
v2.2a fixes a minor HTML problem in the tag cosmos page. v2.2b adds nifty little Technorati icons and the ability to tweak the font sizes on the tag cosmos page. v2.2c adds the ability to link tags to an external site.
Demostration and
download location.
Rating v1.1b + Rate-O-Meter
Posted by ElectraWoman on the 13/03/2005.

Author: Marco van Hylckama Vlieg

Website:
http://www.i-marco.nl
A snippet to add 'rate this posting' functionality to Pivot. Texts can be user-configured and it's cookie controlled to prevent multiple votes.
Besides a rating-system it also features a nice ratemeter snippet. It's probably the first 'skinnable' extension for Pivot and comes with a default illuminated LCD theme. I'm looking forward to seeing other people come up with themes and if they do they'll be posted here!
A theme consists of 21 images. The rates are displayed in steps of 0.5 so you'll have to make r0.gif, r05.gif, r10.gif,... all the way up to r100.gif.
Simple to use! See README.txt
Rating and rate-o-meter is installed at
i-marco and at my dutch blog
kontverhaal.
Download location.
Button extension v1.2
Posted by Madjo on the 02/03/2005.
Author: MadJo
Email: mdejong@gmail.com
Website: madjo.nl
With a lot of help from:
Website: MadMax
Button extension 1.2
released on:
24/12/2004
updated on:
02/03/2005
I wrote this plugin, because I wanted to clean up my template a little, it got a lot of those
stuff in it, I didn’t really like it. Made it look messy.
So I wrote a plugin that can be used a little easier (at least in my opinion) :)
the usage is as follows: [[button:URL:TITLE:IMAGE:DIR]]
URL: speaks a little for itself, it supports (http, https, and ftp) (Mailto not yet, but that one is in the works),
Just don’t use local addresses, if you want to link to a local folder on your website, use ‘www.example.com/local_folder’, instead of ’/local_folder’
TITLE: isn’t necessary, if left empty it will show the URL as the title (of the link and the image)
IMAGE: just the name of the image will suffice.
DIR: this is an optional parameter. By default the plugin will look for the image in the pivot/pics/ folder. If you’d rather use the /images/ folder, you just put in “yes” in the tag.
for instance: [[button:http://www.mypivot.net:MyPivot Rules!:mypivot.jpg:yes]] uses the image /images/mypivot.jpg
and [[button:http://www.mypivot.net:MyPivot Rules!:mypivot.jpg]] uses the image /pivot/pics/mypivot.jpg
the output will then be: those
tags, with your values in it, but it looks a little nicer in your templates ;)
For the CSS-ers: it uses the same class as the Pivot buttons. (class=”badge”)
Download it here
If you encounter any bugs, don’t hesitate to contact me :) (see mail address at the top of this entry :)
installation of this plugin
1) unpack the file
2) go to your extensions/snippets/ folder
3) upload the unpacked file there
4) add a [
[button]] tag somewhere in an entry or on your template
Release history:
1.0—24/12/2004 – First release
1.0b—26/12/2004 – fixed a bug in the links. Now it outputs the correct link
1.1—20/02/2005 – a small image location problem… now fixed.
1.2—02/03/2005 – new location for the images – another url problem fixed.
category image extension v1.1
Posted by Madjo on the 28/01/2005.

Author: MadJo

Email:
mdejong@gmail.com

Website:
madjo.nl
This extension will show images for each category a post is in.
Prerequisites:
- The category images should be in the images/ folder of Pivot
- The filenames of these category images should be exactly the same as the categorynames (case-sensitive)
How to work with this plugin:
- Upload this file into your extensions/snippets/ folder
- Open your short entry template and/or entrypage template and add the [
[catimage]] tag...
- Rebuild your frontpage, and you should see the images
Extension variables:
This extension has two variables: [
[catimage:
FILTER:
NEWLINE]]
-
FILTER: if something is filled in here, it will only show the categories associated to the current subweblog.
-
NEWLINE: if something is filled in here, the images will be placed below each other. If nothing is filled in, the images will be placed beside each other.
Leave these values empty, if you don't want to use them.
Category image extension
Release history:
1.0—28/01/2005 – First release
1.1—26/03/2005 – Fixed a possible location problem
'Top Comments' List
Posted by ElectraWoman on the 17/01/2005.

Author: Bram "Tenshi" Nijmeijer

Website:
bram.nijmeijer.org/
This tag will show a 'Top X' of most commented-on entries, where X has a default value of 3. The tag has two parameters which one can set to change the appearance of the output.
Here is a working example.
To install, download the .zip file and follow the included instructions.
Copy year extension v1.0
Posted by Madjo on the 16/01/2005.
Author: MadJo
Email: mdejong@gmail.com
Website: madjo.nl
[[copyyear]]
A formatted copyright string that creates a floating copyright date.
If no year is passed then the copyright date will be the current year.
If a year in the past is passed, then a string indicating a copyright that spans the period from that date to now will be returned.
Sanity checks block dates before 1999 and after the current year.
[[copyyear:2001]] will print ’© 2001-2005’ (or the current year we are living in)
[[copyyear:2004]] will print ’© 2004’
Click here to see it in action.
...this idea came from the Pivot manual…
Version 1.0
Created on 16 january 2005, by Marcel de Jong
For support go to www.mypivot.net/extensions.php or www.madjo.nl/plugins
or email me at mdejong@gmail.com
Installation notes:
1) get Pivot 1.20 (or higher) and install it.
2) create a folder called “extensions” in the dir higher than Pivot/
(if you have installed pivot in www.example.com/pivot,
then the extensions folder should be www.example.com/extensions)
3) in the extensions folder create the folder “snippets”
4) extract the file “snippet_copyyear.php” into that folder
5) add somewhere in your templates the tag (with or without values)
6) rebuild the frontpage.. and presto!
Contents of
snippet_copyyear.zip:
1) snippet_copyyear.php (the code file)
2) copyyear_readme.txt
spam block list
Posted by Madjo on the 09/01/2005.
Author: TheMarco
Website: i-marco.nl
Marco has written a fabulous extension. It is the comment-spam block list for Pivot.
Right now it is still in beta (v0.5) , but what a product it is!
If you are plagued by comment spam on your weblog, (and you are running Pivot), then this product is for you.
You can grab a copy of the blocklist, here and if you then follow these directions you should be able to install it.
1) First make sure that you are running Pivot 1.20
2) In Pivot, go to Administration->Configuration and enter a name for the extensions dir. Enter ‘extensions/’ and save your settings. If you already have an ‘extensions’ dir, skip this one and go to number 3.
3) Unpack the blacklist zip package.
4) Copy the blacklist/ directory to this extensions directory and chmod it to 755.
5) chmod 755 blacklist/settings
chmod 666 blacklist/settings/*
6) edit submit.php in your pivot dir and add the following line:
require_once(’../extensions/blacklist/blacklist.php’);
7) Surf to http://your.site.com/weblogdir/extensions/blacklist/ to log in
to the blacklist admin panel. You can use any login that has ADMIN
on your blog.
Alternative RSS-reader v1.2
Posted by Madjo on the 07/01/2005.
Author: MadJo
Email: mdejong@gmail.com
Website: madjo.nl
Apparently, this extension is not wanted (not my words), so I advise people who use this, to not use it anymore.
The default RSS-reader of Pivot caches an rss-feed for 8 hours, while this is good for the used bandwidth of the hosting party of the feed, for some other rss-feeds (such as a ‘currently listening’ feed) this is way too long.
I therefore adjusted the default rss-reader, to also include an adjustable cache time.
The installation instructions are as follows (also found in the readme.txt inside the zip file):
1 download the zip file
2 extract all three files
3 and upload them into your extensions/snippets folder
download:altrss.zip:icon::Alternative RSS-reader]][[download:altrss.zip:text:Alternative RSS-reader:ALTRSS-extension->
Usage:
It basically works the same as the regular [[rss]] tag, but it has an added value:
[[altrss:number of entries shown:address of the rss feed:layout of the result:cache-time in minutes]]
The cache time defaults to 8 hours (if it is left empty), also it is recommended to use values that are equal or higher than 5 minutes, for the sake of the bandwidth of the site where you grabbed the rss-feed. :) (you can’t actually set it lower than 5 minutes, because if it is set lower, the plugin will default to 5 minutes)
Also please do not use this for normal sites, but only for special sites, which warrant the shorter caching time (and can handle the stress)!