• Member Since 7th Mar, 2014
  • offline last seen Dec 13th, 2018

mintgreenconspiracy


An agent of the conservative movement operating incognito from a satalite state of The People's Republic On The Willamette

More Blog Posts17

  • 302 weeks
    Equestria Girls: Forgotten Friendship

    Is still not on ITunes!! I smell a Bilderburg/Choboni Yogurt/Illuminati/1%/Republican/... conspiracy at play!!!

    0 comments · 333 views
  • 311 weeks
    Status Update

    I'm still around, but have written no words in the last two months or so, and am now, as of this month, 6 months unemployed (with no sign of getting anything anytime soon.)

    No words have been written in a while so both stories are kind of in a stuck state.

    Read More

    0 comments · 287 views
  • 317 weeks
    Growing up has been put up for adoption

    Hey all,
    I have decided to go ahead and officially put Growing Up up for adoption. As such, I have added it to the Fanfic Adoption Agency (FAA) group for adoption.

    You may also PM me if you wish to adopt it as well so I can take a peek at what stories you've written, and finished.

    Read More

    0 comments · 274 views
  • 318 weeks
    Thinking about putting Growing up back up for adoption

    Hey all,

    Read More

    1 comments · 280 views
  • 325 weeks
    Estimating G3 heights part 2

    So since the last time I did one of these, someone proposed that I use Santa's door in A Very Minty Christmas to calculate the G3 ponies' heights.

    Before we begin, here's an article estimating the G4 pony heights:

    Read More

    1 comments · 308 views
May
16th
2015

perl script to turn word documents into txt mockup for fimfiction · 5:09pm May 16th, 2015

Hey all,

Here's a small perl script I wrote using Win32::OLE to convert a doc or docx into a .txt formatted using the wiki-formatting we use here on fimfiction.
So I went ahead and attached a link.

The problems?
1. it requires a copy of word installed (otherwise windows OLE won't work, because perl's Win32::OLE is basically perl doing vbscript's job.)
2. It's kind of slow (I suspect my brute force iteration of the characters in the document was probably not the fastest way to do it.)
3. it requires you to be running windows perl (though, Win32::OLE probably goes without saying :raritywink:)

So here's a link to the perl script (shrewdly renamed to .pl.txt so browsers and the web server would treat it as text, instead of a script.)
Let me know if anyone knows how to speed it up, or if there's an escape option for the formatting here so I can inline the text.

The link: https://static.merkelhaus.us/wordToWikiText.pl.txt
Thanks again,
MintGreenConspiracy

P.S. If someone has a better way to encode doc files, let me know. Or if know of a real docx/doc parser that doesn't require a word installation, and a windows machine.

Report mintgreenconspiracy · 251 views · Story: Growing Up ·
Comments ( 0 )
Login or register to comment