Re: Removing an addon

Dave Scheipers <[email protected]> Fri, 1 Nov 2024 15:23:03 -0400
Newsgroups gmane.comp.genealogy.gramps.user
Message-ID <CAPJZ5GPAcQs_dS1RdZB_hUcmU9_R4z49d+=VH98JFwGGeFx-Dg@mail.gmail.com>
Since Ancestry requires a paid subscription, it is not in the list. But if
you have a subscription you can easily create your own searches.

I took one of the country packs and copied it to a folder DESWebConnectPack
and renamed the files accordingly. You have to edit the .gpr.py file so it
will load. These are the lines to modify.  FYI: You can use your own
initials.

         id="MY Web Connect Pack",
         name=_("My Web Connect Pack"),\

         fname="DESWebConnectPack.py",

By putting my unique search in my own pack, they never get overwritten
if a new country pack is downloaded.

Then you want to modify DESWebConnectPack.py by deleting all the
WEBSITES but one and modify it to

    ["Person", "Ancestry", "Ancestry.co.uk", '''URL''],

and replace the URL with the url that returns after inputting a search. If
you put in a search for MaryJones born in 1888 and died in 1999 the
completed search will have those parameters in the URL.

For the URL in the code, replace Mary with %(given)s, Jones with
%(surname)s, 1888 with %(birth)s and 1999 with %(death)s

This works for any site that puts the search parameters in the returned
URL. Basically you are bypassing the site's search page and sending the
parameters from Gramps to the URL that will return the results..

Good luck,Dave





On Fri, Nov 1, 2024 at 1:00 PM Harvey Nimmo <[email protected]> wrote:

> Thanks that worked, after restarting Gramps.
>
> Some of the connection URLs are faulty. Can they be corrected? e.g.
> Ancestry.co.uk is missing
>
> Cheers
> Harvey
>
>
>
> On Fri, 2024-11-01 at 12:43 -0400, Dave Scheipers wrote:
>
> I install all addons then "hide" the ones that I do not use using the
> Plugin Manager. (menu >> Help >> Plugin Manager). It was this addon that
> caused me to find out about hiding addons. Being in the U.S. I did not need
> the French and German , etc connect packs.
>
> If you have the enhanced version of the Plugin Manager, you can uninstall
> addons.
>
> The alternative is to go to your user plugin directory and delete the
> addon's folder.
>
> /gramps52/plugins/
>
> Gramps 5.2 Wiki Manual - User Directory - Gramps
> <https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_User_Directory>
>
>
> On Fri, Nov 1, 2024 at 12:33 PM Harvey Nimmo <[email protected]> wrote:
>
> I was curious to try out the Webconnect addon (after the recent
> exchange here), so I installed two (UK and DE) before I noticed the
> warning on the Gramps web page.
> 1) How do I remove one of them?
> 2) I use Ancestry, but where is it in the Web Connection list?
>
> Cheers
> Harvey
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

-- 
Gramps-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org