Caffeinated Content for WordPress
Template Options and Formatting


All templates belong in the templates directory within the CaffeinatedContent directory.  Below is a list
of tokens that can be used in each type of template.  See the default templates in the templates directory
for usage examples.

Post templates:

Post templates MUST have a ".p.txt" extension.

You can use HTML, text and the following tokens to create your content's look and feel:
[title] - Post title
[date] - Post date
[who] - Post author
[video] - YouTube video.  Only works in YouTube mode.
[post] - Post text
[resourcebox] - Resource box text.  Only works in Articles mode.
[image] - Random image based on keyword.  Only works in Yahoo Answers mode. * 
[link] - Random link from the links.txt file **
[rewrite_post] - Rewritten post text using markov chains
[l_rewrite_post] - Subtle yet effective post rewriting using language translation techniques ***
[b_rewrite_post] - A little less subtle post rewriting using language translation techniques ***
[trans:ln]your text here[/trans] - Translate the text between the tags, using Google Translate, from English to a different language.  Your mileage may vary due to Google's translation limitations!  Also, this WILL break HTML markup so be sure that only text is being included between the [trans] tags.  Replace ln with the language of your choice: 
	de - German
	nl - Dutch
	es - Spanish
	fr - French
	el - Greek
	it - Italian
	pt - Portuguese
	ru - Russian
	
	sv - Swedish	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	ro - Romanian	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	bg - Bulgarian	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	pl - Polish	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	no - Norwegian	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	fi - Finnish	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	hi - Hindi	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	cs - Czech	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	hr - Croatian	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.

	ja - Japanese	-	Highly experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	ko - Korean		-	Highly experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	cn - Chinese (Simplified)	-	Highly experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	tw - Chinese (Traditional)	-	Highly experimental, this language has not been extensively tested with Caffeinated Content for WordPress.

* - Images are currently experimental!  Please note, they will use your Yahoo API key if set.
** - Link file should be in "anchor text|http://domain.com" format, one link per line.  Simply modify the default as you see fit.
*** - The l and b post rewriting options can create large delays within your content generation, b-type will take twice as long as l-type.



Comment templates:

Comment templates MUST have a ".c.txt" extension.

You can use HTML, text and the following tokens to create your content's look and feel:
[adate] - Answer date
[answerer] - Answerer name
[answer] - Answer text
[rewrite_answer] - Rewritten answer text using markov chains
[link] - Random link from the links.txt file *
[trans:ln]your text here[/trans] - Translate the text between the tags, using Google Translate, from English to a different language.  Your mileage may vary due to Google's translation limitations!  Also, this WILL break HTML markup so be sure that only text is being included between the [trans] tags.  Replace ln with the language of your choice: 
	de - German
	nl - Dutch
	es - Spanish
	fr - French
	el - Greek
	it - Italian
	pt - Portuguese
	ru - Russian
	
	sv - Swedish	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	ro - Romanian	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	bg - Bulgarian	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	pl - Polish	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	no - Norwegian	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	fi - Finnish	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	hi - Hindi	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	cs - Czech	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	hr - Croatian	-	Experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	
	ja - Japanese	-	Highly experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	ko - Korean		-	Highly experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	cn - Chinese (Simplified)	-	Highly experimental, this language has not been extensively tested with Caffeinated Content for WordPress.
	tw - Chinese (Traditional)	-	Highly experimental, this language has not been extensively tested with Caffeinated Content for WordPress.

* - Link file should be in "anchor text|http://domain.com" format, one link per line.  Simply modify the default as you see fit.