Ber,
I will happily contribute the speech theme, however, most of my stuff is not theme related. It is a module I wrote, and I need to speak the text that is in Drupal core and modules, not content that I added to the site. Did you test it out? Does it work on your side? Could you see my ideas?
Regards,
Kobus
berdrupal@tiscali.be 9/1/2005 4:48:56 PM >>>
Most texts are ran trough t(), I guess you can use that? otherwise some of the theme function might help you along. A speech theme would be very cool.
Op donderdag 01 september 2005 11:12, schreef Kobus Myburgh:
Hi,
I have implemented a Drupal site with MSAgent for a project I need to do for my studies, as well as part of the ongoing project that I am working on at: http://drupal.org/node/22997.
I have created a module that adds a few fields to every node that you create, namely:
Spoken text (same as $node->body if not entered) Spoken title (same as $node->title if not entered) etc.
While this works relatively well for published content, it will obviously not work for Drupal's system pages, e.g. the user login page or administration pages. Do I have to hard-code this into the Drupal modules, or is there a way I can extend all system modules to have customizable texts which can be spoken? If you need more access on the site to be able to create content and work on this project with me, please let me know.
If you want a demo of the problem I am experiencing, please take a look at www.eagleeyes.co.za (currently only tested with IE6...) There will be a security message coming up, which you can decline. It is only to allow speech in the menu (will not be asked again if you put the site in your trusted zones in IE). The speech of the content will work regardless, providing you have a TTS Engine installed. This is usually installed to a degree with a standard Windows XP Pro install, so you shouldn't experience any trouble.
If you look at the main page, you will see that the text is spoken to you, but if you click in the menu on the System -> Maintenance, you should be provided with an Access Denied message. When you press Control+Shift+J to activate speech, you will see what I mean.
Any ideas would be greatly appreciated.
Regards,
Kobus
Regards, Bèr
Kobus,
No I did not test it. I still need to figure out how to get my speech stuff working in KDE. I just came with the idea for a theme, because ALL content is ran trough themes. So you can easily do magic to any page in your theme. or example return an ogg instead of HTML.
But, as said: all content all strings are ni the transatiopn databasze, so I think an easy way is to hack t(), so that it calls a speech function.
Ber
Op donderdag 01 september 2005 16:59, schreef Kobus Myburgh:
Ber,
I will happily contribute the speech theme, however, most of my stuff is not theme related. It is a module I wrote, and I need to speak the text that is in Drupal core and modules, not content that I added to the site. Did you test it out? Does it work on your side? Could you see my ideas?
Regards,
Kobus
berdrupal@tiscali.be 9/1/2005 4:48:56 PM >>>
Most texts are ran trough t(), I guess you can use that? otherwise some of the theme function might help you along. A speech theme would be very cool.
Op donderdag 01 september 2005 11:12, schreef Kobus Myburgh:
Hi,
I have implemented a Drupal site with MSAgent for a project I need to do for my studies, as well as part of the ongoing project that I am working on at: http://drupal.org/node/22997.
I have created a module that adds a few fields to every node that you create, namely:
Spoken text (same as $node->body if not entered) Spoken title (same as $node->title if not entered) etc.
While this works relatively well for published content, it will obviously not work for Drupal's system pages, e.g. the user login page or administration pages. Do I have to hard-code this into the Drupal modules, or is there a way I can extend all system modules to have customizable texts which can be spoken? If you need more access on the site to be able to create content and work on this project with me, please let me know.
If you want a demo of the problem I am experiencing, please take a look at www.eagleeyes.co.za (currently only tested with IE6...) There will be a security message coming up, which you can decline. It is only to allow speech in the menu (will not be asked again if you put the site in your trusted zones in IE). The speech of the content will work regardless, providing you have a TTS Engine installed. This is usually installed to a degree with a standard Windows XP Pro install, so you shouldn't experience any trouble.
If you look at the main page, you will see that the text is spoken to you, but if you click in the menu on the System -> Maintenance, you should be provided with an Access Denied message. When you press Control+Shift+J to activate speech, you will see what I mean.
Any ideas would be greatly appreciated.
Regards,
Kobus
Regards, Bèr -- [ Bèr Kessels | Drupal services www.webschuur.com ] -- [ Drupal support list | http://lists.drupal.org/ ]
Regards, Bèr