Active Topics

 


Reply
Thread Tools
linux_author's Avatar
Posts: 282 | Thanked: 69 times | Joined on Dec 2007 @ Penniless Park, Fla.
#1
- spent an hour or so yesterday on a simple talking weather report script that uses the flite artificial speech app (tks to the developer who did the port!) and the elinks text-only web browser (which ports with no modifications!)...

- so i thought i'd share... i also crafted an entry for the Extras menu, named WxTalk.desktop (which like other menu entries, is saved under /usr/share/applications/hildon):

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=WxTalk
Exec=/home/user/apps/wxtk.sh
Icon=qgn_list_gene_default_app

- note that the script (wxtk.sh) is saved under /home/user/apps... you'll have to edit a couple lines in the script for your needs:

1. the URL for the mobile report (unless you live in Pinellas County, Fla.)
2. the first few lines of the parsed report (just to clean up the text)

- as the SuSE foks used to say: Have a lot of fun!

(the script is attached with the name wxtk.txt, but you can rename to wxtk.sh [or whatever])
Attached Files
File Type: txt wxtk.txt (3.6 KB, 175 views)
 

The Following 2 Users Say Thank You to linux_author For This Useful Post:
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#2
Good stuff!

It's just like the UHF marine forecast (almost the same voice).
 
OSEmuTech's Avatar
Posts: 466 | Thanked: 142 times | Joined on Jan 2008 @ Temple Terrorist, FL
#3
Darn. After 35 years I just moved out of Pinellas to Hillsborough (Temple Terror). (To finally finish my B.S. at USF.)

I'm running OS 2007-4. I can't get elinks from the repositories, so apt-get install elinks finds nothing too.

I'm new at this. Which architecture to I download the (armel) deb file for? i386, ARM? Thanks!

alpha architecture (DEC Alpha)
amd64 architecture (AMD x86_64 (AMD64))
arm architecture (ARM)
hppa architecture (HP PA RISC)
i386 architecture (Intel ia32)
ia64 architecture (Intel ia64)
mips architecture (MIPS (Big Endian))
mipsel architecture (MIPS (Little Endian))
powerpc architecture (PowerPC)
s390 architecture (IBM S/390)
sparc architecture (Sun SPARC/UltraSPARC)
 
linux_author's Avatar
Posts: 282 | Thanked: 69 times | Joined on Dec 2007 @ Penniless Park, Fla.
#4
1. elinks isn't in any repository (built it myself)

2. i don't know why someone hasn't built a set of cli utils for everyone (time, effort?)

3. you can download a copy here:

http://www.tux.org/~bball/n800/elinks

4. download to your n800 into /home/user/apps or if a different directory, such as /usr/bin, you will have to modify the script..

hope this helps!

p.s. the elinks browser was a straight build with no special modifications... it will work under os2007 or os2008... i could also have used the links browser or the lynx browser, but since the elinks source was downloaded first, eh!

- for more info about elinks, see:

http://elinks.or.cz
 

The Following 2 Users Say Thank You to linux_author For This Useful Post:
Posts: 605 | Thanked: 137 times | Joined on Nov 2005 @ La Rochelle, France
#5
links is available in the repositories
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#6
Originally Posted by OSEmuTech View Post
Darn. After 35 years I just moved out of Pinellas to Hillsborough (Temple Terror). (To finally finish my B.S. at USF.)
Is Tampa Bay the location of some sort of crazy maemo sleeper cell? Seems like there are a ton of users from around here.
 
linux_author's Avatar
Posts: 282 | Thanked: 69 times | Joined on Dec 2007 @ Penniless Park, Fla.
#7
Originally Posted by fredoll View Post
links is available in the repositories
- great! tks!

- then anyone can use the script (or write their own), as links also supports a '-dump' option...

- one will most certainly have to remove specific links cruft from the dump though...

p.s. i noticed that links is only available for os2008? i'd bet it would work under os2007? anyhow, using elinks, links, or whatever!
 
linux_author's Avatar
Posts: 282 | Thanked: 69 times | Joined on Dec 2007 @ Penniless Park, Fla.
#8
Originally Posted by GeneralAntilles View Post
Is Tampa Bay the location of some sort of crazy maemo sleeper cell? Seems like there are a ton of users from around here.
dunno 'bout that, but there sure are a *lot* of crazies in this area!

:-)

hmm... maybe an IT users group is called for? there are active Linux user groups here...
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#9
FYI

looks like flite doesn't like -f with the 2008OS (?)
I have changed it to "flite < /tmp/..." in the script to make it talk!
 

The Following User Says Thank You to nhanquy For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:01.