Copyright WebTechGlobal © 2016
Home2016December

December 2016

Our WordPress Data Importer (WPDIMP) plugin gives you the option of importing ready made tags or generating them. All methods are shown below. Generating high-quality tags is trial and error at first with the current system. However, if you do not have pre-made tags it is a good tool to have. 

Generate Tags in WPDIMP

Follow this part of the tutorial if you do not have pre-made tags and you have a column of good sentences or paragraphs with keywords in them.

Step 1: Design Section

Go to the Design Section for your current project.

Step 2: Post Settings Tab

Ensure you are on the Post Settings tab. 

Step 3: Tag Rules Box

Locate the “Tag Rules” box. The box contains a form that offers basic options for configuring generating tags.

Step 4: Text Data

The Text Data field is a menu populated with your column titles. You need to select a column that holds high-quality text data containing the keywords that you would like to become post tags. WordPress Data Importer will use words from the text data to create tags. It is not an exact science and requires good configuration.

 

Step 5: Numeric Tags

Most blogs will not require Numeric Tags as a number means very little out of context. The plugin will avoid using numbers within your selected text unless you want them to be included.

Numeric tags option in WordPress Data Importer

Step 6: Tag Strength Length

All themes designate different amounts of page space for tags. So you’ll want to establish how many characters looks too much and enter a limit in the Tag Length field.

 

Tag string length field on the Generate Tags form.

Step 7: Maximum Tags

You might be keen on a specific number of tags per post. I know I have a habit of adding three on average. It looks good on most themes I’ve worked with. Set your own Maximum Tags value by entering a numeric value. WordPress Data Importer - Tag Rules Form - Maximum Tags Field

Step 8: Excluded

Your body of text may contain many words that aren’t suitable as tags. You can use the Excluded field to build a filter and avoid using many words. As I type this there is also a waiting task to add a minimum and maximum tag length i.e. the minimum length of a tag could be 5 characters and that will filter out small words. Until those options are added we need to enter words manually. Do this by separating each word or phrase with a comma and do not press enter. Just type continuously to create one long string.

Step 9: Submit

Submit the form and save your input. Saving this form does not generate tags. Tags will be generated at the point of post creation. However, it would be easy to create a tool that pre-generates tags and allows us to perfect them before creating posts. This has the advantage of reducing how much work WordPress needs to do during post creation. An important aspect to consider when trying to create thousands of posts quickly.

Using Pre-Made Tags

If your data already contains a keyword or tags column then you can use that to generate WordPress post tags. You can also use a third-party tool/server to generate tags, store the tag data into your project database table and use that generated data. 

Options Requiring Data Form

The menu for selecting your pre-made tags is on the Post Settings tab view beside the form displayed above. See the start of this post for screen capture on what page and tab you should be on. Then locate a box titled Options Requiring Data and select your keywords/tags column there. You do not need to use the other menus and should leave them alone until needed.

WordPress Data Importer - Options Requiring Data - Pre Made Tags Menu

The old Kids Zone logo wasn’t suitable for ages past eight and the design was too small for modern media. Replicating it was going to be impossible as the original fonts were unknown and couldn’t be found. The old logo also lacked the impact of a serious brand. Much of the content published by Kids Zone will be viewed by teenagers and so the problems were very clear. This was a great opportunity to create a logo that could adapt to various types of media by being workable and adaptable.  The new logo had to deliver that impact and be taking seriously by an older audience. 

New Design

The new logo maintains the two fonts approach which is arguably an unusual approach but trying to use the same lettering for “Zone” makes the logo uninteresting. The Kids lettering has been done with a font much like Disneys Micky Mouse. I applied Bevel Boss and Inner Bevel to create an angled edge. I used a simple technique to overlap parts of each letter with parts of other letters. This was key to making Kids readable and fun. 

The “Zone” was designed with a font size of 800 requiring a working area of 2000 x 2000 pixels. Each letter was manually coloured in to re-create the effect of a child scribbling with crayons. That was the approach I took in the original design when at the University of Abertay and I felt strongly about maintaining the level of detail it creates. However, I had to maintain a strong approach so that the logo would be taking serious and so I stayed in the lines most of the time. You can see in some places that I allowed myself to go out of the lines slightly, this was intended.  

Adaptable Design

There are a lot of options in this logo. Increasing the Bevel Boss width on Kids alone results in raised surfaces with rounded edges. I can achieve blown up lettering with much more shading which would be suitable for animation i.e. within games or video. The background and border are new, they help to define what the logo actually is i.e. we can add decoration around the logo without other images being mistaking as part of the logo. The old logo actually had the images of balls and a maths sum as decoration. I felt that kind of decoration restricted the old logo. The border and background is an official part of the trademark in shape only. The colour can easily be changed to suit the background of the media and this is where the strength of the design becomes clear. Importantly, unlike the old design, the original PNG is kept and has been designed large enough to maintain high quality within a high definition image. The logo can be animated quickly as each letter is separate. Each scribble on Zone is also independent. 

WebTechGlobal entered the world of gaming when I mixed business with gaming. As a keen follower of the Star Citizen project (as a project) and an intended gamer who might one day play the game. I joined a grouped called TEST Squadron a.k.a TEST Gaming. The professional gaming group have two websites, one a forum and one is a WordPress site. TEST is largely active on Twitch and are in need of more solutions for their WP site. There aren’t many, none make use of the new Twitch.tv feature for posting on a channel, much like a blog. The similarity is what triggered my idea for a plugin that focuses on synchronising a WP blog category with a Twitch channels feed. The plugin I created is officially called Channel Solution for Twitch but the project is codenamed “TwitchPress” because I hope to expand it in any direction that it can go. 

Codename TwitchPress

It wasn’t likely Twitch Entertainment Incorporated would allow the use of “TwitchPress” within a product or services title. I actually came up with, “TwitchPress” before figuring that out but it was always in the back of my mind that using “Twitch” and using the official Twitch trademark was pushing my luck. I decided to go ahead with the use of my design that incorporates the official Twitch logo but classified it as a “project codename”. Where possible I make it clear that the project is not affiliated or endorsed by Twitch Entertainment, Inc. I avoided adding the WordPress logo with the intention of giving the Twitch logo more room in the sense of impacting visitors. This is something requested by Twitch Entertainment and I’ve tried to respect it. 

Channel Solution for Twitch: WordPress Plugin

The first addition to the TwitchPress project is a WordPress plugin called Channel Solution for Twitch. Install the plugin by searching “Channel Solution for Twitch” on the Add New plugin screen in your WP admin.

oAuth2 Client Flow and API Security

The first feature of the plugin is oAuth2 client flow authorisation. The plugin creates a session which splits security data in half. One-half is stored in cookies on the user’s machine and the other is stored as user meta-data. The session also has a short expiry. A hacker would need access a client’s machine and their WP account data to make use of the authorised session. Even then they may be restricted by the permissions scope selected by the account holder as the processes offered by my plugin allows users to determine which permissions they will allow. This is done on a form before requesting access to the Twitch API named Kraken. It allows the permission scope to automatically configure the plugins interface i.e. we would hide or disable features that require permissions denied by the user. The same scope is submitted to the API and stored at Twitch.tv so a hacker would also need to re-do the authorization process. 

Syncronizing Twitch Feed and WordPress Category

I’m not there yet with synchronisation, it has to be done slowly and great care taking. But the plugin has a form for manually pulling the latest feed post from a Twitch channel and displaying it in the form. One click allows the content of the feed post to be added to the WYSIWYG editor in a new WP post. So we have a manual process for sharing content in a way that might even be more complicated than simply copying and pasting the post. However, these early features are simply to thoroughly test functions I created before using the same functions to perform any automatic process. Again, it’s all about taking great care. Eventually, a WordPress blog will be able to automatically pull and publish posts from the feeds on multiple Twitch channels. I hope to do more work on this by February 2017. 

Next Main Feature: IRC Bot for Twitch

I’ve already added the Net_SmartIRC PHP class to my Multitool plugin. That is a plugin I use to test the early version of new features and the Multitool plugin is expanding in all directions. There is a free edition of Multitool on WordPress.org and it can help developers to make a start on a new plugin. The work done in Multitool will be copied into Channel Solution for Twitch and integrated with Kraken (the Twitch API). This will be done with care which essentially means weeks of maturing within the Multitool plugin before copying any of the code. 

TwitchPress Commercial Prospects

Like most projects I’ve started, the TwitchPress project offers something free under GPL and is an offering to the community. In this case, there are two major communities being giving something for nothing. It is too early to decide if this project is a success or not and I can’t even guess what number of unpaid hours I’ll need to give before making it a success. However, I enjoy this project a lot and I have some slightly innovative ideas that might help my own gaming interests. So plenty hours will be put into the TwitchPress project and I hope to make some money from it eventually. The money would come from the sale of extensions for Channel Solution for Twitch. Each extension would offer a major feature and based on my notes. Each extension could be an independent WP plugin of its own. I would probably sell them on CodeCanyon as a money-saving bundle and individually on this website at their full price.

Ryan ‘ZypheREvolved’ Bayne

In the world of online PC gaming, I’m known as ZypheREvolved. I’ve only just begun to establish a gaming brand as a hobby. With tools like Channel Solution for Twitch and whatever else the TwitchPress project delivers. I expect to attract a decent number of followers and open doors.