being relatively new to CDpedia – though I’ve been looking for and trying several apps for the same purpose – I got really excited about the Details View custumization features (since it’s the good old browser pane at all with all its HTML, CSS and JS features), so I have created mine, and named it Strict, since this one is something special that may not be liked by the average user, but, looking at my really strict habit of organizing my own physical CD collection, it really fits my needs.
Question is if anyone is interested in it – first look at the screenshots below, than let me hear you in the comments.
I’m providing the whole downloadable stuff on GitHub. I’d really appreciate if anyone could test it – I’m in the middle of my re-cataloging process of >1200 CDs (“middle” is a polite understatement), so I surely will do the testing on my own collection, but of course it’s just my own one.
For the customized field names and purposes please see this table.
Features
- The layout is based on a slightly modified version of the Responsive Grid System (see landscape and portrait layouts).
- The fields are grouped into different parts (“infoblocks”). These are parts that contain information belonging together – in my opinion (e.g. Purchasing Info, Album Identifiers, etc.)
- The cover image is included in the template (yes, you can simply ignore it with a sudden comment-out keystroke :)) and shows the large size in lightbox. (I know, the same thing applies to the hardcoded cover image preview pane, but this one doesn’t need any new windows).
- The content is post-managed by a massive JavaScript parser, which
- removes commas from between the taglist elements (the CSS turns them into button-like links),
- makes track infos (in square brackets) lighter than their main (base) names in the tracklist,
- replaces default cover with a customized one, and removes (lightbox) link if no cover is provided,
- puts default text into the "More Info" block's URL description, if it is empty (this is the URL field of an entry),
- replaces line breaks with paragraphs in the Summary block, and
- removes empty infoblocks.
- If the track title is too long and it contains Composer, it looks weird.
- Some small typographical corrections.
- The template doesn’t turn into one-culomn mode when the pane is <480px wide (it hardly turns out by regular usage).
- Translation capabilities.
- Instant search for the most fields (Label, Catalog #, etc.) on Google, Wikipedia, Discogs, AllMusic, etc. (maybe through tooltips).
- Borrowing info. I strictly don’t borrow any CDs (books, instruments and wives) to anyone, sorry. Therefore I left these fields out. (Though you can implement it pretty easily when looking into the code.)
- A simple configuration options block in a separate JavaScript file for the shown infoblocks, and some other parameters (e.g. need/don’t need cover image, font size and colours).
- Possibility of (simple) Markdown syntax usage in the Summary section through a JavaScript Markdown parser.
- - How can I create installable template files? The only instruction for this process in the help files was under the Creating Installation files title on this page telling “You can attach installation files to your templates so they will install themselves automatically in the correct program.” – which is something general, but not so much informative.
- What if I put the images into the template’s own /img folder instead of the recommended common /Images folder?
- What should be the folder of supporting scripts named by recommendation? I called it /My_Template_Name/assets, but I have seen some others calling it /includes.
- And finally: what is DiscID for? :) I mean, this field can’t be the Label Catalog Number (it’s the Catalog # after all), neither the UPC, nor the ASIN or Collection ID – they all have their own fields. Then what? (An example would just be fine.)
Download/fork Project on GitHub