No commit activity in last 3 years
No release in over 3 years
Look at a bunch of various retailers' wedding registries and consolidate information in one place.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.6
>= 1.1.2, ~> 1.1
 Project Readme

Wedding Registry Scraper

Why?

Want to consolidate multiple registries onto one website?

Want to regularly update your fulfillment counts?

This (work in progress) is for you!

Which Registries?

Right now, works with:

I intend to get this working with:

  • Sur la Table
  • Pottery Barn

Getting Raw Registry Data

Add to your Gemfile

gem 'wedding-registry-scraper'

Use WeddingRegistryScraper#scrape:

require 'wedding_registry_scraper'

WeddingRegistryScraper.scrape([
  "http://www.heathceramics.com/giftregistry/view/index/id/YOUR_UNIQUE_REGISTRY_ID",
  "http://www.crateandbarrel.com/Gift-Registry/YOUR_NAMES/YOUR_UNIQUE_REGISTRY_ID",
  "https://www.zola.com/registry/YOUR_REGISTRY_SLUG",
  "http://www.rei.com/GiftRegistryDetails/YOUR_UNIQUE_REGISTRY_ID",
  "https://secure.williams-sonoma.com/registry/YOUR_UNIQUE_REGISTRY_ID/registry-list.html",
])

Example – Generate HTML Source

The ./example folder provides a simple example of how how you might use the wedding_registry_scraper gem to generate html for your wedding website's registry.

It uses Mustache for templating. It also relies on Normalize and some custom css to make the generated page look reasonable.

# Go to the example folder and install gem dependencies
cd ./example
bundle

# Execute the example html generator, `registries.rb`, with your
# Zola and Williams-Sonoma registries (use your actual URLs),
bundle exec registries.rb "https://www.zola.com/registry/YOUR_REGISTRY_SLUG" "https://secure.williams-sonoma.com/registry/YOUR_UNIQUE_REGISTRY_ID/registry-list.html" > registries.html

# Open the file
open registries.html

Want to Help?

It should be simple to add another registry by cloning a Regsitry inside lib/wedding_registry_scraper/registries.

I look forward to your pull-request.

Like this project and planning on registering?

Why don't you register for Zola using my invite code: https://www.zola.com/invite/pariser

Thanks!