Menu

#455 CGI getxref new: give number, recommend ID

phpGedView
open
nobody
5
2005-08-04
2005-08-04
No

When creating new records with the CGI interface,
action=getxref position=new, we should be able to
specify 2 things:

- the number of records to create
- the preferred xref ID

This would enhance the new GDBI import function.
Right now it has to create new records one by one. If I
am importing 1000 INDIs, I should be able to request
1000 new INDI records at one time.

The other useful feature would be allowing GDBI to
specify which xref ID to use, if currently unused. It is
convenient to have the same ID as the import database
when you are comparing the GEDCOM.

Since the get command already allows parameters like
xref=I100;I101, we could use the same syntax for the
requested IDs. If you allow multiple IDs, there is no
need to have another option for the number of records. I
would always specify the list of requested IDs. If
someone wanted 10 records with no preferred IDs, they
could use empty IDs with xref=;;;;;;;;; So it is the
number of ;'s + 1.

Discussion

  • KosherJava

    KosherJava - 2006-06-20

    Logged In: YES
    user_id=634811

    Has anything changed with this?

     
  • Daniel Kionka

    Daniel Kionka - 2006-06-22

    Logged In: YES
    user_id=325184

    I never heard anything, so I just implemented it with the
    random IDs I get.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.