ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

Book synopsis template

(1/8) > >>

fredemeister:
I'm writing my own book library for family members, and this is the code for each entry, using dummy data:


--- ---<section class="container">

  <p class="txt--center font-bold--200">_Character_Name  Series</p>

  <article>

    <div>

      <h2 id="silent-heroes">01 Silent Heroes</h2>

      <a href="one/two/silent-heroes.epub"><img src="silent-heroes" alt="book-cover" height="200" /></a>

      <p>[SYNOPSIS GOES HERE] <a class="read-book-link--maroon" href="one/two/silent-heroes.epub">Read the book!</a></p>

    </div>

  </article>

</section>

  // Repeat <div> as required //

Each author in this library has one page, headed with their name and photo. This page will have all their books listed under character-name headings, with this code above used for each book in that series.

I see the ID would be the determining factor in making sure the data is entered for the correct book.

There is other code, but that's for page layout.

After going through this over 200 times so far, and with, oh ... only about another 5,000 more, I'm thinking there has to be a better way than manually authoring the web page. Some CSS image galleries have a gui for entering the appropriate information, which then inserts that data in the relevant places in the HTML.

I don't know how to do this, but would javascript be a good option to do this from a list? ( I don't know javascript, btw.) Or could someone tell me what's involved for some other method?

mtia
freD

Nod5:
Have you considered using some existing free webapp for this instead?

For example Airtable. It is quite end user friendly and you can include thumbnails, attachements, clickable links and more on each row in the database. A simple setup would be one big spreadsheet shared by all family members and then each person is tasked to add/remove/update their books in it with information for each of the data categories (columns) you have initially created.
Edit: For example this template but add an "owner" column and whatever other columns you need.

fredemeister:
Have you considered using some existing free webapp for this instead?

Edit: For example this template but add an "owner" column and whatever other columns you need.
-Nod5 (October 13, 2019, 04:38 AM)
--- End quote ---

Thanks for this, I'll look into it.

Update: Seems like everything has to be stored in the cloud - I'm hosting this locally available on a VPN.

Nod5:
Seems like everything has to be stored in the cloud - I'm hosting this locally available on a VPN.
-fredemeister (October 13, 2019, 07:58 PM)
--- End quote ---
Yeah, Airtable is web (cloud) based. So not a good fit if you want to self-host locally.

It seems likely there are tools for this kind of thing out there already.

For example I've seen that there is a web interface app called calibre-web for the Ebook library manager Calibre. I haven't tried using nor setting up that web interface, so I can't say if it is any good.

One important thing to specify: Is your goal a system where your family members (who I assume are not all programmers!) themselves edit information about books through a locally hosted web app of some sort? Or is the goal that only you update the information and then your family reads it through locally hosted webpages?

tsaint:
Possible lines of enquiry: a. Mail merge using office variants b. excel macros to generate html

Navigation

[0] Message Index

[#] Next page

Go to full version