User:Lildude

From Habari Project

Jump to: navigation, search

Personal Blog - Technical Blog - Barefoot Running Blog - yes, I'm a crazy barefoot runner

All my blogs run off a single instance of Habari using the cool multisite functionality. The rest of this page is just my dumping ground for ideas and Todos.

Feel free to ping me about any of this stuff on #habari.


Contents

Todos

Stuff I really should do.

  • Read through and understand the recent changes to Terms and Tags in trunk
  • Experiment with these Terms/Tags changes


Ideas

I get a lot of crazy ideas that I don't write down.


Documentation

A lot of Habari documentation needs to be written or improved. This is my sandpit until I'm happy with the docs.

  • Methods to select posts by Terms (thanks ringmaster):


$other = Post::get('limit=1&vocabulary[tags:all:term]=habari');
$other = Post::get('limit=1&vocabulary=tags:all:term_display=habari');
$other = Post::get(array('vocabulary' => 'tags[all:term]=habari'));
$other = Post::get(array('limit'=> 1, 'before' => $post->pubdate->format('Y-m-d'), 'vocabulary'=> 'tags[all:term]=' . $tag->term));
$other = Post::get('limit=1&before=' . $post->pubdate->format('Y-m-d') . '&vocabulary[tags][all:term]=' . $tag->term);
 
$other = Post::get(
	array(
		'limit' => 1,
		'vocabulary' => array('all'=>array($tag)),
		'before' => $post->pubdate,
	     )
	);


New/Pending

Needs Improving

Personal tools
This is a cached copy of the requested page, and may not be up to date.

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

(Can't contact the database server: Access denied for user 'habari'@'localhost' to database 'habari_wiki' (localhost))


You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.