Sandip writes: > > > once in the text mode news, i type in the same query in the space > > > provided. > > >=20 > > > i wanted to know if i can automate the whole thing or at least the last > > > typing a query part of it. may be i can store the query in a text file > > > and be done. there is an 's' option in lynx but i did not understand it > > > much. > >=20 > > Do you mean simply visit the Text Google News Page? > > no. not just visit the page. i already have it bookmarked. automation is > required more on entering the query. i type it everyday! sorry for > ambiguity in my original post.
My apologies. You were clear with "the same query in the space provided". When I first read it I thought you were speaking of USENET, and when I understood you meant regular news I did not re-read that part. Regardless, though, you should be able to bookmark the search URL: <http://news.google.com/news?hl=en&q=india&btnG=Google+Search> After typing in the query and hitting the submit button, you could just "a" add it to your bookmarks. I just did it and it works. Is that what you mean? The trick of this has to do with how the web-page author implements the query submission - via the POST method or via the GET method. If it's via the GET method, it can be bookmarked because the query parameters are passed to the web-application via the URL, such as the "q=india" in the above example URL. If it's via the POST method, similar name=value pairs are passed in the body of the *incoming* message and not within the URL. To make an automatic query for the POST method, you could use the perl script POST (in libwww-perl)... ** OR ** I just looked at the man page lynx(1): -post_data properly formatted data for a post form are read in from stdin and passed to the form. Input is termi nated by a line that starts with '---'. Perhaps sending the data in via -post_data would work, as in: lynx -post_data q=india -- http://www.google.com/ Best regards, Elizabeth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]