|
renjith p krishnan,
Like Vasudevan Deepak K said, Firefox holds them in a HTML file. So, you'll need to read the file into memory and then iterate through the tags.
If your a newbie, maybe start with something a bit simpler so you get the basic understanding first?
Regards,
Gareth.
|
|
|
|
|
You can find the bookmarks for FireFox in windows contain in the subdirectories of:
%userprofile%\Application Data\Mozilla\Firefox\Profiles\
Be warned that the profile is stored in a subdirectory with random characters, one of them will have a .default (this is the one that loads on application start) and each windows user might have many different profiles for FireFox. So there could be any number of profile subdirectories, but all will contain a "bookmarks.html" file. This file is formated in a custom Mozilla doctype scheme, though it is viewable in a web browser like normal HTML.
|
|
|
|
|
thanks for the reply
so can we make sure that the mozilla profile path will always be as follows?
%userprofile%\Application Data\Mozilla\Firefox\Profiles
Renjith
|
|
|
|
|
Can we store a database in form of XML?
Please excuse me but I don't know XML.
If yes, what if the database is huge? Are there any performance issues related to it?
|
|
|
|
|
ptr2void wrote: Can we store a database in form of XML?
Yes[^], but why would you want to store it in a proprietary format?
ptr2void wrote: Please excuse me but I don't know XML.
Google is your friend, and so is Wikipedia.
ptr2void wrote: If yes, what if the database is huge? Are there any performance issues related to it?
Depends largely on how your design, but generally, if you store it in XML, it will occupy more space. My suggestion is to go with one of the regular databases like SQL server or Oracle.
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
ptr2void wrote: Can we store a database in form of XML?
Yes, but only in UTC Time.
led mike
|
|
|
|
|
|
ptr2void wrote: Can we store a database in form of XML?
Yes
ptr2void wrote: If yes, what if the database is huge? Are there any performance issues related to it?
If you can do everything easily with a plaintext XML database, what is the benefit of fine tuned RDBMS?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
|
What is UTC time? How is it different from Local Time?
Does it mean that UTC time are same on every machine at a particular instant or does it manipulate from the local system time?
I want to time which should be uniform across the globe. Like different application calling my server should pass universal time so that it is easy to maintain. What time should I be using on clients?
|
|
|
|
|
ptr2void wrote: What is UTC time?
Read this[^]
ptr2void wrote: I want to time which should be uniform across the globe
Then use UTC.
|
|
|
|
|
I wrote some very simple code:
DateTime dt = DateTime.UtcNow;<br />
DateTime dt1 = DateTime.Now;
Now if I change my local time, the UTC time changes too..
If UTC time is meant to be constant, then it should not change even if I change my local time...
Isnt it?
|
|
|
|
|
ptr2void wrote: Now if I change my local time, the UTC time changes too..
UTC is based on your local time +- your time zone, so of course UTC will change if your local time does.
Really... go and read up on UTC at wikipedia like you've been advised. It will all become clear (I hope).
|
|
|
|
|
|
look on Wikipedia[^]
ptr2void wrote: What is UTC time? How is it different from Local Time?
UTC is just like another timezone. It will have a fixed offset from your local time.
ptr2void wrote: Does it mean that UTC time are same on every machine at a particular instant
No, each machine will calculate UTC as an offset from it's local clock. If you need a time value for co-ordination or timestamps you need to use a central server for your clock. If it's an app with a database back end you can just use the database time.
ptr2void wrote: I want to time which should be uniform across the globe. Like different application calling my server should pass universal time so that it is easy to maintain. What time should I be using on clients?
Yes, you should use UTC to pass times between machines, servers, clients and internally, etc. But ideally, you should then convert the UTC to the machines local time zone before you display it to a user. Users won't generally understand what UTC is.
Simon
|
|
|
|
|
|
Thank you very much Simon.
|
|
|
|
|
ptr2void wrote: What is UTC time? How is it different from Local Time?
You needed CP to answer this for you? You couldn't have found this info by using googl.... *checks profile* aaaaaahhh, the sub-continent. Now I understand!
|
|
|
|
|
J4amieC wrote: *checks profile* aaaaaahhh, the sub-continent. Now I understand!
Well, and I thought that the respected MVP's are here to help the beginners and newbies too who are very new to the technology...
Now I get to know what some of their real attitudes !!!
modified on Monday, April 21, 2008 9:51 AM
|
|
|
|
|
ptr2void wrote: Now I get to know what some of their real attitudes !!!
Don't worry about it. It isn't anything personal. It is just that many folks from India have a propensity to ask questions first rather than go and read the documentation first. Think of it as a culture clash. In the west the preferred (polite) route is to do some research first and if that fails to ask questions and be prepared to show that you've done the research.
|
|
|
|
|
Colin Angus Mackay wrote: In the west the preferred (polite) route is to do some research first and if that fails to ask questions and be prepared to show that you've done the research.
West, shmest! In the real world you're expected to use your initiative and to ask sensible questions when you've done a reasonable amount of research for yourself.
|
|
|
|
|
J4amieC wrote: West, shmest! In the real world...
Well, it seems to me that it is mostly folks from the east (and in particular India) that make the mistake of not attempting to do research.
|
|
|
|
|
Its not like that..
I came here only after I had googled the question..
But I came here to have an indepth analysis of my query..
Anyways, I dont think its good to comment on other folks and countries like that..
We all are here to help and get help..
Even if somebody dosent make research, he should be told to do so and not comment on any particular region or nation..
That shows how you respect(or dont) other people..
|
|
|
|
|
Got u Colin..
I took it personally until I saw your post..
But there should be polite ways to answer too..
People shouldnt be commenting on other countries and the attitudes of people, I guess that is regarded RUDE everywhere..
I admit I made research but not that much, will do in future..
|
|
|
|
|
help me!!!i need programm on C# "Maltus' model"!!!
|
|
|
|