|  02-01-2011, 06:53 PM | #181 | 
| Junior Member  Posts: 8 Karma: 10 Join Date: Nov 2010 Device: Kindle | 
			
			Does anyone have any idea why my custom column has broken somewhere between version 7.37 and 7.43. It was working fine but now says unknown id str_title1. Problem appears to be in the switch statement code as follows:- program: stripped=re(field('series'), '^(A|The|An)\s+', ''); shortened=shorten(stripped, 4, '-' ,4); initials=re(stripped, '[^\w]*(\w?)[^\s]+(\s|$)', '\1'); s_index=template('{series_index:0>2.0f}'); abrv=strcat( switch( stripped, '.\s', initials, '.', shortened, field('series')), test(s_index, strcat(' ', s_index, ': '), ''), field('title')); str_title1=template('{series}{series_index:0>2.0f| |: }{title}'); str_title2 = template('{#alt_series_name}{series_index:0>2.0f| |: }{title}'); str_title3 = abrv; str_title4 = template('{series_index:0>2.0f| |: }{title}'); str_title5 = field('title'); str_default =test(field('#alt_series_name'),str_title2, str_title1); str_input = lowercase(field('#kindle_title_fmt')); switch(str_input, 'Series and num',str_title1, 'alt and num',str_title2, 'short and num',str_title3, 'num only',str_title4, 'no series info',str_title5, str_default); | 
|   |   | 
|  02-01-2011, 07:21 PM | #182 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			You're better off opening a ticket as chaley who maintains this code doesn't visit mobileread any more.
		 Last edited by kovidgoyal; 02-01-2011 at 07:25 PM. | 
|   |   | 
|  02-01-2011, 07:41 PM | #183 | 
| Junior Member  Posts: 8 Karma: 10 Join Date: Nov 2010 Device: Kindle | 
			
			On a second issue is there anyway to evaluate the formats and put a Y in a column if the book has a MOBI format? suspect it is {formats:switch(.......)} but not clever enough to get it working... thks stephen | 
|   |   | 
|  02-03-2011, 10:22 AM | #184 | |
| Addict            Posts: 385 Karma: 6514 Join Date: Aug 2010 Location: Denmark Device: Kindle 3 3G+Wifi, Oasis |  Start at page 1 Quote: 
 In the absolutely first post in this thread, with the heading "Common composite custom columns" There's an example of a custom column set to Yes if ebook format is like "*EPUB*". Display Yes if the book has an EPUB format. Template:{formats:contains(EPUB, Yes,)} So what you're looking for might be something like this: Code: {formats:contains(MOBI, Y,)}BTW: Been here for approx. 6 months, so I also have to get used to the new layout, but it actually helps finding things faster. Last edited by pchrist7; 02-03-2011 at 11:53 AM. Reason: typos | |
|   |   | 
|  02-04-2011, 10:00 AM | #185 | 
| eBook Junkie            Posts: 1,526 Karma: 1464018 Join Date: May 2010 Location: USA Device: Kindle Fire 2020, Kindle PW2 | 
			
			Sorry this is the wrong spot and I d not see a delete button.
		 Last edited by nynaevelan; 02-04-2011 at 10:04 AM. | 
|   |   | 
|  02-04-2011, 10:09 AM | #186 | 
| eBook Junkie            Posts: 1,526 Karma: 1464018 Join Date: May 2010 Location: USA Device: Kindle Fire 2020, Kindle PW2 | 
			
			Hi All: I need a little assistance again with the composite column for the annotations, for some reason my annotations are not being updated each time. I do not know if it is something with my annotations or my system, but for some records they will not update although I know they have annotations. Is there a way to check the MBP file?
		 | 
|   |   | 
|  02-04-2011, 10:16 AM | #187 | |
| Addict            Posts: 385 Karma: 6514 Join Date: Aug 2010 Location: Denmark Device: Kindle 3 3G+Wifi, Oasis | Quote: 
 The mbp files are "binary" meaning you can't just read them. You would a "hex editor" plus a description of the mbp file format to figure out what's actually in the files ( as far as I know ) What you could do is checking the time stamp to see if it's dated as you would expect. What info is not updated as expected ? The read % ? | |
|   |   | 
|  02-04-2011, 10:19 AM | #188 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
  their original material. If you have not "submitted", just use your browser 'Back' button (or close it) without submitting... Gone. You did the other (post-Submitted) way   | |
|   |   | 
|  02-04-2011, 10:23 AM | #189 | |
| eBook Junkie            Posts: 1,526 Karma: 1464018 Join Date: May 2010 Location: USA Device: Kindle Fire 2020, Kindle PW2 | Quote: 
 | |
|   |   | 
|  02-04-2011, 10:50 AM | #190 | |
| Addict            Posts: 385 Karma: 6514 Join Date: Aug 2010 Location: Denmark Device: Kindle 3 3G+Wifi, Oasis | Quote: 
 First of all you have to tell explorer to show timestamps to see them. What OS you using ? A bit confused here - the problem is that books read on the Kindle are not updated, OR are you reading with K4PC as well ? And that's not replicated to the Kindle ? | |
|   |   | 
|  02-04-2011, 11:06 AM | #191 | |
| eBook Junkie            Posts: 1,526 Karma: 1464018 Join Date: May 2010 Location: USA Device: Kindle Fire 2020, Kindle PW2 | Quote: 
 I have ALOT of annotations on my Wheel of Time books and I would like to get them into Calibre so that I can have backups there. I can see them on the kindle website but they are old versions, so I am updating them all with the current notes, highlights and bookmarks so that Calibre will be updated. EDIT: Ok I think I was making problems for myself by using both the kindle and k4pc, I am back on track now. Sorry for the confusion. Last edited by nynaevelan; 02-04-2011 at 01:24 PM. Reason: update | |
|   |   | 
|  02-05-2011, 01:39 AM | #192 | 
| Addict            Posts: 385 Karma: 6514 Join Date: Aug 2010 Location: Denmark Device: Kindle 3 3G+Wifi, Oasis | |
|   |   | 
|  02-12-2011, 05:37 AM | #193 | 
| eBook Junkie            Posts: 1,526 Karma: 1464018 Join Date: May 2010 Location: USA Device: Kindle Fire 2020, Kindle PW2 | 
			
			Hi: Has something changed with fetch annotations in 0.7.45, I tried to download the latest annotations from my kindle after upgrading to 0.7.45 and now none update in Calibre and all the mbp files change to an extension of asnx? | 
|   |   | 
|  02-12-2011, 05:55 AM | #194 | |
| Addict            Posts: 385 Karma: 6514 Join Date: Aug 2010 Location: Denmark Device: Kindle 3 3G+Wifi, Oasis | Quote: 
 I havent upgraded calibre yet, but will soon. As far as I know, asnx is for the new K3 firmware, showing page no. as well as locations. Havent installed new K3 firmware yet, so .. Will get back to you once I have had a chance to upgrade/test calibre. Edit: Just upgraded Calibre to 0.7.45 and did Fetch Annotations. It works as expected/as usual from my K3. Note: Did NOT update my K3 firmware yet, and have NOT added any plugins etc. Yet ;-D Looking keenly at the collection creation pluging, but need time to experiment. Could you have done other changes to get this issue ? Last edited by pchrist7; 02-12-2011 at 07:44 AM. | |
|   |   | 
|  02-12-2011, 11:36 AM | #195 | |
| eBook Junkie            Posts: 1,526 Karma: 1464018 Join Date: May 2010 Location: USA Device: Kindle Fire 2020, Kindle PW2 | Quote: 
 | |
|   |   | 
|  | 
| Tags | 
| custom column, tag, tags | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Should composite columns appear in Grouped Searches? | ownedbycats | Library Management | 3 | 02-13-2021 03:43 PM | 
| Having problems with composite columns and save/send templates | Trel | Calibre | 4 | 09-26-2016 03:21 PM | 
| Tooltips for narrow columns | theducks | Library Management | 7 | 03-16-2015 10:58 PM | 
| Techniques to use plugboards, custom columns and templates | kovidgoyal | Library Management | 0 | 01-26-2011 04:21 PM |