I generated a GedCom-file with Aldfaer 4.2
Names are displayed in PhpGetView as:
In witch file and witch line can I insert a space between the given name and the surname?
You will need to edit the GEDCOM that was produced by Aldfaer, and then re-import the modified GEDCOM. The problem is that Aldfaer did not insert a space before the family name field, like so:
1 NAME Han/Brouwer/
1 NAME Jan/van Beveren/
1 NAME Han /Brouwer/
1 NAME Jan /van Beveren/
The reason the GEDCOM specification makes the space optional and PGV behaves that way is to accommodate Chinese names, where you don't insert a space between the family name and the given name. In Chinese, the two names are run together as one set of ideographs, and the family name is always stated first.
You should check the Aldfaer options for creating the GEDCOM. There might be an option for automatically inserting that separating space in the GEDCOM.
Thanks but thats a lot of work. Its easier to insert the space in some php-file. But I don't know where :-)
If you have the batch_update module installed, you can do the following:
- log in as Admin and access the Admin menu
- in the "Data and GEDCOM administration" section, click on the "Perform batch updates/edits on your GEDCOM" menu entry (last entry in the left side of this section)
- Select the correct GEDCOM from the list, and select the "Fix name slashes and spaces" option
- Follow the prompts.
You did not say what version of PGV you're running.
I'm running the 4.3.0 "SVN" version, and when it imports a GEDCOM that has the missing spaces, it adds them automatically.
Download and upgrade instructions for this version are in the Help topic post whose title begins with "Repost: Download …" It's near the top of the Help topic list.
OK, thats better. Thank you very much. I'm running PGV basic 4.2.4. Later this week I will update to 4.3.0.
Not all the record are changed. Is there a maximum? Is there a way to change all the records? Can I repeat the action without having double spaces?
I don't know whether there is a maximum. Probably "yes".
There's no harm in running the procedure again. You will not get extra spaces.
Usually simply F5, but you can run it again and again if your PHP script has timed out due to your settings and the extensive amount of changes.
I tried to do it again but I got the message: "nothing found". Probably there is a limit of 1024 or 2048 records and it starts every time at the begin. I di'dn't count them. I have almost 4000 records.
Nothing found means it has corrected all with that format. If finished.
But thats not true. There are still records with that format that hasn't corrected. So there must be a limitation.
From my iPhone: Let me assure u there is NO limit. Batch update will work on hundreds of thousands of records. Where are you checking? Can we see the site? Stephen
Make sure you have the correct Gedcom selected.
Look here: http://184.108.40.206/PhpGedView/
Some names are with and others without a space.
One very important point, that is often overlooked:
After having made the corrections to the GEDCOM, you will need to re-import so that the database is properly updated too.
Since you are working in Dutch, here are the steps you need to follow, using the Dutch texts on the various pages:
1. Log in as Administrator, and click on Beheren at the top of the page. This will open the Beheer page.
2. Click on the Beheer GEDCOM-bestanden en privacy-instellingen option. This is the third option in the left column. This will open the Huidige GEDCOM-bestanden page.
3. On the GEDCOM-bestand line, click Importeer and then follow the various prompts.
3a. The Wilt u de oude gegevens verwijderen en de gegevens uit het nieuwe GEDCOM-bestand toevoegen? question should be answered with Ja .
3b. The Behoudt media links question might not appear. If it does, you need to answer it with Nee.
3c. Click the Doorgaan button.
4. The procedure continues with the Importopties dialog. Don't change any of the default settings, and click the Doorgaan button again.
I fixed this problem. Their were no spaces inserted in the GEDCOM file with the action as discribed above. I fixed it with WORD 2010 with a two-step-action and imported it in PHPGETVIEW. Now its OK.
I think you are mistaken. I think, had you exported the database to a new GEDCOM, you would have seen the changes.
PGV no longer updates the text GEDCOM after import. Changes and additions, including 'batch update' are made strictly within the database - not in the text file. It is specifically why I asked you: " Where are you checking? "
If you looked at the text file, you were simply viewing the file you had imported, NOT the data that had been massaged. New users often can't get their head around this concept, but PGV (and webtrees) do not use the GEDCOM once it has been imported. Do not think that your text file will contain your new data in the future. You must export a copy of the database to create an updated version for use or review elsewhere.
Glad you have resolved your problem.
Not easy to be a generalist, knowing a bit of this and a bit of that :-) But after a while you can look at my site:
thanks for all the help :-)
problebly I will ask some questions again.
At first blush, you've got a lot of work ahead of you to clean up your configuration and data.
No PLAC hierarchy? Take a look at: http://220.127.116.11/PhpGedView/placelist.php?ged=060812.ged
You need to add Top Level countries to all your places, and perhaps states or provinces. Given the number of places and amount of data you have, this will be a major chore. You may wish to use a free utility called GEDPLACE.EXE (a windows product) to help. It works on a GEDCOM and thusly you will have to export a copy, use the tool and then reimport (erasing your existing data). Unless you do this, you will have no use of Google Maps.
Too, I'm not sure why you have completely excluded anyone speaking English from using your site. That was not necessary to still have the default set to Dutch.
Media links are all broken. You will have to upload all your media to the media file, apply the permissions modifier and perhaps move them to a protected (firewall) directory. If that doesn't work, you will need to manage every media item.
I will look for GEDPLACE.EXE to fix the PLAC hierarchy. I never imagine that I could use Google Maps. For the moment it's low priority.
I've added the English language. You can choose now Dutch or English.
I had to read how to add the media and how to protect it.
I've added the Media. Thats works fine.
Now I want to start to change the names of the places. I've downloaded GEDPLACE.EXE and understand what to do. But what to do with places that don't exist anymore? We have a lot of that in the Nederlands. Split up, put together and other variants.
You have many choices to make.
Why not read the following thread for some ideas about your options.