View Single Post
Old 05-07-2023, 07:23 PM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,829
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Book details->Copy->All book details

This copies the book details panel including all of its markup code to the clipboard - essentially what can be seen in the following screenshot:

Click image for larger version

Name:	Screenshot 2023-05-08 085741.jpg
Views:	170
Size:	87.0 KB
ID:	201455

I'm not sure what the use case is - but the code behind all the blue values (apart from the Links column) are like this:
Code:
<tr>
<td bgcolor="transparent" style="vertical-align: top">
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><strong style="font-family: 'Segoe UI Mono','Consolas','monospace'; font-size: 13px; background-color: transparent">Publisher:</strong></p></td>
<td bgcolor="transparent" style="vertical-align: top">
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><a href="action:7b227465726d223a20227075626c6973686572222c202276616c7565223a20224a6f686e20486f706b696e7320556e6976657273697479222c20226669656c64223a20227075626c6973686572222c2022626f6f6b5f6964223a203832302c202274797065223a2022736561726368227d"><span style="font-size: 13px; color: #6cb4ee">John Hopkins University</span></a></p></td></tr>
<tr>
I'm at a loss as what one would do with this, apart from paste it into a calibre Long text cell in a book in the same library, but why would you want to do that when you can paste a calibre://book-details link?

IMO it should be be possible to copy something more like this (from the calibre://show-details link labelled Self), i.e. plain text:

Click image for larger version

Name:	Screenshot 2023-05-08 085818.jpg
Views:	144
Size:	59.4 KB
ID:	201457

The columns that are shown in blue which I've boxed in red are virtual columns, IMO they shouldn't have a href="blah blah…" coding. Whereas calibre://, http://, file:/// etc links (i.e. advertised protocols) should retain their a href="blah blah…" coding.

BR

Last edited by BetterRed; 05-07-2023 at 07:25 PM.
BetterRed is offline   Reply With Quote