[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 13 Jul 2001 11:06:48 -0400 (EDT)
if it is out of date, it could be replaced with another script at a later
time, or simply turned off completely. Coupling the lynx calls to the
script processor with an intermediate function should make the script
easily replaceable. Does the outline below adress the <script> tags
processor fails, a blank string would be returned, and perhaps some sort
of warning message.
I tried a few scripts from the Internet that I found on NJS. Sometimes the
scripts have functions that are not defined, so I figure that the big
2 must have some kind of library defining some common functions.
> From address@hidden Thu Jul 5 16:31:26 2001
> reiterate a simple implementation.
> to Lynx by [L].
> processor (this is in addition to file/news/http/etc);
> [JS] Teach JS to emit HTML for the static part of the document.
> [This stage covers a significant portion of documents already.]
> Stage 2: [JS] Teach JS to mark the triggers-for-actions in the static
> HTML by <lynx-jsp:id> type anchors and unique identifiers.
> [L] Teach lynx to call the processor back when lynx-jsp:id
> anchors are activated, and read back a new version of
> the document.
> [L] Support <lynx-immediate-url:URL> scheme to make lynx
> switch to a different document when reading this new
> version (for "active" hyperlinks).
> [Thus an active hyperlink is marked as <lynx-jsp:id>,
> when activated, lynx informs the processor which id was
> activated, the processor calculated the URL, imbeds it
> into HTML surrounded in <lynx-immediate-url:URL>
> wrapper, and writes the HTML back to lynx.]
> [Validation of fields should be negotiable - either on each
> keypress, or when field editing is done...]
> Hope this helps,
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden