How to import a book into a database, 140 characters at a time?

Awk and/or sed are probably going to be your friends in this. Another option is to first separate the text into words, then aggregate a string of words until you reach 140 characters. Output the line and repeat.

I think VI/VIM is your answer. You looks you know some Linux - so you're very close.

It sounds like you are going to do what Proustr is doing: twittering Proust. He basically outlines how he processes the text here: omgtldr.com/proustr/ A simpler way might be to do one sentence at a time, but the problem is that some sentences are more than 140 characters. If you are interested in the sentence idea I think it would work kind of like this: In MS Word you can do the replace function and replace "period space" with "period space tab" and then export the file into Excel using a tab delimited setting.

Then just save it as a CSV for import into MySQL. This would almost give you what you want, but not quite. I know it's an ugly solution, so I'm sure you will find a better one.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions