Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Extracting text from pptx

by jms53 (Monk)
on Mar 09, 2013 at 03:44 UTC ( [id://1022523]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Extracting text from pptx
in thread Extracting text from pptx

that looks like an Unix comand!
(ok, that IS an unix path to a program, you'll want to find the call for something like 7zip or the likes and replace  "/usr/bin/unzip/ it with that).
J -

Replies are listed 'Best First'.
Re^4: Extracting text from pptx
by Anonymous Monk on Mar 03, 2014 at 17:49 UTC

    Here's a one-liner for *nix

    unzip -lp <filename>.pptx ppt/slides/* ppt/notesSlides/* | perl -wne' +while ( /<a:t>(.*?)<\/a:t>.*?(?=(<a:t>|<\/p:txBody>))/g ) {print "$1" + and print "\n" if $2 eq "<\/p:txBody>"}'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1022523]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found