User:Lildude

From Habari Project

Revision as of 13:17, 17 November 2010 by Lildude (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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