

I'm still only half way through installing stuff, PB was one of first installed progs.

I had to change the OwnerName.s = line as RepQuote wasn't found.
Rather than checking your Sitelist sources, I just gave it a string.
So, is that how you want the bookmarks imported? URL, Title, owner name set to current user login and category set to "FireFox Bookmarks" ?That works as it should.
Makes perfect sense to me:)I'm still only half way through installing stuff, PB was one of first installed progs.![]()
Yes, I forgot about that, fixed it in my copy. RepQuote is used in my main program to 'escape' single quotes before saving to the database.I had to change the OwnerName.s = line as RepQuote wasn't found.
Rather than checking your Sitelist sources, I just gave it a string.
That will be great, I think the category could be "Imported Bookmark" rather than "Firefox Bookmark",Fangbeast wrote:So, is that how you want the bookmarks imported? URL, Title, owner name set to current user login and category set to "FireFox Bookmarks" ?That works as it should.
I don't know what IE exported bookmarks look like as I don't use it and have no favourites in it. Different browsers use different nonclemanture in their html handling and it might have to be handled differently.Perkin wrote:That will be great, I think the category could be "Imported Bookmark" rather than "Firefox Bookmark",Fangbeast wrote:So, is that how you want the bookmarks imported? URL, Title, owner name set to current user login and category set to "FireFox Bookmarks" ?That works as it should.
as it can also import from IE or other browser exported bookmark lists (as long as they're *.html)
Code: Select all
<!DOCTYPE NETSCAPE-Bookmark-file-1>
Perkin wrote:Looking at the raw html file of the IE exported faves, it seems to try to follow the FF exported faves layout.
Without researching further may follow a previously set standard, as it also begins with.
I don't know if different IE version exports different markup, but as I said earlier, if needed FF could import/export the required IE faves file (if it causes prob when imported directly).Code: Select all
<!DOCTYPE NETSCAPE-Bookmark-file-1>
Code: Select all
Procedure OpenBookMarks()
BookMarkFile.s = OpenFileRequester("Select FireFix Bookmarks file", Program\CurrentDir, "HTM (*.htm)|*.htm;*.html", 1)
If BookMarkFile.s
ExpressionId.i = CreateRegularExpression(#PB_Any, "\<[^\<]+\>")
OwnerName.s = StringField(GetHomeDirectory(), 3, "\")
InFileId.i = ReadFile(#PB_Any, BookMarkFile.s)
If InFileId.i
While Eof(InFileId) = 0
TempString.s = ReadString(InFileId.i)
If FindString(TempString.s, "<DT>", 1) And FindString(TempString.s, "A HREF", 1)
TempURL.s = StringField(TempString.s, 2, Chr(34))
TempTitle.s = LTrim(RTrim(ReplaceRegularExpression(ExpressionId.i, TempString.s, "")))
If LCase(Right(TempTitle.s, 4)) = ".url"
TempTitle.s = Left(TempTitle.s, Len(TempTitle.s) - 4)
EndIf
AddGadgetItem(#Gadget_BookMarks_BookMarks, -1, TempURL.s + Chr(10) + TempTitle.s + Chr(10) + "FireFox BookMark" + Chr(10) + OwnerName.s)
EndIf
Wend
Else
Debug "Could not open the file off disk."
EndIf
Else
Debug "User cancelled the file load."
EndIf
EndProcedure
What I meant was..when I build a system, I download a little utility that removes the IE front-end so I have no access to it from then on. Of course, the underlying engine and functionality remains else a lot of things wouldn't work.Misread you're comment about 'Got it (IE) locked out of the system alltogether here.'
I thought you'd tried a IE exported file and got locked out / frozen system.
(Any IE exported faves file I tried worked ok)
Good to know.The new import works great and all entries look ok.
If it's sheep in underwear porn, leave them for that festering pile of sheepdip srod:):):)If you still really want a set of my faves I can up them -
HEAVILY edited of course to remove all the really embarrasing stuff,
I'll leave the porn in though :lol
How did you know, are you spying on me, or just looking out for srod's depraved best interestsFangbeast wrote:sheep in underwear porn
What's the utility.Fangbeast wrote: What I meant was..when I build a system, I download a little utility that removes the IE front-end so I have no access to it from then on. Of course, the underlying engine and functionality remains else a lot of things wouldn't work.
The WebGadget works fine here. As I said above, it removes the front end from access, not the engine itself which is needed for many things, especially in windows 7. But, I suggest you read here first!! http://support.microsoft.com/kb/957700Perkin wrote:What's the utility.Fangbeast wrote: What I meant was..when I build a system, I download a little utility that removes the IE front-end so I have no access to it from then on. Of course, the underlying engine and functionality remains else a lot of things wouldn't work.
I tried a few before, to make FF default etc, but had a few probs with opening some files, opening links etc.
Does the WebGadget still work ok. (Normal and Mozilla)