2013/5/28 Enno Borgsteede <ennoborg@gmail.com>
Benny,
> To test the GUI ideas around GEP 18, a branch was created:
>
> http://www.gramps-project.org/wiki/index.php?title=GEPS_018:_Evidence_style_sources
Thanks!
> Some things that need more debate:
>
> We have the templates of Mills, but how to make template system
> versatile?
> In other words, the templates of Mills are predefined, do we allow
> users somehow to store their own, and if so, how to best do this.
I have to think about that. As a user, the first thing that I want to do
is get rid of say 95 % of the ESM ones, maybe more. That's because I
really want that both the field and the template lists fit on my screen
and don't need scrolling.
> In essense, a template now looks like this in code:
>         ESM99: {
>             'F': [
>                 ('', SUBJECT_FIRST, '', '', False, False),
>                 ('', SUBJECT_LAST, ',', '', False, False),
>                 ('', CREATION_DATE, ';', '', False, False),
>                 ('', COLLECTION, ',', '', False, False),
>                 ('', REPOSITORY, ',', '', False, False),
>                 ('', REPOSITORY_LOCATION, '.', '', False, False),
>                 ('', ARCHIVAL_DESCRIPTION, '.', '', False, False),
>                 ],
>             'L': [
>                 ('', SUBJECT_LAST, ',', '', False, False),
>                 ('', SUBJECT_FIRST, '.', '', False, False),
>                 ('', CREATION_DATE, '.', '', False, False),
>                 ('', COLLECTION, '.', '', False, False),
>                 ('', REPOSITORY, ',', '', False, False),
>                 ('', REPOSITORY_LOCATION, '.', '', False, False),
>                 ],
>             'S': [
>                 ('', SUBJECT_FIRST, '', '', False, False),
>                 ('', SUBJECT_LAST, ',', '', False, False),
>                 ('', CREATION_DATE, ',', '', False, False),
>                 ('', COLLECTION, '.', '', False, False),
>                 ],
>         },
> Here ESM99 is a source type, and F, L, S the three different forms of
> citing.
> An entry consists of
> (Left delimiter, source attribute type, right delimiter,
> bool_Optional, bool_private)
>
> Type is an integer. We can offer a way for users to input their own.
> But the types then become custom types, so strings instead of integer.
> This would be then stored in the metadata of the database though, not
> in an xml ?? To be worked out :-)
>
TBWO indeed. :-)

I read the README in my trunk/data/evidencestyle folder, and noticed
that you advise against removing entries from the CSV. I think that I
can live with that, when I have another way to switch off ESM, and only
use my own.

This is a feature request already on event types. In other words, whatever is done to support this should be general. One problem with it has always been:
1. I don't use AA
2. 3 weeks later I use AA
3. What to do? Show AA from now on anyway? Keep it not showing up? What if Bar Mitzvah should not be shown, and then user enters Bar Mitvah (clearly a typing error). As see as you type will also be off, user stored data with typing error.

Another question, maybe lazy to ask, but are attribute types
translatable? Can I define my own with names like above, and have them
displayed in Dutch, or do I have to define my own in my own language for
that?


All is localizable. However, people store custom types in their own language.

Benny
 
thanks again,

Enno


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Gramps-devel mailing list
Gramps-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-devel