1,969
edits
Changes
no edit summary
{{Third-party plugin}}
{{man warn|Only install Install the country you requireonly|otherwise many websites will be duplicated in the "Web Connection" menu.}}
[[File:Web-connect-pack-UK-menu-51.png|thumb|right|450px|Web Connect Pack - UK websites menu]]
The ''Web Connect Packs'' contain a collection of Web sites for [[Addon:Web_Connect_Pack#Available_Web_connect_Packs|various countries]].
==Usage==
From the {{man label|{{icon|peop}} '''People'''}} Category view select a person then right-click and from the context menu select the {{man label|Web Connection}} entry to show the website choices that you can search on. Selecting a website will send the selected persons following data:
* <code>%(surname)s</code> : Surname* <code>%(given)s</code> : Given name* <code>%(middle)s</code> : Middle name* <code>%(birth)s</code> : Birth Dateyear* <code>%(death)s</code> : Death Dateyear
to be queried and the result if any will be displayed.
* Requires '' 'libwebconnect' '' be installed.
'' 'libwebconnect' '' is the support ''Library for web site collections''.
==Available Web connect Packs==
{{man warn|Only install Install the country you requireonly|otherwise many websites will be duplicated in the "Web Connection" menu.}}
Available Web connect Packs:
*DEWebConnectPack
*RUWebConnectPack
** See also [[Resources_and_related_sites#Russian|Russian resources]]
*SVWebConnectPack
** See also [[Resources_and_related_sites#Swedish|Swedish resources]]
*UKWebConnectPack
** See also [[Resources_and_related_sites#General_information_sites |General information sites]]
==Issues==
If the external website that "[https://gramps-project.org/bugs/tag_view_page.php?tag_id=281 Web Connect Pack]" queries against changes its query method, please raise an issue on the bug tracker. ===Updating a webpack===If the query no longer works because the website updated the way searches happen these addons will need updating also. So a Python line in the <code>WEBSITES</code> section of WebPack.py that reads like:<pre>["Person", "WikiTree", "WikiTree", "https://wikitree.sdms.si/function/WTWebProfileSearch/Profiles.htm?&Query=%(given)s+%(surname)s+B%(birth)s+D%(death)s&MaxProfiles=500&SortOrder=Default&PageSize=10"],</pre>creates a {{man menu|WikiTree }} submenu line to the contextual pop-up menu's {{man menu|Web Connection}} group in the People category view. Selecting that a {{man menu|WikiTree }} submenu line for a Person Gramps records as being named ''Richard Milhous Nixon''; born ''12 January 1913'' in ''Yorba Linda, California''; died ''23 April 1994'' in ''Manhatten, New York''; would send the following query line to your default browser: https://wikitree.sdms.si/function/WTWebProfileSearch/Profiles.htm?&Query=Richard+Nixon+B1913+D1994&MaxProfiles=500&SortOrder=Default&PageSize=10
[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Reports]]