How to Quickly Align Text From PDF to Word

The afternoon schedule of my kid has given me the time to continue reposting old blog posts that I have saved using Feedfabrik. Without this application I would have lost everything I wrote since 2006 when I made a boo-boo during a WordPress upgrade about two years ago. (It’s a blessing in disguise though as I have discovered a LOT of embarassing grammar lapses.)

Copying and pasting, however, from PDF to Microsoft Word creates an alignment problem which I have been patiently dealing with for weeks already. Realizing that I have barely achieved a significant percentage of repost–my Feedfabrik proof PDF file has more than 1200 articles–I finally turned to the internet for help. Someone out there must have had the same issue. I was right.

Thanks to Superuser.com, I found the answer to my problem. And it’s a very simple one.  Shown below is a screenshot from my MS Word that shows the same set of text from my PDF file.

Don’t mind the excerpts, I’m about to edit it.

Upper half of the picture is how it appears when text is pasted directly from the Feedfabrik proof.pdf file.  Looks easy to align, right? But if there’s a thousand pages to deal with, trust me, it will drain anyone out.

The lower half of the picture is the way to go and it’s done using a neat trick from Superuser.com which I simplified below.

1) Copy text from PDF.

2) Paste text on Google search box (I assume this will work with any other internet browsers).  Do not worry about the length of the text, it doesn’t matter as the next step will get everything back.

3) Use CTRL+A (or CTRL+X) to copy every text you pasted on the search box.

4) Paste text on MS Word.

Take note though that if there are multiple paragraphs being copy and pasted, each paragraph has to be manually separated from the other. But this is something I can handle unless there is another trick to solve this.

Now where was I? Ah, December 22, 2006. Hmmm, bad grammars.

***

Mood: 3/10 Honks! (Still with runny nose after four days. I hope I’d be better tomorrow.)

An Apple A Day

I can’t remember the last time I got something pricey but I won’t even try to recall when or what it was. For now, I appreciate the fact that I now own my first Apple, albeit a hand-me-down. Thanks to you my Santa Clauses, it made me feel I wasn’t so naughty this year.

***

Mood: 2/10 Honks! (First blog entry from my first iPad.)

Here’s a Briefer for Doomsday

Protect your precious head. Wear brief.

Here are top 5 reasons why you need briefs on doomsday:

1. Briefs can be used as masks (as illustrated).

2. Briefs can be good coffee filters (need I say preferably new ones?).

3. And depending on how you’ve stretched it, brief garters can be used to make slingshots;

4. But if you’ve ‘baconed’ them out, nobody would care so don’t throw them away. At least you won’t die naked.

5. Of course, other than being naked, you can call attention by having red and yellow briefs to create a semaphore flag.

***

Mood: 3/10 Honks! (It’s not the end of the world that’s killing me, it’s boredom…and lack of sleep.)

GoDaddy: How to Solve 500 Internal Server Error

Let’s face it: Murphy’s Law is always waiting to rear its ugly head. In more blunt terms, shit happens.  And in blogging, the sight of a 500 Internal Server Error is one those dreaded errors capable of inducing cold sweat.  Take it from me because just this weekend, I came face to face with this depressing error once again, this time is for another reason but stupid rookie mistake nonetheless – I accidentally deleted the host database.

Was I able to recover from it? Yes and no. Yes, I was able to get my page back online. No, I lost all my blog posts.

So what did I do to resolve the problem?

1. Accepted fate. Two days after trying my luck by installing, de-installing, and re-installing WordPress 3.4.2 using Filezilla, I accepted the fact that this isn’t the solution. Time wasted but sanity recovered.
2. Gathered composure. After accepting the fact that I just wiped out years of blog posts, I gathered my composure and sought online help. While my search led me to a WordPress.Org help forum where the answers weren’t direct, it gave me a hint on what to check.
3. Created new database. From the emotional part comes the technical aspect of recovering from a 500 Internal Server Error. Based on experience, wherein I encountered compatibility issues between GoDaddy’s Domain and Hosting settings, I created another database with MySQL version 5. This one took only around 10 minutes to do.
4. Modified the file wp-config.php. Assuming that your GoDaddy FTP File Manager is set up properly, this step is surprisingly easy.  From the newly created database, I took note of three (3) items:  (1) DB Name (this is the usually the same as DB User), (2) DB Password, and (3) DB Host, and then placed these on the wp-config.php file. Here are the lines that need to be changed (underlined):

// ** MySQL settings – You can get this info from your web host ** //

/** The name of the database for WordPress */

define(‘DB_NAME’, ‘IAmACarelessBlogger‘);

/** MySQL database username */

define(‘DB_USER’, ‘IAmACarelessBlogger‘);

/** MySQL database password */

define(‘DB_PASSWORD’, ‘IWillbeMoreCarefulNextTime‘);

/** MySQL hostname */

define(‘DB_HOST’, ‘ClickOnThePencilIconAndThisOneCanBeFoundBesideHostName‘);

5. Moved on. As expected, I opened my site and was welcomed by an entirely new page, fresh page, all blog posts gone. But there is no point in crying over spilt milk, or in this case a wiped out blog; so yes, moving on and starting all over again is the last step in this process.

***

I am now trying to decide if I should continue catering nuffnand adds. About a month ago I checked and I have got some payment for having it on my blog – about 6 pesos. Yes, just 6 pesos.

***

Mood: 2/10 Honks! (I heard my wife will be going to SM. Note to self: avoid the cashier near the men’s section.)

Another Fresh Start for MarcusCanBlog.Com

October 1, Philippine time. If you have been an avid fan (indulge me) of this blog and returned to discover that something is amiss, well, you are right. That is because over the weekend, with me taking a day off earlier than usual because some of my colleagues suggested that I grab the extra time off slot, whatever their reasons are, which I gladly accepted anyway, I tried to install an Instagram plug-in so that I can integrate wifey’s photos but unfortunately I got careless and clicked on the wrong file — and of all files, the main database — on my GoDaddy.com hosting page. And to make the story short, that wiped out ALL my blog posts.

Thankfully, all is not really lost. Two months ago I got another plug-in called Feedfabrik that made me save all my blogs, at least until July 2012, into one e-book consisting of around 1,200 pages. I can also recover some from my old wordpress.com but these contain a lot of grammar error than my recent posts so it might take some time before I review and completely edit these posts and proudly showcase them on marcuscanblog.com.

***

Lesson learned: back up, back up, back up….the right database.

***

Mood: 2/10 Honks! (Happy Blogger!)

How to Behave Online During a Disaster

Bombarded by a neighbor’s videoke session and a boring new Pinoy Big Brother season, I just realized that I was finally finishing off the last of the chocolate balls I’ve brought along with me from last Thursday’s group session at the Kho’s residence. Now, I’m back to having the regular Hany chocnut for dessert.

 I’m also back to my regular Twitter and Facebook post personality  because last week, due to the seriousness of what happened after typhoon Ondoy’s widespread destruction, I made the following commitment on how to behave online during a disaster.

Do something, anything, helpful for the typhoon victims

Other than sorting and donating some of our used clothing—including our baby’s—and some other stuffs, I was among those who made good use of Twitter to disseminate critical information coming from agencies such as the Philippine National Red Cross (PNRC), government officials and media personalities who are also on Twitter. I am fascinated by the fact that this microblog, meant initially for socialization, getting updated with what celebrities as well as ordinary folks are currently doing, can become a very helpful communication tool during a disaster such as typhoon Ondoy. It’s just a pity though, that while others are trying their best to extend help however they can, some didn’t spare the opportunity to send spam by latching into critical hashtags.

Stop re-tweeting allegations against anyone

The problem with technology nowadays is that the rate of how information is exchanged back and forth is so quick that it is easy to spread something like a gossip or false accusations within seconds. Take for example, the case of a particular Jacque Bermejo, who in the midst of the overflowing sympathy for those affected by typhoon Ondoy, allegedly posted a demeaning remark on her Facebook status. In a matter of hours, hundreds pounced in (unfortunately, I was among them) to give her their piece of mind—rough ones, mostly. A couple of days later, ANC Dubai interviewed Jacque Bermejo and according to her, it was a hacked account which she has already filed a complaint with the proper authorities abroad (and I’m assuming that includes Facebook admins).

Another victim of this split-second social network mobbing is the President’s son, Mikey Arroyo, whose hazy picture appeared posted in Facebook and Twitter showing him in a liquor section (according to report was in Rustan’s department store) at the height of typhoon Ondoy. If it was him or if it was taken while everyone’s busy helping out those impacted, I’ll let it pass, I give him the benefit of the doubt.

Lastly, even Gibo Teodoro, the Secretary of Department of National Defense and a 2010 presidential aspirant wasn’t spared.  Some tweeps became furious when they discovered that Gibo isn’t the one behind his own Twitter account (@giboteodoro) but his staffs. Whether that’s the truth or not, I really don’t care.  As long as he dictates those tweets and each are meant to communicate to as much individual as possible, that to me is still public service. (Feel my bias here?)

Quit sending inappropriate humor

I’m one who would readily type and send anything humorous as soon as it pops in my mind. Although I have limits to what I send (for one, I haven’t sent sexually explicit jokes), I realized that since I don’t personally know well all of my Facebook or Twitter contacts, whatever I’d send especially during a crisis might be misconstrued as insensitive or offending, thus until yesterday I refrained from doing such. In fact, I even skipped sending shoutouts of the ingredients I needed for my virtual Restaurant City game. Just imagine how one would feel when he opens his Facebook to check on relatives and all of a sudden he sees one of his best friends posting jokes or playing Mafia Wars or Resto City? Go figure.

***

I’m now looking at, finally, the much awaited draft of my Mandyn group’s presentation for Thursday. That means classes will resume this week starting tomorrow. It also means that life will be back to normal. Well, at least for those who weren’t affected by typhoon Ondoy or typhoon Pepeng. Sadly, while we all move on as if nothing happened, some even at this time haven’t even eaten regularly yet while others still try to accept that they’ve lost everything they used to have.

So wouldn’t it be nice if we all still spare a thought, pray,  and share something more for the typhoon victims? I’ll try my best.

***

Mood: 2/10 Honks! (Bukas na!)

Glad to Wake Up Still At Home

It’s one of those days when I prayed like never before and this morning was proof somehow that God still answers fervent prayers. I woke up still on the same bed with my wifey and kid beside me and not somewhere else. Last night, I slept with an uneasy feeling thinking that a typhoon with a strength that was never heard of before in the Philippines will be passing by or worse, make landfall. Again thank God, he listened to us Filipinos who for sure don’t want a repeat typhoon Ondoy did and to think that another typhoon will happen just within the same week.

***

Another good thing this morning is the arrival of another set of bags of Tully’s and Peets coffee beans coming from a relative in the US via her friend in Bacolod. That domestic stopover added something more to the package which is a perfect match for a brewed coffee, piaya.

Thanks again Keren and Gary for filling my cravings for caffeine. I’m quite sure that I’d be Starbucks-free at least for a month or two.

***

Just a thought: Aren’t typhoon Ondoy and typhoon Pepeng God’s own warning shot for us to stop and think what we’ve been doing to our environment? Weren’t we taught that cleanliness is next to godliness?

Think about it my friends. Let’s make a lot more effort to take good care of the environment. It’s never too late.

***

It’s about time I promote another blog I maintain just to catch and record litterbugs and smoke belchers. This is my own way to help drive environmental consciousness. Please check and contribute to Planet Trash Can.

***

Mood: 4/5 Honks! (Sleepy and tired…and anxious.)

Who Visits Your Blog?

“The only way to improve the quality of your life is to improve yourself. If you want to grow your organization, you must grow as a leader. If you want to have better children, you must become a better person.” – John Maxwell

In the last months of 2008 and until now my blog site’s hits picked up. The rate of visitors has increased a lot compared to early part of last year and that of course puts a smile on my face. I attributed the improvement to my recent availability and frequent online activity. I’ve visited old contacts’ blogs, became active in several networks like multiply.com and Friendster, wrote more frequently than before and my wife has been promoting it as well to her colleagues and even her manager which left me wondering if I’d be thankful or not for exposing me up to that level. Anyway, she left a comment and it was one of the most flattering comments I ever had.

That visit and comment though just didn’t add one more blog hits. From then on, I got challenged since I now know who’s been reading, who visited and what probably the expectations of my visitors and readers are. The pressure to write sensible blogs with acceptable composition started. I also began to check what my latest posts were and if I violated some of the company’s confidential policies. The good thing is I didn’t but the bad thing on the other hand is that due to the urge to write more, I seem to have written with so much wordiness yet with less appealing topics, that even I hated it. Surprisingly, the hits kept on rising.

Now I’m becoming worried than ever. I asked myself if I know who’s been coming back, why they come back, what their interests are and how they learned about my site in the first place. With that in mind and similar other observations from the blogging world lit my thinking bulb. It’s time I answer the question, “Who are your blog visitors?”

  1. Lurkers. They are often times blessings in disguise because they increase network traffic and they make up the biggest percentage of a website hits. I suspect The problem with having them though is that they don’t leave any (good or bad) comments which keeps you guessing what they are so interested about that they keep on coming back. Among these lurkers are:
  • Spammers
  • Advertisers
  • Enemies who would love to see you fail.
  • English grammar teachers who are searching for the “I-kill-me-moment” for their next day classes. “Class, please visit crisn.wordpress.com and find as much grammatical error as possible on his post…”
  • Copycats who secretly grab your ideas and plagiarize it on their own blog site (thanks at least for pingback that they get caught somehow).
  • Journalists who are desperately trying to meet the deadline and hoping that a keyword or tag from your post would light up their own light bulb.
  • Your current boss looking for violations in confidentiality.
  • Your next employer.
  • Your colleagues who wonder if you’re the same person they know especially if you’ve kept your writing skill (or the lack of it) secret.
  • Your ex-lover.
  • Bloggers you visited and commented.
  • Social engineers and Phishers.
  1. Same feathers. From the famous “birds of the same feathers flock together” cliché. These are visitors and/or readers who may be also members of the internet forum or egroup you’re currently in. More often than not they don’t necessarily mean that they love your site, your subject matter or even your writing style. More likely, they are just there hoping to exchange links and probably get some ideas in the process. So beware and don’t immediately edit that blogroll of yours unless you’re totally convinced that they deserve that sweet spot in your blog site.
  1. Niche audience. These are the people that you want in your blog They are those who have the same interest as yours and can fully relate to your blah, blah, blahs. They understand your jargons and other fancy terms. Unlike lurkers though, they usually keep in touch with you either through comments or emails. With them, the likelihood of an exchange of useful ideas is very high. These are among the people that you should maintain and have a close relationship with. Either add them to your favorites or add them to your blogroll.
  2. The 3 Fs. They are your Family, Friends and Fans all at the same time–by force or by choice. Although they aren’t as frequent as the lurkers, their visits are usually well-meaning and their praises are true. Just a warning though especially if you’re the type who can’t take criticisms. This group of people (or person) may give blunt comments that will hit you like your mother’s whipping spank–it will hurt, but whether you like it or not, it is for your own good. So appreciate and cherish their comments but listen and act accordingly to their criticisms.

As my employment time is counting down my blog hits however is going up. While laid off, blogging I guess will be my main occupation, paid or not, as I try to figure out what my next moves would be. It is just wise then to know my visitors because through it I get to feel what to improve, how to improve it and hopefully perfect it in the end – no matter when and no matter what it would take. After all, I love writing and I’d be all smiles when the day comes that I do what I really love to do.

***

Mood: 3/10 Honks!

You’re a Blog Addict If…

(A tribute to the return of wp-pinoys.com)

…You have one or more blog accounts.

…Your mind is always wondering what your next blog subject will be.

…You find yourself desperately composing a post even while driving.

…You would rather keep mum during discussions not until you have blogged about the subject matter for fear that other bloggers in your group or anyone would hear about it.

…Every discussion is a good discussion.

…You’ve become masochistic by enjoying confrontations just so you can check if you can make a good blog post out of it.

…You accepted an offer for an extreme adventure not because you love it but because you want to write about it despite the possibility of nausea.

…Microsoft Word and the Internet Explorer browser have been your most utilized application over Powerpoint and Excel.

…”Is the internet connection ok?” becomes your official greeting when you reach home from work.

…Your wife worries about your health whenever you fail to post.

…Your primary concern before a vacation is if your destination offers Wi- Fi.

…You suddenly wake up in the wee hours of the morning just so you can check if what you’ve posted that night had grammatical errors in it.

…You had dreams about you and your conscience arguing about your grammar usage.

…You had nightmares about WordPress.com being wiped out.

…You also had nightmares about your blog drafts being wiped out.

…You are prone to malapropism.

…You’re having symptoms of carpal tunnel syndrome.

You’re justifying to yourself (or wife) that an HP mini is a necessity even during this recession period.

…You’ve set your mind that your fast growing beer belly will become a good netbook platform in case you have to type while standing in a packed train.

…You have your digital camera along with you all the time ready for any “bloggable” event.

…You have considered getting a Paypal account so you can monetize your blog.

…You consider that having your own domain is a good investment.

…You wonder after the homily if the priest has a blog site.

…You’re fully aware that Technorati isn’t related to the Illuminati.

…You’ve approached your boss to let you have a blog time rather than a lunch time.

…Brushing your teeth becomes second to checking your blog hits – and that your mood is dictated by it.

…Other than the internet cafes you’ve also frequented Power Books stores and spent time taking notes of blog materials.

…You can relate very well to this blog. Happy blogging to all!

***

Mood: 3/10 Honks

Tumbled Upon Tumblr

Not all simple things are created equal and tumblr.com is an example. This is a blog site I discovered several months back after reading it on a newspaper article. It’s one of those lazy Sundays when the moment I see a link, I immediately give it a shot.

At first I find it so simple that I was wondering what was going inside the mind of its developer when he made it. Maybe he’s trying to be among the dot.com millionaires like the people behind Facebook, YouTube or even the fading Friendster. Well, I don’t know if he made the mark but to be fair, I think he or she somehow made a good start. Of course, I already signed up.

Trying to experiment what this site brings got me into starting my own, everythingpetty.tumblr.com. I find tumblr’s dashboard very basic. It requires little experience from its users and one doesn’t even need to be good at writing since in here anything can be posted. Users may post photos, text, quotes, audio and links. Consider this as some sort of repository of drafts of wild ideas.

tumbler.jpg
tumblr’s dashboard

The large icons make it so highly recommended for bloggers with vision problems. Please tell your grandma about it.

Don’t get me wrong though. This site has some good following from a various talented people. From what I’ve seen, most people like to publish photos and drawings. I’ve seen one member post drawing blogs about his daily life in his cubicle and I was entertained and awed at the skillful depiction of the boxed working environment. I feel him.

The simplicity of tumblr is so enticing that anyone with lots of time to kill inside the cube would likely post something, anything, anytime, any day. Hmm, I think I’ll have to consider this one later in the day. Something to keep me busy during the whole 8-hour period. Hahahaha. Just kidding, IT admin guys.

***

My bad. I actually forgot all about this tumblr account but one of my recent visitor’s comment reminded me all about it. Thanks, Mariam. I already posted a new entry. Please check it out every now and then.

Visit also Mariam’s site because so far she’s got the perfect header for a recession-related blog. And incidentally, just like me, she’s also keeping track of those posting the same tags. See it for yourself.

mariam

***

Mood: 3/10 Honks!