BACK TO BLOG LIST

SUBSCRIBE: RSS ATOM

RSS available for this blog, and new comments sections

by NJB // // Broomfield, CO

© 2023 Nantucket E-Books LLC

CC-BY-SA 4.0

I have updated this blog to support RSS. You can add the feed to your RSS reader here: nantucketebooks.com/blog/RSS.xml.

Aside from getting the correct dates to output, adding RSS was pretty simple. Most of the work had already been done using the functions I’d built to create the blog’s table of contents. It was then just a matter of outputting that information into XML.

I have also made an improvement to the blog’s comments section. Before, the comments used the “checkbox hack”, as related by Chris Coyier, which lets the visibility of an element by toggled using only CSS, and no client-side JavaScript.

Unfortunately, the styling that makes the checkbox hack work was conflicting with the readable.css stylesheet that I use for the site now. Benjamin Hollon, the developer of readable.css, suggested I use the “details/summary” elements instead. I had never heard of details/summary, and it is pretty neat. The <details> element is, in effect, the checkbox hack using only HTML. This gives my site an even simpler, low-tech (no-tech?) comments section

If you use RSS, e-mail me a comment on how this blog’s feed looks to you.

SHOW/HIDE COMMENTS
  • Benjamin I’ve always said that RSS should be easier to figure out for a blog than actually displaying the content to the users (and it is!): all you've got to do is put the content in a machine-readable format. If you wanted, you could even actually store your content in the RSS format itself and then generate the website from that.

  • WANT TO COMMENT?

    SEND AN E-MAIL TO NJB@NANTUCKETEBOOKS.COM WITH THIS SUBJECT LINE: