The Following User Says Thank You to linux_author For This Useful Post: | ||
![]() |
2008-01-16
, 20:09
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#2
|
![]() |
2008-01-16
, 20:16
|
|
Posts: 282 |
Thanked: 69 times |
Joined on Dec 2007
@ Penniless Park, Fla.
|
#3
|
antiword 0.37 package for os 2008:
http://www.debernardis.it/n800/antiw..._0.1.armel.deb
Works from commandline of course.
![]() |
2008-01-16
, 20:22
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#4
|
The Following User Says Thank You to debernardis For This Useful Post: | ||
![]() |
2008-02-24
, 19:58
|
Posts: 1,950 |
Thanked: 1,174 times |
Joined on Jan 2008
@ Seattle, USA
|
#5
|
![]() |
2008-02-25
, 08:43
|
Posts: 91 |
Thanked: 4 times |
Joined on Dec 2007
|
#6
|
![]() |
2008-12-07
, 13:07
|
Posts: 3 |
Thanked: 0 times |
Joined on Oct 2008
|
#7
|
![]() |
2008-12-07
, 13:49
|
Posts: 1,101 |
Thanked: 1,185 times |
Joined on Aug 2008
@ Spain
|
#8
|
(converting and then transferring the files to my n800 was another easy solution, but i like being able to download a file and then convert on my n800)
fortunately, for me, it was a simple fix thanks to antiword's author, Adri van Os... antiword compiles and builds quickly and cleanly under maemo's chinook SDK with no errors whatsoever... (the SDK was installed by running three command lines on my x86 Ubuntu notebook, and now that i see how easy it is to use, i'll probably be playing with it some more in the upcoming months)...
after building, i copied the requisite .antiword directory under /home/user, then added the antiword program to my /home/user/apps directory...
i then created a short .desktop file under /usr/share/applications/hildon, naming the menu entry Extras->Doc Convert, which points to a script named msdocconvert.sh under /home/user/apps
my simple-minded script uses antiword to loop through and convert any found .doc files under MyDocs to .txt format (although .pdf may also be created)... i prefer .txt format for my use (files are roughly 40 percent smaller than .doc or .pdf), although antiword does a *very* nice job at PDF creation for many of my documents...
here's the script (i'm sure someone can shorten it even more):
#!bin/sh
# msdocconvert.sh
# convert all *.doc files in /home/user/MyDocs to .txt
# does not delete original .doc files
cd /home/user/MyDocs
for file in *.doc
do
/home/user/apps/antiword $file >$file.new
mv $file.new $file.txt
done
# now rename foo.doc.txt to foo.txt
for file in *txt
do
mv $file ${file%doc.*}txt
done
- have a happy!
p.s. here's the antiword home page