Step 1: Download the plugins here. gg_linkxfn_v1.0.txt (admin side) gg_linklistxfn_v1.0.txt Since Textpattern is a PHP based CMS, the plugins are written in PHP as well. But these text plugin files don’t have any plain PHP code in it. The code is actually compiled into a chunk of base64-encoded text, to allow for easy installation and minimize corruption problems.

Step 2: Go to your textpattern admin interface usually yourdomainname.com/textpattern/index.php assuming you just did the simple basic installation. Here’s what you should see now. start

Step 3: Now click on the admin tab admin

Step 4: Click on plugins tab plugins

Step 5: Now in the textarea beside “Install plugin”, copy paste the text from the gg_linkxfn_v1.0.txt (let’s install the admin side plugin first) and click “Upload”. Textpattern will decode the text for you and spit out the plain PHP code, and then ask you whether you are ready to install it. install

Step 6: Click Install. Now you should be back to the list of plugins under the plugin tab. On the gg_linkxfn plugin row, click on “No”(under the “active” column) to change it to “Yes”, to enable the plugin. enable

Step 7: That’s it you are done! Now to see the plugin in action. Click on the content tab. You should see a new tab named “linkxfn” under the sub tabs. Click on the new tab. linkxfn

Step 8: There ya go! All set. Now you can choose your options from the fields, build the relation tag and see it in the “xfn” text area. Hit Save and you just have saved the values that will be populated in the “rel” attribute when you display the links using gg_linklistxfn plugin.

Step 9: Now repeat steps 1 to 7 to install and enable the gg_linklistxfn plugin.

Step 10: Here’s how you use it in your forms or pages.

<txp:if_category>
<txp:gg_linklistxfn form="waw_links" columns="1"
columnwraptag="ul" columnclass="alllinks" listwraptag=""
listclass="" headless="1" headwraptag="h3" argname="c"
category="Friends-and-Colleagues" />
<txp:else />
<txp:gg_linklistxfn form="waw_links" columns="1"
columnwraptag="ul" columnclass="alllinks" listwraptag=""
listclass="" headwraptag="h3" headless="1"
category="Friends-and-Colleagues"/>
</txp:if_category>

Since this plugin is an extension of Manfre’s mem_glinklist plugin, you can just read how to configure it from his help page. There are no new parameters to add or nothing different about how you use it.

Step 11. Here’s a demo. Right click on any link on blogroll there and click on properties. You should a relation name-value pair. Check out the screenshot below. properties

UPDATE: Step above will not work anymore as this site has been upgraded since the time this plugin was written. It runs on Wordpress now and hence doesn’t support any textpattern plugins.

Step 12. Most important of all…..ENJOY!

XFN Plugin for textpattern

June 20th, 2006

Turns out that a bunch of smart people decided to start off yet another practice that they hope would make better use of hyperlinks to put a human face on linking on the web.

XFN� (XHTML Friends Network) is a simple way to represent human relationships using hyperlinks. In recent years, blogs and blogrolls have become the fastest growing area of the Web. XFN enables web authors to indicate their relationship(s) to the people in their blogrolls simply by adding a ‘rel’ attribute to their href tags

...

I think it is a pretty interesting concept considering how the rel attribute could be used to build social networks just based on the links to other people on each person’s site.

So i decided to write a plugin for textpattern that would help people build rel attribute just like the wizard here.

I knew it was not going to be easy. It wasn’t. I actually had to write 2 instead of 1 as planned. But it certainly was a lot of fun. I’m almost done with it. So the first one is an admin side plugin, which involves altering the txp_link table in the textpattern database – adding an extra field to save the attribute, that helps people add links to their site just like they do under the default links section but with the extra rel-creator wizard. Here’s a screenshot of the admin side plugin.

And then i had to extend Manfre’s mem_glinklist plugin(i like it better than others) to display the links with the rel attribute because textpattern doesn’t support this by default(which explains adding a new field to the table in the db). In case you didn’t know, the description you enter for each link gets displayed as the title attribute in the hyperlinks when rendered as html.

You can check out the links section of this site and see for yourself. Either right click on any link there and click on properties to see the “Relation” attribute or just view the page source and check out the hyperlinks.

I’ll submit these 2 plugins to the textpattern community forum pretty soon after some clean up and final touches. Stay tuned…

Not a mistake, Sir!

June 15th, 2006

Guess what? The state of J&K is a part of India, my friends! There’s no mistake in that ad.

You can try terrorizing our people at the border, encourage and master-mind infiltration, continue holding the prestigious title of being the Numero Uno losers attacking us, losing the battles and running away scared, screaming like little girls with your tails between your hind legs, but nothing is going to change the truth. J&K has always been a part of India and will always be so forever.

Read the article here

SAY MY NAME!

June 13th, 2006

GIDDISH! I mean…c’mon! Inspite of correcting like atleast 5 times, i was still called Giddish. What the hell?? Why would you do that? Here’s the reply – “I like it like that. It’s funny!” No…Seriously…

Anyways, i’m just gonna explain here how it is supposed to be said, where the stress is and all that stuff. It’s upto you to say it the way i would like to hear it or the way you like to say it. Here we go..

Gi (as in Glee) – Ree (as in Read) – Shh (as in Hush).

The stress is on the 2nd syllable and not the first. So it is

Gi-Ree-Sh

and not Gi – Ri- Sh.

In case you were wondering, this is what the name Girish means.

Thanks for understanding.

New videos section

June 1st, 2006

A long time back i had uploaded a couple of videos of Mia right when Google had just released their videos program. Recently i added a few more to that list and was wondering if i could actually embed those videos on my site. I knew YouTube let you do it. Turns out that Google also offers that feature. Pretty cool.

So for starters, check out these videos of my nieces. I’m gonna embed a few more videos here later. Stay tuned…