URI Prettify 1.0

Free

Turn filenames, URI strings and other "-" or "_" delimited strings into pretty titles.

Useful for displaying category titles based on segment variables and other similar complicated cases.

Download Plugin

Documentation

↑ Top

Tag Pair

URI Prettify uses a simple tag pair to process a desired text string. All EE tags can be used inside, such as segment variables (e.g. {segment_1}). filenames, categories, etc.

{exp:uri_prettify}

text_you_want_processed

{/exp:uri_prettify"}

Example:
Input string: today_i_win_the_game
Output result: Today I Win the Game

Parameters

{uncap_keywords="yes"}
(defaults to "no")

This tag will uncapitalized certain words for proper grammar's sake. E.g. articles, prepositions and coordinate conjunctions. It will keep them capitalized if they're at the start of a sentence (e.g. not prefaced with a space).

Default keywords are: "and", "to", "with", "for", "the" and "or".

{keywords="word1|word2|word3"}

Override the default list of words with your own. Words must be separated by pipe ("|") delimiters.

Installation

↑ Top
  1. Extract the .zip file to your desktop
  2. Move the pi.uri_prettify.php file from its local folder to your EE install's /system/plugins folder on the server
  3. Go nuts.

Change Log

↑ Top
  • 1.0 — 9/8/2009 : Released

Support

↑ Top

Technical support is available through email. If your question can be answered in 140 characters or less, feel free to hit us on Twitter too. No representations or guarantees are made regarding the response time in which support questions are answered, but we'll try to get right back to you.

License

↑ Top

This one is free. Go nuts.