Antonio Dolcetta on Thu, 25 Jan 2007 06:34:40 -0700 (MST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [s-d] proposal parser, progress


Daniel Lepage wrote:

> 
> Is it going to learn how to identify titles as well?
> 

it already does, sort of.
try
{{
Title: whatever

abc def ghi
jkl mno pqr
}}

it looks for lines at the beginning of the proposal before the first 
empty line, if they match stuff like
/proposal number:/i
/title:/i
/proposal id:/i

it will use those values.
this is actually something that I don't like a lot, because it's bound 
to be fragile.






_______________________________________________
spoon-discuss mailing list
spoon-discuss@xxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/spoon-discuss