Changes

Jump to: navigation, search

Meaningful filenames

2,214 bytes added, 18:32, 25 July 2008
GRAMPS ID based: large revision
= GRAMPS ID based =
This is another attempt by [[User:Duncan|Duncan Lithgow]] to find a good system. It is not finshed so feel free to add comments and correct any obvious mistakes.
== Record types ==GRAMPS ID's use the first character to denote the type of item the ID refers to. Taking the most relevant ones this could these can be converted to the following tags:
* '''I--''' Individual * '''P--''' Place * '''E--''' Event * '''S--''' Source '''N--''' Note
Extending this idea == Record properties ==By making all properties of each record compulsory we avoid extra tags like ''GN'' for given name and so on. We can what a bit with some more markers for clarity:property is by where it is in the file name.
* '''GN--family name''' is their surname before marriage, but including deed pool changes, MacArthur for example* '''given name''' Given is their official first name* '''uid''' is a unique identity, in this example the (soriginal)GRAMPS ID of the media file* '''source date''' is the date in ISO 8601 format when the information left the people or organisation responsible for it * '''event date'''SNis the date in ISO 8601 format when the event occured or started. YYYY-MM-DD, ie. 2008-12-28* '''event type''' is a noun describing the event, chosen from a list of event types* ''' Surnametitle''' is the name of a document (book, letter, census) or object (gravestone, heirloom) * '''DT--source author name''' Dateis the name of the person or organisation most responsible for the information. For people always use family name first followed by two underscores (__) * '''TL--note''' Titleis for notes. Names should always be family name first followed by a double underscore
...and using the same punctuation and sources as above we get something workable.== Naming structure ==Putting it all together
== An event image file ==* File names start with a single capital letter representing their record type.* Record properties are separated by two dashes/ minus signs (--). Two dashes/ minus signs (--) can not be used for anything else.* Missing information is replaced by a single underscore (_).* Names in notes should always be family name first and separated by two underscores, ie: ''doe__john'' which can be represented as ''John Doe'' or ''Doe, John''.* Place names should start with the largest geographical region followed by a double underscore before the next geographical region, ie: ''oz__far_far_away__yellow_brick_road'' which can be represented as ''Oz, Far far away, Yellow brick road''.
'''Individual''' EI--marriage_SN<family name>--jones_GN<given name>--mary_angus_SN<note>--williams_GN<uid>.ext* Example: ''I--matthew_DTwilliams--1923mary_agnes-12-02_Nportrait_sketch--william_angus_to_right_of_maryo3472.jpg''
== A source image file =='''Place''' <nowiki>P--<place__sub place__sub sub place>--<note>--<uid>.ext</nowiki>* Example: ''P--united_kingdom__england__london--williams__mary_agnes_house--o0857.jpg''
'''Event''' SE--census_P<event ISO date>--uk__england__london_DT<event type>--1840<1st family name>-03-21_I<2nd family name>--mary<3rd family name>--<4th family name>--<note>--<uid>.ext* Example: ''E--1923-12-02--marriage-jean-jones--williams--_--_--william__angus_to_right_of_mary--o2846.pdfjpg''
== A '''Source''' S--<title>--<source text ==author name>--<source ISO date>--<note>--<uid>.ext* Example: ''S--census__uk__london_--_--1840-03-21_I--jones__mary_jean_at_johns_road--o0847.pdf'' * Example: ''S--publication_TLjones_family_from_1735--_--the_jones_family_from_1735_I1972-_-mary_jean_jones_DATE_--1872connects_with_dean_family.pdf''
= See also =
239
edits

Navigation menu