This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'csv' | |
require 'pathname' | |
txt = File.open('backup-bible-content.txt').read #dump of `bodycontent` table in txt format | |
blobs = txt.split("\t") | |
cols = [] | |
blobs[4..-1].each_slice(3) {|arr| cols << arr} #0 -> content, 1-> contentid | |
CSV.open('bible-pages.csv').each do |row| #dump of `pages` table in csv format | |
content_id, _ , title = row |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buy | |
browse | |
online | |
shopping | |
best | |
shop | |
price | |
variety | |
brands | |
review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buy | |
browse | |
online | |
shopping | |
best | |
shop | |
price | |
variety | |
brands | |
purchase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id":"cust_2E59D78B-5828-4954-AFF2-CF02D3A26DF3", | |
"name":null, | |
"livemode":true, | |
"created":"2018-06-25T16:21:38Z", | |
"email":"[email protected]", | |
"phone":{ | |
"countryCode":"" | |
}, | |
"description":null, |