Sample Renderer Plugin (Tutorial)

Saturday, Jul 28th, 2007

PermalinkCategories: Plugin, Released, Tips n' Tricks   English (AU)

Sample Renderer Plugin (Tutorial)

286 words, 14267 views, 06:10:11 am. 
 

What is a renderer plugin?
A renderer plugin is a plugin with the goal to search for content within a post, and replace it with something else.

What are some example uses of renderer plugins?
* Smilies in your posts
* Attach “Digg This!” buttons to your post
* Adding Galleries into your post
* Anything that does really cool display

What does this plugin do?
This plugin teaches you how to make a renderer plugin! It provides 3 sample renderer functions and walks you through what is happening.

Sample Renderer: Word Capitalizer:
Original: If I could walk 500 miles, then I would walk 500 more.
Capitalized: If I Could Walk 500 Miles, Then I Would Walk 500 More.


Sample Renderer: Colorizer:
If we combine this color with this color do we get this or this?


Sample Renderer: Word Reverser:
The word “hello” is “olleh” reversed!
The word “goodbye” is “eybdoog” reversed!
The word “level” is “level” reversed!
The word “terces” is “secret” reversed!

Page 1: Introduction
Page 2: Download
Page 3: How to get/show support & Tips n’ Tricks
Page 4: Changelog
Page 5: Post Changelog

Pages: 1 2 3 4 5

Trackback address for this post:

balupton
Trackback address:
http://www.balupton.com/blogs/htsrv/trackback.php?tb_id=72

Comments, Trackbacks, Pingbacks:

balupton
Comments/Trackbacks/Pingbacks:
No Comments/Trackbacks/Pingbacks for this post yet...

This post has 7 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

The Plugins currently installed to power help this site are:
Smilies Calendar Skin Tag Quick Tags Archives Skin Tag DNS Antispam Trackback Edit Permissions Control Last.fm Plugin Ping b2evolution.net Ping-O-Matic plugin Auto Links Avatars Basic Antispam Categories Skin Tag Video Plug Auto P Code highlight Digg Plugin Gallery Sample Renderer Show/Hide Post Contents Song Attacher Texturize

The Authors of the plugins installed to help power this site are:
The b2evo Group http://liberal-venezolano.net/ balupton http://daniel.hahler.de/ Astonish Me balupton and hopefully you!

B2evolution

B2evolution

B2evolution is the most powerful (and extensible) blogging software out there (well out of my experience). This blog is to showcase all of my development work / extensions for b2evolution, and to share my knowledge on b2evo, in the form of rambles, tutorials, tips n tricks, etc.

For anything else dev related, check here.

September 2010
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    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      

Search

Categories

Linkblog

Official

  • PermalinkB2evolution Home

    b2evolution is a powerful blog tool you can install on your own website.

    It includes all the features of traditional blog tools, and extends them with evolved features such as file & photo management, advanced skinning, multiple blogs support as well as detailed user permissions…
    Not to mention third party plug-ins!

    Plus, it’s free, open-source (GPL), it runs on virtually any webserver featuring PHP+MySQL and it’s available in many languages!

  • PermalinkB2evolution Skins

    Decorate your blog with skins. Of course at some point, you’ll want to craft your own design, but in the meantime, you can start with a prebuilt skin.

  • PermalinkFacebook Group

    Facebook is a social utility that connects people with friends and others who work, study and live around them. People use Facebook to keep up with friends, upload an unlimited number of photos, share links and videos, and learn more about the people they meet.

  • PermalinkLanguage Packs

    Everybody understands English these days, right? Well… not quite. b2evolution has been translated into many different languages. You could even easily add your own! Check out the available language packs here.

  • PermalinkPlugins

    No matter how feature rich we could make b2evolution, there’ll always be that little specific feature you wish we could add but we just won’t find the time to do it. With plugins, there’s a chance someone sharing your interest has already implemented that feature!

General

Members

Misc

XML Feeds

What is RSS?