Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Quest. to the Dev: How to identify Livemark in FFX (Read 5935 times)
Jerry Krinock
Admin
Offline
Posts: 1683
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 3:04pm
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 12:32pm
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: 1683
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 11: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 10: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