Difference between revisions of "Addon:Web Connect Pack"

From Gramps
Jump to: navigation, search
m
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Third-party plugin}}
 
{{Third-party plugin}}
 +
{{man warn|Install the country you require only|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]]
 
[[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 [[Web_Connect_Pack#Available_Web_connect_Packs|various countries]].
+
The ''Web Connect Packs'' contain a collection of Web sites for [[Addon:Web_Connect_Pack#Available_Web_connect_Packs|various countries]].
   
+
 
==Install==
+
==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 year
 +
* <code>%(death)s</code> : Death year
 +
to be queried and the result if any will be displayed.
 +
 
 +
==Prerequisites==
 
Before using you must install libwebconnect library and one of language packs.
 
Before using you must install libwebconnect library and one of language packs.
===Prerequisites===
 
* Requires '''libwebconnect''' be installed.
 
'''libwebconnect''' is the support ''Library for web site collections''.
 
  
1. Open Plugin Manager (Menu Edit -> Preferences or Help -> Plugin Manager),
+
* Requires '' 'libwebconnect' '' be installed.
2. Select library '''libwebconnect''' and install it,
+
'' 'libwebconnect' '' is the support ''Library for web site collections''.
3. Select needed language pack and install it.
 
  
 +
==Available Web connect Packs==
 
{{man warn|Install the country you require only|otherwise many websites will be duplicated in the "Web Connection" menu.}}
 
{{man warn|Install the country you require only|otherwise many websites will be duplicated in the "Web Connection" menu.}}
 
==Available Web connect Packs==
 
{{man warn|Only install the country you require|otherwise many websites will be duplicated in the "Web Connection" menu.}}
 
 
Available Web connect Packs:
 
Available Web connect Packs:
 
*DEWebConnectPack
 
*DEWebConnectPack
Line 26: Line 30:
 
*RUWebConnectPack
 
*RUWebConnectPack
 
** See also [[Resources_and_related_sites#Russian|Russian resources]]
 
** See also [[Resources_and_related_sites#Russian|Russian resources]]
 +
*SVWebConnectPack
 +
** See also [[Resources_and_related_sites#Swedish|Swedish resources]]
 
*UKWebConnectPack
 
*UKWebConnectPack
 
** See also [[Resources_and_related_sites#General_information_sites |General information sites]]
 
** See also [[Resources_and_related_sites#General_information_sites |General information sites]]
Line 32: Line 38:
 
** See also [[Resources_and_related_sites#United_States_of_America|US resources]]
 
** See also [[Resources_and_related_sites#United_States_of_America|US resources]]
  
==Usage==
+
==Issues==
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:
+
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.
* Surname
+
 
* Given name
+
===Updating a webpack===
* Middle name
+
If the query no longer works because the website updated the way searches happen these addons will need updating also.
* Birth Date
+
 
* Death Date
+
So a Python line in the <code>WEBSITES</code> section of WebPack.py that reads like:
to be queried and the result if any will be displayed.
+
<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:&#x2f;&#x2f;wikitree.sdms.si/function/WTWebProfileSearch/Profiles.htm?&Query=Richard+Nixon+B1913+D1994&MaxProfiles=500&SortOrder=Default&PageSize=10
 +
 
  
==Issues==
 
If the external website that "Web Connect Pack" queries against changes its query method, please raise an issue on the bug tracker.
 
  
* {{bug|5454}}: Links with some open databases (possible links to add to web connect packs)
 
* {{bug|7391}}: WebConnect Addons create replicated menu entries
 
* {{bug|8821}}: UKWebPack does not search Family Search site
 
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 
[[Category:Developers/General]]
 
[[Category:Developers/General]]
 
[[Category:Reports]]
 
[[Category:Reports]]

Latest revision as of 04:25, 12 May 2022

Gramps-notes.png

Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
Unless otherwise stated on this page, you can download this addon by following these instructions.
Please note that some Addons have prerequisites that need to be installed before they can be used.
This Addon/Plugin system is controlled by the Plugin Manager

Gnome-important.png
Install the country you require only

otherwise many websites will be duplicated in the "Web Connection" menu.

Web Connect Pack - UK websites menu

The Web Connect Packs contain a collection of Web sites for various countries.

Usage

From the People People Category view select a person then right-click and from the context menu select the Web Connection entry to show the website choices that you can search on. Selecting a website will send the selected persons following data:

  • %(surname)s : Surname
  • %(given)s : Given name
  • %(middle)s : Middle name
  • %(birth)s : Birth year
  • %(death)s : Death year

to be queried and the result if any will be displayed.

Prerequisites

Before using you must install libwebconnect library and one of language packs.

  • Requires 'libwebconnect' be installed.

'libwebconnect' is the support Library for web site collections.

Available Web connect Packs

Gnome-important.png
Install the country you require only

otherwise many websites will be duplicated in the "Web Connection" menu.

Available Web connect Packs:

Issues

If the external website that "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 WEBSITES section of WebPack.py that reads like:

["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"],

creates a WikiTree submenu line to the contextual pop-up menu's Web Connection group in the People category view.

Selecting that a 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