Forum Activity for @norway174

Norway174
@norway174
07/22/21 05:37:22PM
3 posts

Family Tree API


Genosis

Sorry. Seems like I won't be needed anymore. The server I was hosting this page on just bricked itself somehow. So the database got lost. (I got a backup of the website files. But I didn't back up the database.)

So I'm unfortunately going to abandon this project. Unless I can somehow magically fix my server.
But likely, I'll just have to perform a full reset / reinstall.
And I really don't wanna fill in all of those details again. ¯\_(ツ)_/¯

So for anyone else stumbling over this thread looking for the same thing in the future; good luck to you!

And thank you a lot for your help, @michael. This is definitely a super interesting software, that I'll be keeping my eye on if I ever need something like this again. :P
And sorry it took so long to get back you. Just been a little hectic, and this project took a backseat. Till I discovered the server was broken today.
Norway174
@norway174
07/19/21 06:49:25AM
3 posts

Family Tree API


Genosis

Thank you for the detailed response, and the help thus far.

I did look into using the GEDCOM export functionality. However, that seems to be a manual process to export it each time.

I'm using this software for a slightly different purpose than for my own family free. And new members are added regularly, by other people.

So this tree should be able to be updated with the latest information available once someone requests the API or web-page.

It's public site, available here: https://ohm.misneden.com

Basically, it's the messy complicated family tree of a Rimworld playtrough.
The software so far has been amazingly flexible to handle all of these strange use cases. :D (Mainly the dates.)

Only thing missing in the big picture. The full tree.

I'll add your module, and have a play around with it. And see if I can make it pump out what I need. Thank you!
Norway174
@norway174
07/18/21 07:01:59PM
3 posts

Family Tree API


Genosis

Hey.

I'm trying to create a full tree view with all the members. And am looking into external ways of generating such tree views. Since Genosis seems to be limited to only 4 generations in the chart view.

However, I'm unable to locate the member relations data.

I'm trying to create an API that outputs the whole family tree in this type of format: https://github.com/AlexanderWillner/kingraph/blob/master/examples/simpsons.yaml

I'm able to find the profiles. As seen in the screenshot. And print that to the API I'm making. But I'm unable to get the profile relationships, such as spouses, siblings, and children.

Right now, I'm trying to create the API with the template builder, and using Javascript.
Using this method, I'm limited to only being able to display the tree as a form of widget or template.

I've also looked into creating a PHP API, with making queries to the database. But I'm even more lost by the data structure on the database.
And I don't even know how to approach that problem.

Any pointers on this would be greatly appreciated. Thank you!
vivaldi_2021-07-19_03-54-31.png vivaldi_2021-07-19_03-54-31.png - 15KB

updated by @norway174: 10/24/21 07:42:55AM