# Historical Contextin suomalaisten tapahtuminen testitiedosto

**URL:** <https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355>\
**Category:** Suomi (Finnish)\
**Created:** [March 29, 2025, 9:35pm UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355 "2025-03-29T21:35:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterPower](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/peterpower/32/2591_2.png) [@PeterPower](https://gramps.discourse.group/u/PeterPower)\
**Post date:** [March 29, 2025, 9:35pm UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/1 "2025-03-29T21:35:14Z")

</div>

Grampsiin on tanskalainen K. Mickels (@kmikkels) kehittänyt uuden mielenkiintoisen laajennuksen, lyhyesti HistContext. Perusidea on tallentaa normaaliin tekstimuotoiseen tiedostoon (jatkossa HistLuettelo) historiallisia tapahtumia aikarajoineen ja nettilinkkeineen. Yhteispeli toimii Henkilöjä katsellessa siten, että että HistLuettelon rivien tekstien värit muuttuvat, jos tapahtuma osuu henkilön elinkaareen.

Laajennukseen voi perehtyä

[Addon:Historical Context - Gramps](https://gramps-project.org/wiki/index.php/Addon:Historical_Context)

Valmiita HistLuetteloita on jo useita, pandemioista, presidenttikausista, valtiollisista tapahtumista. Niiden nimistä käy ilmi mm. kieli, maa ja teema. Käyttäjä voi asetuksista helposti valita luettelon tai luettelot, jotka näkyvät laajennuksessa. Laajennuksen ikkunan voi irrottaa kelluvaksi, mikä lisää käyttömukavuutta.

Testausmielessä Kari kopioi suomalaisista valtiollisista tapahtumista luettelon `fi_FI_data_v1_0.txt` ja se tallennettiin Gramps AIO64-6.0.0–1:ssa laajennuksen kansioon. Lopputulos näkyy oheisessa kuvassa, jossa valittuna on Jean Sibeliuksen isä Christian.

Mitä HistLuetteloita sinä haluaisit ideoida ? Itselläni tuli mieleen kylän isäntien luettelo, joka synkkaisi kylän asukkaiden elinkaariin. Jean Sibeliuksen päätöiden aikaluettelo ja sen synkkaus kannassa oleviin muusikoihin?? Eikun kokeilemaankin.

* * *

Pekka aka PeterPower

 ![Näyttökuva 2025-03-29 125649](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/6/670ce6e51337dfdcfae55b321a7ceee28066c350.png)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [March 30, 2025, 3:57am UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/2 "2025-03-30T03:57:49Z")

</div>

saatat haluta jakaa Karin CSV-tiedoston sisällön.

Lähetä se tänne kahden 3 takapukin väliin. (`````)

Voimme tehdä julkaisun “wikiksi”, jotta kuka tahansa voi lisätä sitä.

🇺🇸  
You might want to share the contents of Kari’s CSV file.

Post it here between two set of 3 back ticks. (`````)

We can make the posting into a ‘wiki’ so anybody can add to it.

---

<div class="post-metadata">

**Author:** ![PeterPower](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/peterpower/32/2591_2.png) [@PeterPower](https://gramps.discourse.group/u/PeterPower)\
**Post date:** [March 30, 2025, 7:10pm UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/3 "2025-03-30T19:10:50Z")

</div>

Later, but first I have some remarks of an other file “fi\_FI\_government\_v1\_0.txt”. It contains all heads of Imperial Russia and general guvernors in Finland 1809-1917 and presidents and governments of Republic of Finland. See [https://www.dropbox.com/scl/fi/2dhxb0fymwiuajugdafom/fi\_FI\_government\_v1\_0.txt?rlkey=e5zas9cw3ho8oabz8j1iqlcbl&dl=0](https://www.dropbox.com/scl/fi/2dhxb0fymwiuajugdafom/fi_FI_government_v1_0.txt?rlkey=e5zas9cw3ho8oabz8j1iqlcbl&dl=0)  
Two problems: if the second date is missing, HistContext list replases it with “today” or date of preceding line. See in pictures Nikolai Turbin and Adam Lipski. Or am I doing something wrong?

 ![Näyttökuva 2025-03-30 214836](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/8/8419fdfb9122ed41b45cc4ad265466e1cf97c4a9.png)  
 ![Näyttökuva 2025-03-30 214804](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/a/ac4eb959ff24a7afdfa5408b445573494bb3735e.png)

---

<div class="post-metadata">

**Author:** ![PeterPower](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/peterpower/32/2591_2.png) [@PeterPower](https://gramps.discourse.group/u/PeterPower)\
**Post date:** [March 30, 2025, 7:13pm UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/4 "2025-03-30T19:13:24Z")

</div>

Version of HistContext is 0.2.29 and I run W11 plus Gramps 6.0.0

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [March 31, 2025, 1:11am UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/5 "2025-03-31T01:11:08Z")

</div>

We should draw the attention of Kaj @kmikkels to this thread.

---

<div class="post-metadata">

**Author:** ![kmikkels](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/kmikkels/32/2317_2.png) [@kmikkels](https://gramps.discourse.group/u/kmikkels)\
**Post date:** [March 31, 2025, 5:23am UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/6 "2025-03-31T05:23:21Z")

</div>

If the second date is missing, the event is considered “ongoing”, which is why i add today as the date.  
Why it replaces the empty date with date from previous line, i have no idea - it must be a bug. I will take a look later this week.

---

<div class="post-metadata">

**Author:** ![kmikkels](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/kmikkels/32/2317_2.png) [@kmikkels](https://gramps.discourse.group/u/kmikkels)\
**Post date:** [April 1, 2025, 7:50am UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/7 "2025-04-01T07:50:42Z")

</div>

As far as I can see, it is doing as intended.  
An empty “to string” should be considered ongoing, and be replaced by today, which it is doing in both your examples.  
The you have another line for Adam Lipski, which holds only a year.  
In the “to field” a year will be replaced by the last date of that year.  
In the “from field” it will be replaced by the first date of that year.  
So - it is doing as expected, what was you expecting it to do?  
I think the confusion is that you have two lines for Adam Lipski - or am I missing something?  
/Kaj

---

<div class="post-metadata">

**Author:** ![PeterPower](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/peterpower/32/2591_2.png) [@PeterPower](https://gramps.discourse.group/u/PeterPower)\
**Post date:** [April 3, 2025, 12:53pm UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/8 "2025-04-03T12:53:31Z")

</div>

Olet oikeassa. Liitteenä uusi korjattu ja täydennetty fi\_FI\_government\_v2\_0.txt tiedosto.

Right. Find corrected and enhanced file fi\_FI\_government\_v2\_0.txt

> **[Dropbox](https://www.dropbox.com/scl/fi/1ngkz7m7uyxotzgp449su/fi_FI_government_v2_0.txt?rlkey=53n24ajxe0cy3nndigji78n57&dl=0)**

An idea: I have used some abbreviations in front of person name showing titel, to filter person. Could the file begin with a line of hints of them? I believe that it is useable in every file.

---

<div class="post-metadata">

**Author:** ![kmikkels](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/kmikkels/32/2317_2.png) [@kmikkels](https://gramps.discourse.group/u/kmikkels)\
**Post date:** [April 5, 2025, 7:56am UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/9 "2025-04-05T07:56:45Z")

</div>

I am not sure I understand - could you elaborate a little?

---

<div class="post-metadata">

**Author:** ![PeterPower](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/peterpower/32/2591_2.png) [@PeterPower](https://gramps.discourse.group/u/PeterPower)\
**Post date:** [April 5, 2025, 5:43pm UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/10 "2025-04-05T17:43:29Z")

</div>

Eg. I used wording “genr\_kuv vt” to express the person was not permanent guvorner general. Or used finnish word “hallitus” for cabinet. If somebody non native uses my file he sure does not understand them. First line of file could contain explanations and would differ from other real time based fakta lines.

---

<div class="post-metadata">

**Author:** ![kmikkels](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/kmikkels/32/2317_2.png) [@kmikkels](https://gramps.discourse.group/u/kmikkels)\
**Post date:** [April 6, 2025, 6:48am UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/11 "2025-04-06T06:48:38Z")

</div>

So if i dont use lines starting with a # , it would give the possibillity for makin remarks, and thus do what you want?

---

<div class="post-metadata">

**Author:** ![PeterPower](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/peterpower/32/2591_2.png) [@PeterPower](https://gramps.discourse.group/u/PeterPower)\
**Post date:** [April 7, 2025, 8:08am UTC](https://gramps.discourse.group/t/historical-contextin-suomalaisten-tapahtuminen-testitiedosto/7355/12 "2025-04-07T08:08:02Z")

</div>

Nice and simple way. Could you anyhow show this line eg. as first line but bypassed in filtering? Second thought is that I like put an URL in the text so longer explination can be recorded or address of original source of lines.
