Changes

Jump to: navigation, search

Addon:Web Connect Pack

58 bytes added, 15:43, 16 November 2022
m
no edit summary
{{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]]
The ''Web Connect Packs'' contain a collection of Web sites for [[Addon:Web_Connect_Pack#Available_Web_connect_Packs|various countries]].
==Usage==
* <code>%(death)s</code> : Death year
to be queried and the result if any will be displayed.
 
So a Python line in the WEBSITES 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
==Prerequisites==
*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]]
** See also [[Resources_and_related_sites#United_States_of_America|US resources]]
==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=Issues500&SortOrder=Default&PageSize=10"],</pre>If creates a {{man menu|WikiTree }} submenu line to the external website contextual pop-up menu's {{man menu|Web Connection}} group in the People category view.  Selecting that "Web Connect Pack" queries against changes its query methoda {{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, please raise an issue on New York''; would send the bug trackerfollowing 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 ==See Also==* [[Web Solutions for Gramps]]
* {{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
* {{bug|11890}}: [Web Connect Pack] Internet links have changed and become invalid
[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Reports]]
4,602
edits

Navigation menu