On 8 Aug, 2007, at 23:34 PM, Chris Karr wrote:
> On Aug 8, 2007, at 9:50 PM, ravi wrote:
>> first: a thank you to Chris and Co for an excellent app that is a
>> handsome open source substitute to Delicious Library et al.
> Substitute? We were here first! :-)
My apologies! I was unaware of the history!
> Oy. You caught me with my pants down. Those URLs are quite old and
> likely no longer work. I've posted a zip file containing the Default
> Display plugin at
>
> http://books.aetherial.net/downloads/DefaultDisplay.plugin.zip
>
> This contains the CSS styling and the list of default fields
> specified by the plugin.
I already snarfed the Default Display from my Books directory, but
the above will no doubt help future display plugin writers. More
importantly, thanks for the book page example, since now I have more
info on the class names, etc.
At some point, perhaps it would be a good feature to let the display
plugin writer drive the entire HTML with some macro substitution done
by Books for the various field values in an HTML template provided by
the plugin author. This would however defeat the other feature you
mention: the ability of users to choose the fields displayed and even
their order.
> You can change the order of the fields to suit your purposes by
> manipulating the order in the CSV file. The rest is up to CSS.
Ah, wonderful. I should have realised that!
> The only potential problem is that users can override this list with
> their own, so it might be helpful to not make it too dependent upon
> order.
That is an issue, indeed. I could position the DIVs using absolute
positioning, but then that gives the user the wrong impression,
should she uncheck the "Display default fields specified by plug-in"
only to find that the ordering she created is not honoured. I am
going to just add a README that says "changing the order of fields
will have aesthetically distasteful consequences" ;-).
Two more questions:
1) Where do you want bug reports on 3.1b to go? (sorry if that info
is already on the web site).
2) Is it okay to post attachments to this list? I would like to do a
screenshot of my display style for comments.
--ravi