Shelfarians discussion
I DID THAT! Script to convert csv to GR friendly format
date
newest »


Use EDIT Shelves to quickly get rid of what you don't want. Or rename.
Cheers!


If you want, i can have a go at seeing if GR will accept the private notes column now. I didn't revisit that after I finally got reviews to pass properly.

He said commas should be the only thing...but I had some other characters mess up in my tags, which I have been trying to change/fix some of...that there should be an "LF" or some other type character at the end?
I also have lots of characters in my tags...which are "a whole nother" headache...some never show up...it seems slashes (\) somehow affect things...


I didn't test if it'll change things like "date-added" but it should at the minimum fill in missing data.
The script makes the assumption that the bulk of the books have not yet been added to your GR. Which is why I didn't get around to testing exactly what it'll update if a book data is already there in part.
But just to be safe, export your GR data first.
Every field that comes in from the script is put in a shelf: "from shelfari". If there's any question about an overlapping book, you can open gr csv in excel and search for the ISBN to get the right row.
Oh boy, this is probably going to sound like Greek to you.


If it doesn't merge well, you can dump your shelves and restore from the GR csv


Because of the commas above all else. That's why very few reviews make it across successfully.

But....
Here you go: http://megalion.org/shelf
I've run my and Alison D's library.csv files through the script over and over. The converted csvs now import perfectly. I created a test GR account and imported there to test.
Another way to spot check, especially since there's no easy visual clue if review was imported, export your data from GR, scan the csv. Especially near the bottom of the file, Do you see reviews where expected?
I ended up skipping some of the extra fields like Private Notes because I was running into enough things getting the basics done.
IF You've ALREADY tried to manually copy stuff over, you can still use this script to try to catch anything you missed. How I would do it: export your current GR, make test GR account. Import that csv first. Now you have a safe place to test without impacting your actual account.
Import the converted Shelfari csvs. Export GR again. Spot check and compare lines from GR export 1 & 2. If you're satisfied that importing the converted csvs was useful and didn't muck up your existing data, go back to your account, import the converted csvs there.
Done!
Hope this helps you guys. Let me know how it works, and ESPECIALLY if you encounter any problems.
Assuming it works for people, feel free to pass the url around. Share the relief!