From: Jérôme <rom...@ya...> - 2012-02-25 05:12:44
|
Hello, This works for me (MigrationHelpGramplet added). I just need to add support/call for Source and Citation Editors (even Citation editor can also edit source) from the gramplet pane. (call_SourceCitationEditors.patch) Maybe I am wrong, but it seems that the mapping for source/citation back references could be improved ? I think on event/person/familly editors. I do not see citation references on 'References' items into these Editors. I did not run 'Rebuild references map' yet, but I suppose that something might be displayed about these types of references? regards, Jérôme Jérôme a écrit : >> Now, I have a problem with the handle type for the source object ! >> I cannot find the correct value. Any idea what should be used ? >> 'Source', 'src', 'source' failed ... :( > > Well, we just need to set this handle type !!! > Added patch (call_SourceEditor.patch) > > I suppose I also need to call CitationEditor somewhere on the gramplet, > maybe by using backreferences (source -> citations). > > I do not want this patch be added on code (maybe for trunk?), but this > might be useful if we had some custom seizure rules for handling some > book references on previous versions. > > In my case, I sometimes used call number for both types of media (online > or book/publication) stored on the same repository! > So, I have some references, like "4E B512 / url ref or city (specific to > my country) / web page number / "page/folio" written on source. > The last section can now move in a safe state to a common citation. > That's why I am trying to use this type of tool for helping to migrate > some of my data. > > > regards, > Jérôme > > > jerome a écrit : >> Hi, >> >> >> I would like to try to use a 'migration help' gramplet for next major >> version! >> >> Currently, I have one rule related to my previous seizure: >> Some media types for sources were 'book'. On next major version, I >> would like to check if I used volume/page for these sources with >> (media_type=book). >> >> Some pages references (for these books) were also sometimes written >> into call number field (link with repository). >> I would like to be consistent with my seizure and to move some of >> these types of textual informations on citation object (volume/page). >> >> Looking at existing gramplets and code, I generated something close to >> a filter rule but with the ability to call editors via the markup/link >> on gramplet gui. >> >> Now, I have a problem with the handle type for the source object ! >> I cannot find the correct value. Any idea what should be used ? >> 'Source', 'src', 'source' failed ... :( >> Style for uri on Note editor seems to use 'Source' but I do not know >> if it is the handle type set somewhere for the source object. >> >> I added the files. >> My problem is with this code: >> self.link(src.get_title(),'Source', src.handle) >> >> >> Thank you for any help! >> Jérôme >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing also >> focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel |