|
|
#16 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,977
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes, that would work.
|
|
|
|
|
|
#17 |
|
Member
![]() Posts: 18
Karma: 10
Join Date: Aug 2011
Location: Atlanta, Ga
Device: kindle
|
I've been reading through some of the code, especially the python generated HTML, and some of it I don't get. Take the code for the list of category browsers:
Code:
<li>
<a title="{2} {0}" href="{3}/browse/category/{1}">
</a>'
<img src="{3}{src}" alt="{0}" />'
<span class="label">{0}</span>'
</li>
Was there a reason that the code is structured this way? does it need to remain this way or should it be changed? I would prefer: Code:
<li class="cat-item">
<a title="{2} {0}" href="{3}/browse/category/{1}" id="{1}" class="cat-item-link">
{0}
</a>
<li>
Last edited by DezmondFinney; 08-05-2011 at 04:12 AM. |
|
|
|
|
|
#18 |
|
Member
![]() Posts: 18
Karma: 10
Join Date: Aug 2011
Location: Atlanta, Ga
Device: kindle
|
@ldolse
Hey, that is a pretty good idea. I don't know if it would work well for poorly formed books since there would not be a bunch of fine control like the desktop app but for what I'm thinking about it'll work. Books from the Bean library that I downloaded in mobi but I want on my phone or tablet in epub. |
|
|
|
|
|
#19 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,977
Karma: 29579516
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid I dont recall why it was structured like that, probably to deal with some incompatibility with a browser, most likely IE. If you can come up with a better structure that works cross browser, feel free to change it.
|
|
|
|
![]() |
| Tags |
| content-server, html, user interface |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| soPDF GUI Front-End | Nathan Campos | 37 | 11-04-2011 08:45 PM | |
| GuteBook - the Project Gutenberg eBook Maker/Front-end | nrapallo | Workshop | 67 | 03-27-2011 05:46 PM |
| Front Page..... | tnronin | Sony Reader | 0 | 02-25-2010 01:11 PM |
| hacking in? | omro | Astak EZReader | 5 | 12-09-2009 06:59 PM |