Software Development
There are 90 posts filed in Software Development (this is page 4 of 9).
Tool update for Federated Bookshelves/Library JSON project
Requirement brainstorm and some tools for Federated Bookshelves
Also, I found two tools today to more easily view OPML and JSON files:
- OPML Viewer – Can open an OPML file (local or online) and show original text and XML tree view
- JSON Viewer – Can open a JSON file (local or online) and show original text and object view
I added these to the tools section on the main Federated Bookshelves repo file.
Library JSON test viewer now available
Now that we have a simple way to view both OPML and Library JSON files, I am going to put some thoughts together on Github about the next items to work on….
A Federated Bookshelves reader
Federated Bookshelves Update #2
This depends on the mime-detection on your server. You need to map .opml to the right mime-type
application/xml
in your webserver.
and this MDN page on updating mime types:
- If you’re using the Apache web server, check the Media Types and Character Encodings section of Apache Configuration: .htaccess for examples of different document types and their corresponding MIME types.
I decided to look at my own web hosting to see if I could find and modify the .htaccess file. For Bluehost, there is an .htaccess file within the public_html folder. I thought I would start with this one and see how things went.
Looking at this example configuration file for media types from HTML5 Boilerplate project, I saw this:
AddType application/xml xml
I then added this line to my .htaccess file:
AddType application/xml opml
After uploading that addition, my OPML file renders the same way that Ton’s file does – success!
Federated Bookshelves Update #1
Getting started with Federated Bookshelves
I finally had some time this weekend to play around with this. Here is my work so far:
- My first booklist in OPML format
- The transformed file
I had some problems using Ton’s XSL file. On my server, when I entered the URL of the OPML file, all that was displayed was the OPML file. However, I found a tool to apply the XSL transformation, and the resulting file was a valid HTML page (the “transformed file” above). I will continue to investigate this and also reach out to Ton to see if I did something wrong.
You’re probably familiar with the concept of Choose Boring Technology. If you’re not, I’ll wait for you to read the excellent blog post by Dan McKinley that inspired a much-needed correction in tech…
Download the Complete eBook! How To Code in Node.js eBook in EPUB format How To Code in Node.js eBook in PDF format Node.js is a…