Difference between revisions of "Addon:Web Connect Pack"

From Gramps
Jump to: navigation, search
m (Available Web connect Packs)
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Third-party plugin}}
 
{{Third-party plugin}}
{{man warn|Only install the country you require|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.}}
 
[[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]].
  
 
==Usage==
 
==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:
 
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:
* Surname
+
* <code>%(surname)s</code> : Surname
* Given name
+
* <code>%(given)s</code> : Given name
* Middle name
+
* <code>%(middle)s</code> : Middle name
* Birth Date
+
* <code>%(birth)s</code> : Birth year
* Death Date
+
* <code>%(death)s</code> : Death year
 
to be queried and the result if any will be displayed.
 
to be queried and the result if any will be displayed.
  
===Prerequisites===
+
==Prerequisites==
* Requires '''libwebconnect''' be installed.
+
Before using you must install libwebconnect library and one of language packs.
 
 
'''libwebconnect''' is the support ''Library for web site collections''.
 
  
 +
* Requires '' 'libwebconnect' '' be installed.
 +
'' 'libwebconnect' '' is the support ''Library for web site collections''.
  
 
==Available Web connect Packs==
 
==Available Web connect Packs==
{{man warn|Only install the country you require|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:
 
Available Web connect Packs:
 
*DEWebConnectPack
 
*DEWebConnectPack
Line 31: 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 38: Line 39:
  
 
==Issues==
 
==Issues==
If the external website that "Web Connect Pack" queries against changes its query method, please raise an issue on the bug tracker.  
+
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:&#x2f;&#x2f;wikitree.sdms.si/function/WTWebProfileSearch/Profiles.htm?&Query=Richard+Nixon+B1913+D1994&MaxProfiles=500&SortOrder=Default&PageSize=10
 +
 
 +
 
  
* {{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]]

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