From cjkarr@... Wed Aug 08 20:39:17 2007
Return-Path: <cjkarr@...>
X-Sender: cjkarr@...
X-Apparently-To: books_developers@yahoogroups.com
Received: (qmail 68143 invoked from network); 9 Aug 2007 03:39:17 -0000
Received: from unknown (66.218.66.68)
by m55.grp.scd.yahoo.com with QMQP; 9 Aug 2007 03:39:17 -0000
Received: from unknown (HELO smtpout.mac.com) (17.250.248.175)
by mta11.grp.scd.yahoo.com with SMTP; 9 Aug 2007 03:39:17 -0000
Received: from mac.com (smtpin06-en2 [10.13.10.151])
by smtpout.mac.com (Xserve/smtpout05/MantshX 4.0) with ESMTP id l793YQ7T014040
for <books_developers@yahoogroups.com>; Wed, 8 Aug 2007 20:34:26 -0700 (PDT)
Received: from [10.0.1.3] (adsl-68-72-121-124.dsl.chcgil.ameritech.net [68.72.121.124])
(authenticated bits=0)
by mac.com (Xserve/smtpin06/MantshX 4.0) with ESMTP id l793YP2V009313
for <books_developers@yahoogroups.com>; Wed, 8 Aug 2007 20:34:26 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v752.3)
In-Reply-To: <5666FD87-CEFC-43CB-8409-B6793C3A3C6E@...>
References: <5666FD87-CEFC-43CB-8409-B6793C3A3C6E@...>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <E065FE28-4453-47F3-8365-2EAF9428B3ED@...>
Content-Transfer-Encoding: 7bit
Date: Wed, 8 Aug 2007 22:34:19 -0500
To: books_developers@yahoogroups.com
X-Mailer: Apple Mail (2.752.3)
X-Originating-IP: 17.250.248.175
X-eGroups-Msg-Info: 1:0:0:0
From: Chris Karr <cjkarr@...>
Subject: Re: [books_developers] books-plugins URL and sample HTML files
X-Yahoo-Group-Post: member; u=228254793; y=-hmKUyikwK09bcPl_JI1yRVUQbFoLdoKkZ_GJv2ranI
X-Yahoo-Profile: br284
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! :-)
> Now my question: I am trying to create a display plug-in and though I
> have enough info to keep going, I have a couple of things that I
> could use some info on: Neither of the URLs I have seen for the plug-
> ins page (http://www.aetherial.net/books-plugins/ mentioned in the
> plug-in HOWTO in the wiki, and http://books-plugins.aetherial.net/
> mentioned by Chris in his announcement to this list regarding web
> export plug-in) work.
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
This contains the CSS styling and the list of default fields
specified by the plugin.
> The HOWTO mentions "three sample HTML files" (for the three kinds of
> main window displays: none, single, multiple). It would be great to
> get hold of these files to make it testing changes to the display CSS
> easier -- which I assume is the idea behind them. Can someone point
> me to them or the right URL for the plug-ins page?
Books dynamically generates these HTML files.
<div class="book-list">
<p class="booklist-item"><div class="booklist-title">Knights of the
Dinner Table: Origins '03 Special</div><div class="booklist-
authors"></div></p>
<p class="booklist-item"><div class="booklist-title">Voodoo Child
Rough Cut</div><div class="booklist-authors"></div></p>
<p class="booklist-item"><div class="booklist-title">Raiders of the
Lost Ark #3</div><div class="booklist-authors">Walter Simonson</div></p>
<p class="booklist-item"><div class="booklist-title">Super-Villain
Classics #1</div><div class="booklist-authors">Mark Gruenwald; Stan
Lee</div></p>
<p class="booklist-item"><div class="booklist-title">The A-Team #1</
div><div class="booklist-authors">Jim Salicrup</div></p>
</div>
</div>
</body>
</html>
No books selected:
<html>
<head>
<link rel="stylesheet" href="file://localhost/Users/cjkarr/Documents/
Xcode/Release/Books.app/Contents/Resources/DefaultDisplay.plugin/
Contents/Resources/stylesheet.css" type="text/css">
</head>
<body>
<div class="empty">
<div class="empty-message">Please select a book from above.</div>
</div>
</body>
</html>
--
In each of these cases, Books fills in the stylesheet URLs and the
contents of the individual pages. For a single book, it generates a
list of fields. For multiple books, it generates a list of selected
books with author and title.
I need to document this better, but let me know if you need more
information to get going.
Hello all, first: a thank you to Chris and Co for an excellent app that is a handsome open source substitute to Delicious Library et al. Now my question: I am...
... Substitute? We were here first! :-) ... Oy. You caught me with my pants down. Those URLs are quite old and likely no longer work. I've posted a zip file...
... My apologies! I was unaware of the history! ... I already snarfed the Default Display from my Books directory, but the above will no doubt help future...
... I have one more question: is it only through the CSS that I can control the layout or is there some way to drive the HTML layout used in the book info...
... 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. The only potential problem...