Sponsored Content
Full Discussion: mozilla object
Top Forums Programming mozilla object Post 302096539 by vino on Thursday 16th of November 2006 05:58:12 AM
Old 11-16-2006
Quote:
Originally Posted by ramesh.jella
how can i get the current url from
that file.
show me the way.
ram
Remember I told you to go till the end of the history.dat and pick up the URL. Thats what you need to do. Parse the file. Keep a track on each URL you see till you hit the end of the file. The last URL you have is what you are looking for.

I dont have any boilerplate code at the moment to post. From what I can see, you need to detect lines starting with a '<' and then strings within (var=/some/url).
 

9 More Discussions You Might Find Interesting

1. Linux

starting mozilla

every time I launch mozilla Im getiing this this error: Details: failed to execute child process "/root/mozilla" no such file or directory. (2 Replies)
Discussion started by: keliy1
2 Replies

2. UNIX for Dummies Questions & Answers

Does anyone use Mozilla Thunderbird

I'm using Mozilla Thunderbird for e-mail and it tells me cannot connect to mail.qs.com. Then it goes into SMTP Issues when I try to send e-mail out. Does anyone have any suggestions? (1 Reply)
Discussion started by: cnitadesigner
1 Replies

3. Linux

Mozilla Navigator

I would like just to know where is mozilla navigator is installed under linux i.e mozilla navigator is installed in which directory? I think you (1 Reply)
Discussion started by: selim
1 Replies

4. AIX

mozilla-firefox

i attempt to install mozilla...and after the installation finish i have failed that say: the following rpm image are required before mozilla.base.rte can be installed what to d? or how do i install the rpms? thanx..... (1 Reply)
Discussion started by: amitt74
1 Replies

5. Solaris

Mozilla, how to remove

I got this Mozilla and unzipped the package and installed on my server. Now I am told that this was a mistake and need to remove Mozilla. I know I can remove Mozilla with pkgrm but this unzipped file was apparently not installed this way. I believe the file was installed with the mozinstall script.... (8 Replies)
Discussion started by: bluridge
8 Replies

6. UNIX for Dummies Questions & Answers

Object reference not set to an instance of an object

I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine. I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this. Here is my function: <?php function TRECSend($a, $b, $c, $d,... (0 Replies)
Discussion started by: EddiRae
0 Replies

7. AIX

mozilla installation

I am tryin to install Mozilla V1.7.13.1 on Power6 64 bit Blade JS12 server running aix 5.3 ML 11. ive installed the required rpm files. When i try to install Mozilla (downloaded from IBM site as Mozilla.base.tar.gz) . It always fails with the below msg. instal: Failed while executing the... (2 Replies)
Discussion started by: muzahed
2 Replies

8. Solaris

How to install new Mozilla 3.5?

Yesterday I tried to install my mozilla firefox but when i want to see Readme #more README For information about installing, running and configuring Firefox including a list of known issues and troubleshooting information, refer to: Firefox web browser | Faster, more secure, & customizable... (10 Replies)
Discussion started by: solaris_user
10 Replies

9. Programming

How to initialize an object with another object of different class?

How to initialize an object of class say "A", with an object of type say "B". The following code give the error message "error: conversion from âAâ to non-scalar type âBâ requested" #include <iostream> using namespace std; class B; class A{ public: A() { cout <<"\nA()" << endl; } ... (1 Reply)
Discussion started by: techmonk
1 Replies
URI::URL(3pm)						User Contributed Perl Documentation					     URI::URL(3pm)

NAME
URI::URL - Uniform Resource Locators SYNOPSIS
$u1 = URI::URL->new($str, $base); $u2 = $u1->abs; DESCRIPTION
This module is provided for backwards compatibility with modules that depend on the interface provided by the "URI::URL" class that used to be distributed with the libwww-perl library. The following differences exist compared to the "URI" class interface: o The URI::URL module exports the url() function as an alternate constructor interface. o The constructor takes an optional $base argument. The "URI::URL" class is a subclass of "URI::WithBase". o The URI::URL->newlocal class method is the same as URI::file->new_abs. o URI::URL::strict(1) o $url->print_on method o $url->crack method o $url->full_path: same as ($uri->abs_path || "/") o $url->netloc: same as $uri->authority o $url->epath, $url->equery: same as $uri->path, $uri->query o $url->path and $url->query pass unescaped strings. o $url->path_components: same as $uri->path_segments (if you don't consider path segment parameters) o $url->params and $url->eparams methods o $url->base method. See URI::WithBase. o $url->abs and $url->rel have an optional $base argument. See URI::WithBase. o $url->frag: same as $uri->fragment o $url->keywords: same as $uri->query_keywords o $url->localpath and friends map to $uri->file. o $url->address and $url->encoded822addr: same as $uri->to for mailto URI o $url->groupart method for news URI o $url->article: same as $uri->message SEE ALSO
URI, URI::WithBase COPYRIGHT
Copyright 1998-2000 Gisle Aas. perl v5.14.2 2012-02-11 URI::URL(3pm)
All times are GMT -4. The time now is 07:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy