Sponsored Content
Special Forums Cybersecurity Is there any Javascript things for Lynx? Post 302144727 by ssaidwho on Friday 9th of November 2007 11:34:38 AM
Old 11-09-2007
links2

links2 got me much further with pages with javascript
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Surfing the web with Lynx

Linux detected my modem(finally!) and I then proceeded it to configure it with Minicom according to the instructions here. I got it configured, and can dial up to my ISP, but now I am trying to figure out how to get Lynx to use the connection. Any ideas? (3 Replies)
Discussion started by: Furtoes00
3 Replies

2. Shell Programming and Scripting

Lynx via crontab

I've written a program using the bourne shell (I think) #!/bin/bash that goes through a database and for each line does lynx "http://www.example.com/test.cgi?var=variable" The whole point of this was to later move it into the crontab so that once a day it would run this program on a website. Now... (4 Replies)
Discussion started by: sstevens
4 Replies

3. UNIX for Dummies Questions & Answers

Downloading with lynx

Hi there! I one saw a command that allowed to download a file using lynx from an HTTP server without opening lynx itself. Looked something like this: $ lynx -xyz http://localhost/foo.bar ~/foo.bar I looked into lynx manpages and help but didn't find anything. Thank you in advance (2 Replies)
Discussion started by: D-Lexy
2 Replies

4. UNIX for Dummies Questions & Answers

lynx startup

how to add an GUI application in a lynx 9.0 server start up. replies appreciated. raguram R (4 Replies)
Discussion started by: raguramtgr
4 Replies

5. UNIX Desktop Questions & Answers

Lynx / Links

Is there a particular style that works better than the default for lynx / links / other text-browsers? Since my most commonly-used home machines have of RAM, I try to avoid XWindows / Netscape as much as possible. I have found, however, that the default isn't very easy to navigate in 24x80... (1 Reply)
Discussion started by: LivinFree
1 Replies

6. UNIX for Dummies Questions & Answers

opening non-html files in lynx??

when i try to open a txt file in lynx I need to provide the filename or use wildcards to open. Autocompletion doesn't work for some reason. Also, trying to open files like: .sh, .py etc. ends up in the following error: lynx: Start file could not be found or is not text/html or text/plain ... (0 Replies)
Discussion started by: riwa
0 Replies

7. Shell Programming and Scripting

lynx

lynx Hi there , how to use this command ?? is it t to download files with any type(.zip,.exe,.xxx) ?? and i want example thx ... (1 Reply)
Discussion started by: XPS
1 Replies

8. UNIX for Dummies Questions & Answers

lynx browser + SSL

I want to browse to java.sun.. to download Java JDK I built openSSL then tried to build lynx to use it by: ./configure --with-ssl It finds the ssl .h files but cant link, last 3 lines from .configure are: checking for openssl include directory... yes checking if we can link to ssl... (6 Replies)
Discussion started by: mikebgx
6 Replies

9. UNIX for Dummies Questions & Answers

I'm a noob at Lynx...

So... I'm using lynx on a Mac... I didn't know that the whole dang thing is in Terminal? I rarely use terminal. I can't even figure out how to start the thing up. I type in lynx into it and press enter... And the cursor just goes down. Nothing happens like the FAQ websites describe. I feel so... (6 Replies)
Discussion started by: yennster
6 Replies

10. Shell Programming and Scripting

lynx

theres a form with these fields <form name="cpgform" id="cpgform" method="post" action="update.php"> <input type="text" name="user" size="30" class="textinput" /> <input type="password" name="pass" size="30" class="textinput" /> <input type="hidden" name="method" value="admin" />... (1 Reply)
Discussion started by: vanessafan99
1 Replies
OpenGuides::JSON(3pm)					User Contributed Perl Documentation				     OpenGuides::JSON(3pm)

       emit_json
	   Renders the given node as JSON

       output_as_json
	   Renders the given arbitary data as JSON

NAME
OpenGuides::JSON - An OpenGuides plugin to output JSON. DESCRIPTION
Does all the JSON stuff for OpenGuides. Distributed and installed as part of the OpenGuides project, not intended for independent installation. This documentation is probably only useful to OpenGuides developers. SYNOPSIS
use Wiki::Toolkit; use OpenGuides::Config; use OpenGuides::JSON; my $wiki = Wiki::Toolkit->new( ... ); my $config = OpenGuides::Config->new( file => "wiki.conf" ); my $json_writer = OpenGuides::JSON->new( wiki => $wiki, config => $config ); # JSON version of a node. print "Content-Type: application/javascript "; print $json_writer->emit_json( node => "Masala Zone, N1 0NU" ); # Ten most recent changes. print "Content-Type: application/javascript "; print "Last-Modified: " . $self->json_timestamp( items => 10 ) . " "; print $json_writer->make_recentchanges_json( items => 10 ); METHODS
new my $json_writer = OpenGuides::JSON->new( wiki => $wiki, config => $config ); "wiki" must be a Wiki::Toolkit object and "config" must be an OpenGuides::Config object. Both arguments mandatory. emit_json $wiki->write_node( "Masala Zone, N1 0NU", "Quick and tasty Indian food", $checksum, { comment => "New page", username => "Kake", locale => "Islington" } ); print "Content-Type: application/javascript "; print $json_writer->emit_json( node => "Masala Zone, N1 0NU" ); Note: Some of the fields emitted by the JSON generator are taken from the node metadata. The form of this metadata is not mandated by Wiki::Toolkit. Your wiki application should make sure to store some or all of the following metadata when calling "write_node": postcode - The postcode or zip code of the place discussed by the node. Defaults to the empty string. city - The name of the city that the node is in. If not supplied, then the value of "default_city" in the config object supplied to "new", if available, otherwise the empty string. country - The name of the country that the node is in. If not supplied, then the value of "default_country" in the config object supplied to "new" will be used, if available, otherwise the empty string. username - An identifier for the person who made the latest edit to the node. This person will be listed as a contributor (Dublin Core). Defaults to empty string. locale - The value of this can be a scalar or an arrayref, since some places have a plausible claim to being in more than one locale. Each of these is put in as a "Neighbourhood" attribute. phone - Only one number supported at the moment. No validation. website - No validation. opening_hours_text - A freeform text field. json_maker Returns a raw Wiki::Toolkit::Plugin::JSON object created with the values you invoked this module with. make_recentchanges_json # Ten most recent changes. print "Content-Type: application/javascript "; print "Last-Modified: " . $json_writer->json_timestamp( items => 10 ) . " "; print $json_writer->make_recentchanges_json( items => 10 ); # All the changes made by bob in the past week, ignoring minor edits. my %args = ( days => 7, ignore_minor_edits => 1, filter_on_metadata => { username => "bob" }, ); print "Content-Type: application/javascript "; print "Last-Modified: " . $json_writer->json_timestamp( %args ) . " "; print $json_writer->make_recentchanges_json( %args ); json_timestamp print "Last-Modified: " . $json_writer->json_timestamp( %args ) . " "; Returns the timestamp of the RSS feed in POSIX::strftime style ("Tue, 29 Feb 2000 12:34:56 GMT"), which is equivalent to the timestamp of the most recent item in the feed. Takes the same arguments as make_recentchanges_json(). You will most likely need this to print a Last-Modified HTTP header so user-agents can determine whether they need to reload the feed or not. SEE ALSO
o Wiki::Toolkit o <http://openguides.org/> o <http://chefmoz.org/> AUTHOR
The OpenGuides Project (openguides-dev@openguides.org) COPYRIGHT
Copyright (C) 2003-2009 The OpenGuides Project. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. CREDITS
Code in this module is mostly pirated from OpenGuides::RDF, those authors deserve all the credit. Chris Prather did the pirating. perl v5.14.2 2013-01-11 OpenGuides::JSON(3pm)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy