firefox bookmarks *CLOSED*
Posted 04 July 2006 - 10:47 AM
Posted 04 July 2006 - 11:45 AM
Basicaly if opened in bnotepad the above is what you see, If you ask in the regex forum i'm sure someone could help you parse this to get just the address and then only other thing u need is the files name which is what the bookmark show's as in firefox
Posted 04 July 2006 - 12:26 PM
Posted 04 July 2006 - 02:15 PM
if the HTML file was valid XML, you could have used PHP 5's XML functions if you were using PHP 5 but unfortunately it's not valid XML.
i believe this expression would work, haven't tested it out...been out of touch with RegExp for quite some time but some of the members on this board are very good at it so hopefully they can help you out better if i'm wrong.
you could use that in conjunction with preg_match() to grab the data you want into an array.
Posted 04 July 2006 - 02:19 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users