Perrin Harkins wrote:
On Mon, 2004-08-09 at 14:42, Philippe M. Chiasson wrote:

How about:

Author: Philippe M. Chiasson
Title: How mod_perl saved my life!
Reference: http://www.cnn.com/mod_perl_saved_my_life.html
Author Icon: http://gozer.ectoplasm.org/me.gif
Category: Success Stories
Abstract: Philippe was walking down the street one day and he was almost
  run over by a bus. He owes his life to the mod_perl book he had just
  purchased and tells us how it happened.
Story: bla bla bla bla

Shouldn't something like this be simple enough for our initial needs ?


Sure, with some small tweaks (add a date, remove separate story, remove
reference, change author icon to story image).  See http://php.net/ for
an idea of what I'm going for.

Glancing at the YAML docs, it looks like putting "----" between those
would make them parseable as records, so maybe we'll use that after all.

For instance :

$> cat story.yml
--- #YAML:1.0
Author: Philippe M. Chiasson
Title: How mod_perl saved my life!
Reference: http://www.cnn.com/mod_perl_saved_my_life.html
Date: 2004-08-09
Story Image: http://gozer.ectoplasm.org/me.gif
Category: Success Stories
Abstract: >
  Philippe was walking down the street one day and he was almost
  run over by a bus. He owes his life to the mod_perl book he had just
  purchased and tells us how it happened.
Story: >
  bla bla bla bla

$> cat story.yml | ysh
$VAR1 = {
'Story Image' => 'http://gozer.ectoplasm.org/me.gif',
'Story' => 'bla bla bla bla
',
'Date' => '2004-08-09',
'Reference' => 'http://www.cnn.com/mod_perl_saved_my_life.html',
'Abstract' => 'Philippe was walking down the street one day and he was almost run over by a bus. He owes his life to the mod_perl book he had just purchased and tells us how it happened.
',
'Title' => 'How mod_perl saved my life!',
'Category' => 'Success Stories',
'Author' => 'Philippe M. Chiasson'
};


- Perrin


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



-- -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to