• Export all necessary data files (mp3s, photos, etc.) to a single folder.
  • Export your data to standardized CSVs. All fields must be present for all rows, but values do not have to be set.
    • A sample views configuration for exporting from Drupal 6 is linked below.
  • CSVs should contain fields as follows. They will be marked as required (must have a value), recommended (won't produce an error if blank, but should be set), or optional
CSV nameField NameData TypeRequired?Description
album.csv




titlestringrequired

bodystringoptionalHTML (description)

file_thumbnailstringoptionalfilename (album art. jpg or png)

release_datestring|intoptionalany standard date format or a timestamp

record_labelstringoptional

other_creditsstringoptionalHTML

purchase_1_urlstringoptionalurl

purchase_1_typestring|intoptional0 - Free download, 1 - paid download, 2 - physical purchase (default)

purchase_2_urlstringoptionalurl

purchase_2_typestring|intoptionalas above

..........

purchase_10_urlstring|intoptionalurl

purchase_10_typestring|intoptionalas above
blog.csv




titlestringrequired

post_datestring|intrecommendedany standard date format or a timestamp

bodystringrecommendedHTML (post content)

file_thumbnailstringoptionalfilename (preview/thumbnail image. jpg or png)

fan_club_onlystringoptional"yes" or "no"
news.csv




titlestringrequired

post_datestring|intrecommendedany standard date format or a timestamp

bodystringrecommendedHTML (post content)

file_thumbnailstringoptionalfilename (preview/thumbnail image. jpg.png)

fan_club_onlystringoptional"yes" or "no"
photo.csv




imagestringrequiredfilename (photo itself. jpg)

titlestringrequired

alt_textstringoptionalrecommended for standards compliance

title_textstringoptionalrecommended for standards compliance

fan_club_onlystringoptional"yes" or "no"
song.csv




titlestringrequired

mp3stringrequiredfilename (most audio types, .mp3, .flac, .wav, .ogg, etc)

bodystringoptional

file_thumbnailstringoptionalfilename (album art. .jpg .png)

authorstringoptional

studiostringoptional

file_tabstringoptionalfilename (tablature. .pdf)

purchase_1_urlstringoptionalurl

purchase_1_typestring|intoptional0 - Free download, 1 - paid download, 2 - physical purchase (default)

............

purchase_10_urlstringoptionalurl

purchase_10_typestring|intoptionalas above
tour.csv




titlestringoptional

tour_datestring|intrequiredany standard date format or a timestamp

venuestringrequired

shourintoptional1...12 (show start hour)

sminintoptional0,5,10...55 (show start minutes)

sampmstringoptional"AM" or "PM"

ohourintoptional1...12 (doors open hour)

ominintoptional0,5,10...55 (doors open minutes)

oampmstringoptional"AM" or "PM"

meet_greet_startstring|intoptionalany standard date format or a timestamp

meet_greet_stopstring|intoptionalany standard date format or a timestamp

bodystringoptionalHTML

ticket_pricestringoptional

agestringoptionalage restrictions

buy_ticketsstringoptionalurl

countrystringrequiredFull country name (e.g. "United States" or "Canada")

statestringrecommendedState abbreviatioon (e.g. "TN"). Required if country="United States"

provincestringrecommendedProvince abbreviation (e.g. "AB"). Required if country="Canada"

regionstringrecommendedRequired if country is not "United States" or "Canada"

zipcodestringrecommendedRequired if country="United States"

postal_codestringrecommendedRequired if country="Canada"

zpcodestringrecommendedRequired if country is not "United States" or "Canada"

citystringrequired

streetstringoptional

phonestringoptional

urlstringoptionalurl (venue's website)

file_thumbnailstringoptionalfilename (show poster. .jpg, .png)

fan_club_onlystringoptional"yes" or "no"
video.csv




titlestringrequired

weightintoptionalsorting order

urlstringrequiredvideo url

fan_club_onlystringoptional"yes" or "no"
  • Install iMacros in your preferred browser. 
  • Download import .iim files (attached here). Place them within your iMacros macros folder.
  • Install PHP.
  • Download bombplates_import.php (attached here). Place it in the same folder as your CSVs.
  • Edit bombplates_import.php. Update the paths at the beginning to match your own file structure and the site you are populating.
    • site should be the base URL of the new site (e.g. 'http://someband.bombplates.com')
    • filepath should be the full path to your data files with a terminating slash (/ or \ as appropriate) (e.g. '/home/me/downloads/someband.bombplates.com/import/')
    • macropath should be the relative path from your iMacros macros path to where you placed the .iim files (e.g. 'Bombplates/import')
  • Run bombplates_import.php passing in which CSVs you want to import and save the results as a javascript file
    • e.g. from the command line
    • $ php bombplates_import.php album blog news > mysite_import.js
  • Place your javascript file in your iMacros macros folder.
  • Log into the band site as an admin, administrator, or support user
  • Run the javascript file using iMacros. This will begin populating data.
  • Go get lunch or something.
  • Some data will need to be touched up manually after the import finishes.
    • Albums and Songs will need to be enabled for the specific portions of the site they should appear in.
      • Log into the site
      • Go to Content->Audio->Manage Songs (manage/audio-song)
      • Click the different locations and drag songs into them as appropriate
      • Go to Content->Audio->Manage Albums (manage/audio-album) and do the same
    • Songs will need to be assigned to albums
      • Log into the site
      • Go to Content->Audio->Manage Albums (manage/audio-album)
      • Edit each album and add songs
    • Very few content types will import with any sense of order unless dates are involved. You'll probably need to sort manually.
    • Spot-check the data manually.

Attachments:

album.iim (application/octet-stream)
blog.iim (application/octet-stream)
fan.iim (application/octet-stream)
news.iim (application/octet-stream)
photo.iim (application/octet-stream)
song.iim (application/octet-stream)
tour.iim (application/octet-stream)
video.iim (application/octet-stream)
bombplates_import.php (application/octet-stream)