Contents
1. Introduction
1.1 Assumptions
1.2 Features
2. Confab demonstration web page
2.1 Confab for the
impatients
2.2 Entering the Confab
2.3 The braille interface
2.3.1 Read
2.3.2
Anticipate
2.3.3 Write
2.4 The visual interfaces
2.4.1
visual
2.4.2 visual
(LowVision)
2.4.3 visual (Red
Blue Gray){
2.4.4 visual
(Mondrian)
3. Content options
3.1 Configure
3.2 Moderate
3.3 Report
4. Advanced options
5. The module in practice: tips
5.1 No speaker icon
5.2 Elinks text only
browser
Confab [*] is not a chat. That
is, the tool mainly used to talk, gossip or babble, as a
thesaurus explains. Confab is an educational tool for writing,
reading and processing texts. It has special features for
blind and visually impaired participants to enable
conversations with sighted participants. These features are
developed in a kind of 'chat' with two interfaces. One for
users with a braille reader and another for sighted and
visually impaired participants.
In this chapter we explain Confab (chat) for participants and
moderators. Participants write messages and moderators can manage
them. We explain this process by using our own demonstration
data. That is, the Exemplum Primary School, a small school
described in Account Manager
[*]
Confab: from confabulation, meaning:
1. Conversation, dialogue, discussion.
2. Psychiatry: the replacement of a gap in a person's memory by
a falsification that he or she believes to be true.
This chapter elaborates on
other chapters. We assume you have at least done
Basic procedures for beginners of the
Website@School Users' Guide.
The features in no specific
order:
- Two interfaces: A 'braille' interface
(without Javascript) for participants using a braille reader
only and a 'visual' (Javascript) interface for visually
impaired and sighted participants.
- Skins: The 'visual' interface has
selectable skins, with Bazaar Style Style adaptable for visual
impairments.
- Moderation: A moderator can send messages
to all or individual participants, can ban participants and can
close a conversation.
- Personal messages: Participants can send
personal messages. This feature is configurable. 'Open' for all
participants, for 'Registered users only', or 'No' for
everyone. Default: Registered users only. This is a
security feature.
- Configurable access: A Confab can be
'Open' accessible for everyone, accessible for 'Registered
users only', or 'Closed' for everyone. Default: Registered
users only. This is a security feature.
- Passcode: A passcode is always required,
except when no passcode is set.
- Configurable texts: Header, introduction
and footer texts.
- Save conversations: Conversations are
saved for further use.
- Report: Conversations can be processed and
downloaded.
-
Participants: Unlimited. Default:
6.
- Passcode attempts: Default:
10.
- Refresh interval: Default:
6 seconds.
- Idle timeout: Default:
300 seconds.
- Conversation timeout: Default:
3600 seconds.
- Maximum conversation duration: 24
hours after the first message in the conversation.
- Maximum message length: unlimited
- Maximum Confab length: unlimited
- Security: A newly created page with a
Confab module is only usable by registered users with a
passcode.
- Maximum conversation time: 24 hours.
- Beep: Audible signal for incoming
messages. The beep can be switched on/off. The beep depends on
Javascript, thus only available in the Visual interfaces.
See alos note
- Browsers: Also usable with free and text only
browsers like Firefox and Elinks (Linux).
(top)
If
Website@School is installed with demonstration data, a
complete Confab can be found in section 'MyPage' under
'Showcase'.
chat_site_overview.png
To get quick
hands-on experience, create a test Confab yourself. For
example in the Area of the Exemplum Primary School
demonstration data. You've done the Basic procedures for
beginners.
How to set up a Confab in 3 steps:
- As usual, add a page. In the Module dropdown menu select
Confab (chat), select a section, set the page visible, click
[Save]. You are immediately in
Edit basic properties of page n.
- Menu, click Configure. You
enter the Confab configuration dialogue.
- Passcode: Leave the passcode blank so you
can login without a passcode.
- Optional: enter something in the fields: Header,
Introduction and Footer. It's unimportant and can be
changed later on.
- Click [Done].
- Go to your created Confab page, enter your username and
password, select an interface click [OK]. Keyboard shortcut
and mouseover text: Use Alt-O or Cmnd-O as keyboard
shortcuts for this button. Start chatting with
yourself.
NOTE: If you are already logged in and using the same
browser, you only have to click the [OK] button.
The visual Confab has 'classical' interfaces. The braille
interface may need some explanation. It can be found in 2.3 The braille interface
The demonstration
Confab is set to be only accessible for 'Registered users
only'. That is, to participate in a conversation, you must
have an active user account and know the passcode.
This is a security feature, preventing anyone abusing your
Confab.
Below we describe the usage of the confab module with the Braille
interface.
The login to the Confab module is the same for both the
braille- and visual interface.
chat_site_login_registered-users-only.png
Description: A header and introduction text, three entry
fields: Username, Password, Passcode. An dropdown menu
'Interface', an [OK] button and a footer text.
Explanation:
After filling out the fields, selecting an
interface and pressing the [OK] button, the participant enters
the conversation.
In the next sections we will discuss the two
interfaces.
The braille interface consists of three dialogues: to
read incoming messages, to anticipate for incoming messages
and to write messages.
After
a successful login, you enter the Read dialogue:
chat_site_braille_read.png
Description: A message from the system about
this participant entering the conversation, 3 clickable buttons:
[OK], [Write] and [All].
Explanation:
Please press the [OK] button to enter the
Anticipate dialogue.
After using the [OK] button, the Anticipate dialogue is
displayed:
chat_site_braille_anticipate.png
Description: One button with an '*'
asterisk.
Explanation:
- [*]: The button
indicates the auto-refresh mode. Every 6 (configurable) seconds
the screen is refreshed. Mouseover text: Use Alt-W or
Cmnd-W as keyboard shortcut for this button.
If one or more participants enter the
conversation or add one or more messages, the system will display
the entrance or the new message(s):
chat_site_braille_read_message-new.png
If no new messages have arrived, pressing
the [*] button, opens the Write dialogue.
chat_site_braille_write_with-private-msg.png
Description: From left to right: field to
enter a message, dropdown menu, 5 buttons: [Send], [Cancel],
[All], [Users] and [Quit], mouseover text.
Explanation:
- Message field: To enter
a message. Press the [Tab] key to set the cursor in
the field and type your message. Press [Enter] to send the
message. Mouseover text: Use Alt-M or Cmnd-M as shortcut
for this message field.
-
Dropdown menu: Messages
can be sent to all participants or to individual
participants. This feature can be disabled in the
configuration of a Confab, please see 3.1 Configure.
chat_site_braille_write_dropdown.png
Desciption: Dropdown menu expanded,
Andrew is selected, mouseover text.
Explanation:
By selecting a participant from the dropdown menu, personal
messages can be sent. The selected participant remains the
receiver until the selection is changed. This is a feature to
prevent accidentally sending a personal message to
All. Default setting: All. Mouseover text:
Select a Personal message destination with Alt-P or Cmnd-P
and cursor keys.
-
[Send]: Button to send the
message. Mouseover text: Use Alt-S or Cmnd-S as keyboard
shortcuts for this button.
After pressing the [Send] button,
received messages are displayed in the Read
dialogue.
-
[Cancel]: Button to
cancels your actions. Mouseover text: Use Alt-C or Cmnd-C
as keyboard shortcuts for this button.
After pressing the [Cancel] button the
participant returns to the Anticipate dialogue.
-
All: Button to display all
messages of this conversation:
chat_site_braille_write_all.png
Description: a list with all system- and
participants messages.
Explanation: the complete screenshot in
text:
system: andrew (Andrew Reese) joins the conversation
system: catherine (Catherine Hayes) joins the conversation
andrew: hello catherine
andrew: do you know the homework for tomorrow?
catherine: hello andrew
catherine: yes, I will look it up...
catherine: we have to make a summary of chapter 2
andrew: OK, thanks
andrew: can you send me your summary? I don't have time for that tonight
andrew: please?
andrew: never mind, bye
system: andrew (Andrew Reese) leaves the conversation
catherine: ok, bye ...?
system: catherine (Catherine Hayes) leaves the conversation
[OK]
[OK] button mouseover text: Use
Alt-O or Cmnd-O as keyboard shortcuts for this
button.
NOTE: in this conversation the moderator
has sent a private message ot Andrew, which is not visible.
This is discussed in 3.2
Moderate
-
Users: Button displays the
list of participants in this conversation:
chat_site_braille_write_users.png
Description: The list of all
participants and an [OK] button.
Explanation: Pressing the [OK] button
returns the user to the Write dialogue.
-
Quit: Button to end the
session. Mouseover text: Use Alt-Q or Cmnd-W as keyboard
shortcuts for this button.
After pressing the [Quit] button the
participant returns to the webpage of this Confab. A yellow
status message is displayed. Example: user (Full Name) has left the
conversation.
When all participants have left the conversation, the session
is closed . A new conversation can start.
The visual
interfaces are all fully configurable with Bazaar Style Style
(BSS). Please see the 4. Tips and tricks section, paragraph
4.1 Bazaar Style Style.
chat_site_visual.png
Description: The Visual interfaces consist of 3 panes:
- A large pane for a list of all current posted messages.
The width is 'as wide as possible' minus the width of the
vertical users list.
- A vertical pane containing the header name, the list of
users and 3 buttons: Refresh, Beep on/off, Quit.
- Under the two panes a horizontal pane 'as wide as possible'
with a text entry
field, a dropdown menu and a button.
Explanation:
Messages pane
Messages have in turns a light and a dark background.
Messages are send by:
Messages can be sent to:
- All: All participants. This is the
default setting in the dropdown menu.
- Single participant: In the dropdown menu
... A message from one participant to another. Example
Ludovico* to Catherine:
Homework and tea with me?.
Participants pane
- Header: The header text is the same as
the header text in the login screen. Example:
Conversations and discussions for Seniors.
-
Participants: The list of participants,in
turns different colors. Full name, username and status are
displayed. Status:
- : The participant is
active in the conversation . Example: Andrew Reese
andrew.
- (idle): The participant has not
entered a message for 300 seconds. Demonstration example: Andrew
Reese andrew (idle).
- Gone: . Example: Andrew Reese
andrew
- [Refresh]: To refresh the screen. Very useful
for old browsers.
Why?
- [X]X: Button, sound on/off. Produces a
beep when receiving a message.
- [Quit]: Button to leave the conversation
and return to the Confab login page. Do not terminate the
session by closing the browser or pressing the X in one of the
corners of the browser. This will not terminate your session.
When you log in again in an ongoing conversation, your name
will have a (2) added.
Text entry pane
- Entry field: To enter text. Text length
is unlimited. After finishing your text, press the [Enter] key on your
keyboard. You can also use the [Send] button, but that's
inconvenient.
- Dropdown menu: To send personal
messages.
- [Send]: Button to send the message in
the entry field. Some people prefer a mouse. Why?.
chat_site_visual_lowvision.png
chat_site_visual_redgrayblue.png
chat_site_visual_mondrian.png
(top)
chat_manage_content.png
Description: In the Menu the usual
Basic properties and Advanced. The Content is divided in Configure, Moderate and Report.
The workplace pane title:
Confab overview contains:
The Confab-module is a tool for online conversation.
Participants can contribute to the discussion by submitting
single-line messages. The conversation is recorded in the
database and can be analyzed afterwards. The following options
are available in the submenu.
Configure- For this Confab,
several text fields can be configured. The secret passcode can be
set and the status of the Confab can be set to Open, Registered
or Closed.
Moderate- The moderation screen
allows for personal messages to individual participants from the
moderator. Also, the current conversation can be forcefully
ended.
Report- Select and analyze past
conversations.
Please select one of the options to continue.
[Cancel]
Explanation:
- Configure: Clickable link to
the Configuration page.
- Moderate: Clickable link to
the Moderation page.
- Report: Clickable link to the
Report generator.
- [Cancel]: Button to return to
the Page Manager. Mouseover text: Use Alt-C or Cmd+C as
keyboard shortcuts for this button.
For this screenshot the
dialogue is divided in three parts, separated by horizontal
lines:
chat_configure_status+visibility+passcode.png
Description: The upper part of the Confab configuration page.
The 'Status of the Confab' and the 'Personal messages' are
selectable and set to 'Registered users only'. A Passcode entry
field with the passcode HeyYou.
Explanation:
Confab configuration: Workplace header
title
Status of the Confab
-
Opened: If the passcode is known, anyone can
enter the conversation.
NOTE: For an already logged in user, the username
is entered in the Nickname field. If desired the name can
be changed to login as anonymous visitor. When accidentally (?) an
already existing username is chosen, the visitor enters the
conversation as anonymous visitor with that nickname and an '*'
asterisk and '(Anonymous)' added.
Examples: system: wblade* (Anonymous)
joins the conversation or
wblade*: message.
-
Registered users only: Only
registered users can enter the conversation. They must know
the passcode. 'Registered users only' is the default setting in the
demonstration data and is discussed in section 2.1 Entering the Confab.
-
Closed: The Confab is not accessible.
chat_site_closed.png
Description: The Header text and a message: This
Confab is currently closed
Explanation: Speaks for itself.
Personal messages
NOTE: A moderator can always send messages to all or personal
messages, independent from the selection below.
- Yes: All participants, registered
users and anonymous visitors, can send each other personal
messages.
- Registered users only: Only
registered users can send personal messages. Anonymous users
cannot send personal messages.
-
No: No one can send personal
messages. The dropdown menus are not displayed in the Write and Visual
interfaces.
Passcode: Everything is allowed. Leading and
trailing white spaces are automatically removed.
chat_configure_header+intro+footer.png
Description: Three text entry fields: Header, Introduction and
Footer.
Explanation
- Header: Header text maximum length:
240 characters. Demonstration data text: Conversations and
discussions for seniors. Keyboard shortcut: Alt-H
or Cmnd-H.
- Introduction: HTML markup and BSS
can be used. Demonstration data text: <p>You need a
<strong>passcode</strong> to join the conversation.
If you do not know the passcode, you can ask the teacher of the
Pupils of grade 5 to 8: Maria Montessori.</p>.
Keyboard shortcut: Alt-I or Cmnd-I.
- Footer: HTML markup and BSS can be
used. Demonstration data text: <p>Please do not abuse
this Confab.</p>. Keyboard shortcut: Alt-F
or Cmnd-F.
chat_configure_part+pass+refr+idle+id.png
- Participants: Although the number of
participants is unlimited, numerous data requests from many
participants can slow down the server performance. And maybe lead
to confusing conversations. Default: 6. Keyboard shortcut:
Alt-A or
Cmnd-S.
- Passcode attempts: After the
configurable number of passcode attempts, the login procedure
is renewed. This is a measure to prevent brute force attacks.
Default: 10. Keyboard shortcut: Alt-M or
Cmnd-M.
- Refresh interval: The time between two
client requests to the server for new data. A very short interval
can be a heavy load for the server. The higher the number, the
lower the server load. Default (seconds):
6. Keyboard shortcut: Alt-R or
Cmnd-R.
- Idle timeout: (Idle), a remark with the
participants name indicates the participant has not contributed to
the conversation for n seconds. Default (seconds):
300. Keyboard shortcut: Alt-E or
Cmnd-E.
- Conversation timeout: After n seconds of
inactivity, the conversation is terminated. Default (seconds): 3600.
Keyboard shortcut: Alt-V or
Cmnd-V.
- Save, Done, Cancel: Please see Save, Done, Cancel in the Basic procedures for beginners.
A moderator is a user of a
Confab who can send personal messages to participants, can
remove participant(s) from an ongoing conversation and can
terminate a complete conversation.
In the Menu clicking the Moderate link, can result 2 distinct
dialogues:
-
No messages:
chat_moderate_no-messages.png
Description: In the Menu pane
Moderate is selected. In
the workplace pane two texts and 2 buttons: [Refresh] and
[Cancel].
Explanation:
- Confab moderation: Workplace header
text
- No message in current conversation: Up
to now, there are no messages.
- Button [Refresh]: Every time you want
to check for new messages, you have to press this button.
Mouseover text: Use Alto-R or Cmnd-R as a shortcut key
for this button.
- Button [Cancel]: Using the button
opens the Content dialogue, which enables the moderator to
leave this Confab. Mouseover text: Use Alto-C or Cmnd-C
as a shortcut key for this button.
-
Messages:
If the the Menu the Moderate link is clicked, or the [Refresh]
button in the previous dialogue is used, a conversation might
be going on:
chat_moderate_refresh.png
Description: In the workplace pane the header text and
three buttons: [Refresh], [Intervene] and [Cancel]. Below the
buttons a horizontal line, some messages and a mouseover text.
Explanation:
- Confab moderation: Workplace header
text
- Button [Refresh]: To check for new
messages. Mouseover text: Use Alto-R or Cmnd-R as a
shortcut key for this button.
- Button [Intervene]: Gives access to
the Intervene dialogue, used for sending messages, removing
participants and ending conversations. The Intervene
dialogue is discussed in the next section. Mouseover text:
Use Alto-I or Cmnd-I as a shortcut key for this
button.
- Button [Cancel]: Using the button
opens the Content dialogue, which enables the moderator to
leave this Confab. Mouseover text: Use Alt-C or Cmnd-C
as a shortcut key for this button.
- horizontal line: .
-
Messages:
andrew: do you know the homework for
tomorrow?
andrew: hello catherine
system: catherine (Catherine Hayes)
joins the conversation
system: andrew (Andrew Reese) joins the
conversation
Each message has its own mouseover text. Format: yyyy-mm-dd hh:mm:ss
NOTE: the last message is shown first. This is a
feature.
The moderators attention is drawn when she reads:
chat_moderate_intervene.png
Description: The same as the previous screenshot. More
messages.
Explanation: Same as above with messages:
- horizontal line: .
- Messages:
andrew: please?
andrew: can you send me your summary? I don't
have time for that tonight
andrew: OK, thanks
catherine: we have to make a summary of
chapter 2
catherine: yes, I will look it up...
catherine: hello andrew
andrew: do you know the homework for
tomorrow?
andrew: hello catherine
system: catherine
(catherine Hayes) joins the conversation
system: andrew (Andrew Reese) joins the
conversation
The moderator decides to use the [Intervene] button...
chat_moderate_intervention.png
Description: Header text, 2 radio buttons to select an action,
a dropdown menu opened and Andrew selected, a message entry
field with a partly visible text: "... your own homework", 2
buttons [OK] and [Cancel], a horizontal line and messages.
Explanation:
NOTE: If a user is removed from the conversation, he can
login again and participate again. To prevent this action, you
have to change the passcode.
At any time during an
conversation a report can be created.
chat_report_select.png
Description: in the Menu the Report link is chosen. In the workplace
pane a header text, a dropdown menu with selectable conversations
and 3 configurable items: Fields, Message from, Message to.
Buttons: [OK] and [Cancel].
Explanation:
- Confab conversation report: Workplace
header
-
Convversations (dropdown menu): To
select a conversation:
chat_report_conversations.png
Description: Conversations dropdown menu expanded, 2
converstions visible, conversation 2 selected with mouseover
text.
Explanation: The conversations are named as follows:
- Todays conversations:
#n - hh:mm - n messages
- This weeks conversations: #n - Day hh:mm - n messages
- Conversations older than a week:
#n: yyyy-mm-dd - n messages
The mouseover texts from conversations are named:
Conversation #n: first yyyy-mm- hh:mm:ss last yyyy-mm-dd hh:mm:ss messages: n
Keyboard shortcut: Alt-V or Cmnd-V.
- Fields: the fields that can be selected to
be included in the report.
- [checkbox] Message ID: for example
#12. Keyboard shortcut: Alt-M or
Cmnd-M.
- [checkbox] Remote address: The
IP-address of the sender. Example: 192.168.100.10.
Keyboard shortcut: Alt-R or Cmnd-R.
- [checkbox] Date: Date. Keyboard
shortcut: Alt-D or Cmnd-D.
- [checkbox] Author: Author. Keyboard
shortcut: Alt-A or Cmnd-A.
- [checkbox] Text: Text. Keyboard shortcut:
Alt-T or Cmnd-T.
- [radio button] System: System.
Keyboard shortcut: Alt-S or Cmnd-S.
- [radio button] User: User. Keyboard
shortcut: Alt-U or Cmnd-U.
- [radio button] Both: Boht. Keyboard
shortcut: Alt-B or Cmnd-B.
- [radio button] Group: Group.
Keyboard shortcut: Alt-G or Cmnd-G.
- [radio button] Personal: Personal.
Keyboard shortcut: Alt-P or Cmnd-P.
- [radio button] Both: Both: Keyboard
shortcut: Alt-H or Cmnd-H.
press the [OK] button to
generate the report.
Use your own way to copy and paste content for whatever further
usage.
After pressing the [OK] button,
the conversation is generated:
chat_report_output.png
Below the full conversation:
Conversation #2: first: 2014-11-08 15:30:53 last: 2014-11-08
15:34:18 messages: 16
Fields: Author,Text
Messages from: System,User
Messages to: Group,Personal
(system): andrew (Andrew Reese) joins the conversation
(system): catherine (Catherine Hayes) joins the
conversation
andrew: hello catherine
andrew: do you know the homework for tomorrow?
catherine: hello andrew
catherine: yes, I will look it up...
catherine: we have to make a summary of chapter 2
andrew: OK, thanks
andrew: can you send me your summary? I don't have time for
that tonight
andrew: please?
mmonte (to andrew): you are supposed to do your own
homework
andrew: never mind, bye
(system): andrew (Andrew Reese) leaves the conversation
catherine: ok, bye ...?
(system): catherine (Catherine Hayes) leaves the
conversation
(system): This conversation will be ended shortly
It's quite interesting to experiment with selecting
different fields.
The advanced options also
apply to this module. In particular it means that you can use
Bazaar Style Style (BSS) to get rid of awful colors that
mismatch with the school site or with the pictures on the
page.
More on the backgrounds of BSS can be found in chapter Viewpoints, paragraph 4. On form and content.
More on the practical work can be found in Configuration Manager, paragraph
3.4 Configure theme
'Theme Name' for area n. The other advanced options are
discussed in chapter , paragraph
3.3 Advanced: edit advanced
properties of page nn.
(top)
If no speaker icon is
visible in the Visual interfaces, you probably have disabled
'Allow pages to choose their own color'. Enabling this option
in the browsers preferences solves this little problem.
Sometimes
Elinks misbehaves in some Linux flavours. Some tips: At the
end of the ~/.elinks/elinks.conf file add the line:
set document.browse.forms.confirm_submit = 0
How to configure Elinks to auto-refresh pages
After installing Elinks, there is
no elinks.conf file. It is created by saving the file once.
Proceed as follows to create the file (Elinks version 0.12pre6), open a terminal and type:
$ elinks config-file elinks.conf
- press the [Enter] key on the keyboard
- The 'Error' dialogue opens, saying:
Unable to retrieve file: ///home/username/elinks.conf
- Click OK, the 'Welcome' dialoge appears. Click OK and ESC.
- The Elinks menu bar opens.
- Select 'Setup' > Options Manager. The Options manager
dialogue opens.
- At the bottom of the dialogue. Click [Save].
- The 'Write config succes' dialogue opens, with message:
Options were saved successfully to config file
/home/username/.elinks/elinks.conf
- Click [OK].
- Close Elinks with ESC and Menu > File > Exit.
In the home directory of the user, the hidden directory .elinks the file elinks.conf is created.
Use a text editor to edit:
~/.elinks/elinks.conf
and, at the bottom of the
file add:
set document.browse.refresh = 1
set document.browse.forms.confirm_submit = 0
Some more tips from Witold Filipczyk Elinks mailing list (slightly edited):
Q: Is there a way or option to automatically go
into input mode on text input boxes?
A: add this line
set document.browse.forms.insert_mode = 0
should revert back to the 'old' default.
Q: And is there any option to turn off the
"Do you want to post form data to URL (POST DATA)?"
warning?
A: No, there isn't but there probably should. With
some nice checkbox to easily turn them off when
you get annoyed by them.
[...]
Only one thing is missing, which is available in the
GUI for visual and visually impaired users ( which
uses Javascript): a sound when a new message arrives.
Consulting the elinks.conf manual I found:
document.download.notify_bell (default: 0)
Question: Is there a possibility to put something in a
HTML page to trigger the bell?
NOTE:
Every n seconds we send an 'empty' HTML pages when
there is no new information.
When there is new input from a user, the page contains
for example:
Mary: some text that is written by Mary
Answer from Witold Filipczyk:
Browser scripting and preformat html hook is good for this.
Here is an example in Python:
# BEGIN EXAMPLE
import os
def preformat_html_def pre_format_html_hook(url, html):
"""Rewrite the body of a document before it's formatted.
This function should return a string for ELinks to format, or None
if ELinks should format the original document body. It can be used
to repair bad HTML, alter the layout or colors of a document, etc.
Arguments:
url -- The URL of the document.
html -- The body of the document.
"""
if url.find("elinks.cz") != -1:
os.system('play -q /home/users/witekfl/.elinks/doorbell.wav &')
elif html.find('{SOUND}') != -1:
os.system('play -q /home/users/witekfl/.elinks/doorbell.wav &')
#END EXAMPLE
This function plays sound when user has visited the elinks.cz site or in the body of a webpage there is text: {SOUND}.
play is part of the sox package.
path to the doorbell.wav is an example
For Python scripting --with-python must be added to the ./configure script.
The file hooks.py with hook functions must placed in /etc/elinks/ or ~/.elinks/
I hope, you got the idea.
When a new page arrives, we get:
---------------------------------------------
Refresh:
http:/url/to/the/page.html
Button: [Refresh]
---------------------------------------------
Question:
Is it possible to get rid of the 'Refresh: URL'
message? I could not find anything in the
elinks.conf(5) man page.
Answer from Witold:
I added the document.browse.show_refresh_link option to the master branch (0.13).
set document.browse.show_refresh_link = 0
in elinks.conf if you do not want the line with Refresh: to be "visible".
So, let's keep an eye on Elinks 0.13!
(top)
Author: Dirk Schouten <dirk (at) websiteatschool
(dot) eu>
Last updated: 2014-12-12, version 1.55