Skip to content

rootsdev/gensites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gensites

JavaScript library containing metadata about genealogy websites. The original intent is to contain display information (site name, url, and description) for websites supported by gensearch and genscrape but I'm sure we can come up with more uses for it.

Methods

site(siteId)

Get a specific site.

gensites.site('werelate');

sites()

Get a list of all available sites.

gensites.sites();

Site Schema

{
  id: 'ancestry',
  name: 'Ancestry.com',
  url: 'http://ancestry.com',
  description: { 
    en: 'Discover your family history and start your family tree. Try free and access billions of genealogy records including Census, SSDI & Military records.'
  }
}

The current descriptions were pulled from their respective websites, either using the meta description if it existed or some other description shown on the home page. They could use a little work to be more useful.