Sprint 18 – Featured Image (7th April 2020)
There are some exciting new features in this release, be sure to upgrade the Word Pigeon Plugin to the latest version v2.18.0
Support for Google Shared Drives / Google Team Drives
We now support Google Shared Drives / Team Drives
To add a folder from a shared drive, under the site setup when adding a folder just click the 2nd tab to view your shared drives. You should then see all your shared drives listed, just click the right one then add the folder as usual. You should then see all the docs for that folder in the google docs page just like before with the non-shared drive folders
You will now notice that there is a new file-drop-zone on the export page which allows you to attach a featured image to the post before exporting it via Word Pigeon. If you don’t attach one, then we will default to setting the first image as the featured image.
Better Image File Name
Formerly the images were just being names image1.jpg image2.jpg etc… We now intelligently try to choose a better name based on the information we have.
There are a few ways to add images to a google doc, you can either drag and drop them from your desktop or you can paste from the clipboard.
- We should get the filename if you dragged and dropped the file from your own machine
- We may be able to get the filename of the image if you copied and pasted it from your clipboard (depending on where)
- If you copy and paste from your clipboard we may also get the alt text
It is also possible to set the alt text manually from the google doc by clicking the file and then selecting alt text. The description field translates into the alt tag when exporting
Logic we use for selecting the image filename
- If we find alt text we always give precedence to this as we found out during our testing this is usually more descriptive than the filename, the filename was usually Whatsapp Image 1.jpg or Screenshot-2020-04-07.jpg so we thought we would attempt to use the alt text if we have it available
- If we don’t have an alt tag, we try using the title of the image as is sometimes preserved in the image when copied from the clipboard as this is usually quite descriptive also
- If alt and title are empty we then attempt to rely on the original filename (if we can get it)
- Duplicate image names will be numbered in order e.g. flower-sky-1.jpg flower-sky-2.jpg etc…
- If all else fails the images will be called image1.jpg image2.jpg etc… (this depends on what information we have available from the google doc)
Define a URL Slug and Excerpt from the Export Page
There is now the option to select a url -slug and excerpt before exporting. Neither are mandatory. A url slug will be generated by Word Press if you choose to leave it blank.
Ability to Choose a Different Post Title
Formerly we used the title of the Google Doc to export, however we have now made this editable, so if you do want to edit the document title before exporting you can.
This does not update the Google Doc name, just the title of the post exported.
Support for Very Large Documents
Our Co founder Deepak writes Google Docs which can be upto 40 pages long and have 55 images in them. Some times the largest of these docs wouldn’t work so we made some improvements.
We completely changed the way we import documents into Word Press to allow for this.
Now Deepak can export his mammoth articles trouble free!