[Quicknr]

Sunday, 19 June 2016

Quicknr 1.8.0

Exciting update brings a "Load More" button for the News listing page, and per-page customisation of Open Graph and Twitter Card <meta> tags.

If there are more news articles than listed on the News listing page (that Quicknr generates if you have news pages), a Javascript "Load More" button will now appear at the end of the list, for loading of more items. This is a modern, simple solution, familiar from many major sites, and is preferred to pagination.

New configuration options allow for Open Graph and Twitter Card <meta> tags to be automatically edited for each page, with the page title, description, image and URL. This feature is particularly relevant to news pages, which you may want to share on social media. The first photo found in the news post will be used as the card image, and the first paragraph as the description.

A "javascript" folder now ships with Quicknr, holding "lib.js" and "news.js" Javascript files that will be copied to every new website. The relevant preference setting for allowing Javascript files to be copied to new websites has been removed from the configuration.

News thumbnails (if set to be created by Quicknr) can now be rectangular, keeping the aspect ratio of the original (and then styled square with CSS if needed). See the new configuration options for details.

Many smaller fixes and improvements make this a must-have upgrade.

To update an existing website to this new version:

  • Move the website folder into the "websites" folder of the new Quicknr version.
  • Run Quicknr with the -t commandline option for Tools mode, and choose Option 2, updating the "config/config.txt" file of the website.
  • Review the updated file and set the new meta editing preferences.
  • Copy "lib.js" and "news.js" from the "javascript" folder to the "public_html/res/js" directory of your website folder, overwriting the old "news.js".
  • Run Quicknr with the -c -j commandline options to re-convert all pages and upload them to the server, also uploading the new Javascript files.