Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Quest. to the Dev: How to identify Livemark in FFX (Read 3479 times)
Jerry Krinock
Admin
Offline
Posts: 1503
Location: San Jose, California, USA
Joined: Sep 29th, 2008
Re: Quest. to the Dev: How to identify Livemark in FFX
Reply #3 - Nov 29th, 2012 at 7:04am
Print Post  
Weird.  Let us know if you find anything interesting.
  

Jerry Krinock
Back to top
IP Logged
 
amix
Member
Offline
Posts: 12
Joined: Nov 15th, 2012
Re: Quest. to the Dev: How to identify Livemark in FFX
Reply #2 - Nov 29th, 2012 at 4:32am
Print Post  
Thanks, that was what I needed. Strangely, all Livemarks have this annotation set, they all look identic in the places database to the single one, that is actually functioning. Don't know, what's wrong. I think I will have to recreate them.
  
Back to top
 
IP Logged
 
Jerry Krinock
Admin
Offline
Posts: 1503
Location: San Jose, California, USA
Joined: Sep 29th, 2008
Re: Quest. to the Dev: How to identify Livemark in FFX
Reply #1 - Nov 27th, 2012 at 3:24pm
Print Post  
Yes, we've been there a time or two  Grin

For reverse-engineering the places.sqlite, you add the annotation "livemark/feedURI" to the bookmark's URL in the moz_items_annos table, or something like that.

To do it legally, in a Firefox extension, use the livemark service…

var livemarkService = Components.classes["@mozilla.org/browser/livemark-service;2"].getService(Components.interfaces.nsILivemarkService) ;

If you want more detail, let me know and I'll look at it later.  Need to go now.
  

Jerry Krinock
Back to top
IP Logged
 
amix
Member
Offline
Posts: 12
Joined: Nov 15th, 2012
Quest. to the Dev: How to identify Livemark in FFX
Nov 27th, 2012 at 2:38pm
Print Post  
Hi,

do you know, what designates a Livemark different in the places.sql database? My Livemarks have all changed into ordinary bookmarks. There must be a flag, that does the difference. I want to set it in one go via SQLite Manager (a FFX AddOn). Thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint