Thursday, January 21, 2016

The PHP Channel’s Survey Results and 2016 Plans

On the last day of 2015, we published a survey asking you, the readers, for an opinion about the PHP channel. It was a pretty open survey with mostly freeform answers allowed, so you could tell us literally anything. All in all, we collected 78 responses so far (the survey will remain open indefinitely, in case someone wants to give us more feedback).

On the average satisfaction scale, we scored 7.42 out of 10, and that’s without excluding the potential trolls who voted 1. That’s a very good result, but we’re determined to improve it further.

Average happiness

Of the people who provided written feedback, most desired either more in-depth and advanced content and / or more posts per month. Some complained about a lot of “useless product placement” which, I assume, means ads since we don’t do sponsored posts often.

Now, we’d love to publish more often - we’ve got the queue for it. Heck, our authors are working around the clock to produce awesome stuff. But we have a limited budget, and we have to make this budget work with the amount of content coming in - remember, every post we publish is paid! So ads are a necessity - we use them to pay our authors for the hard work they put in.

Regarding more content and more advanced topics - I read you loud and clear. We’ll start commissioning more of such content in the future - we’ll do our best to publish full “from scratch” guides that cover a topic well, and we’ll try to tackle some advanced, specific topics. Additionally, based on another reader’s feedback, we’ll start including lists for further reading at the bottom of the posts - for those enthralled by the topic.

If you have other suggestions, please drop them in the comments below!

Continue reading %The PHP Channel’s Survey Results and 2016 Plans%


by Bruno Skvorc via SitePoint

Content Expansion: How to Maximize Your Content

This article was originally published on the Single Grain blog.

So you created what you thought was a masterful piece of content but there’s no traffic coming in.

The marketing experts talk about the importance of content marketing and how it has made a world of difference in their businesses. The traffic and leads just seem to gush in for them.
Backlinko gets 90,000 visitors a month and it’s a newer SEO blog, Derek Halpern has over 200,000+ e-mail subscribers—and the list goes on.

It’s the one element that people don’t talk about often: content promotion.

And when people DO talk about it, they say content promotion is perhaps even MORE important than the content itself, but no one really tells you how to do it effectively.

Derek Halpern

We all produce a ton of different content so it just makes sense for us to double down and expand/repurpose it in order to maximize mileage, right?

In this post, we’ll walk you through how to promote your content as well as repurpose it on other platforms (which in essence is also a form of promotion). Let’s call this ‘Content Expansion’.

Let’s jump right into it.

What Usually Happens

The typical content marketing strategy involves publishing a blog post, seeding it to your social profiles, and maybe sending a few e-mails out.

Doesn’t it feel like there should be A LOT more that?

First, the one thing I’ve heard from the Neil Patels and Derek Halperns of the world is to create truly epic content. It’s a lot easier to promote and repurpose content when it’s top-notch!

Assuming you have done that, it’s time to turn your attention to all the platforms that are available for you to repurpose to.

And remember: repurposing is a form of promotion because you are distributing your content further.

3 Steps to Content Expansion

Step #1: Pushing Your Content

For example, each of my Growth Everywhere interviews pushes to a few areas:

  • Apple iTunes – it takes a little bit of work to set up a podcast (equipment, software, editing, etc.) but once you get in a flow, it’s a piece of cake. Pat Flynn has a fantastic guide on how to set up a podcast here.
  • Stitcher – same as above.
  • YouTube – I upload all my audio podcast episodes to YouTube to increase my reach. It’s another opportunity for me to get more subscribers to my podcast and also build brand awareness. Here’s what my ‘videos’ end up looking like on YouTube (notice the orange call-to-action button):
    Youtube call to action button
  • Facebook (organic) – People talk about Facebook organic reach being dead, but that’s not the case. If you have a presence on Facebook (or if your audience hangs out there), you should be posting directly to the app (that means not using social media tools for your page posts). You’ll get more reach that way.
  • Guests posts on other sites – After you’ve found the best places for you to guest blog and established a good relationship, ask if you can repurpose some of your content for their site. For example, I was able to publish an interview I did with Cal Newport on Entrepreneur because I rewrote the post based on their guidelines. If it’s valuable to your audience, why wouldn’t it be valuable to a similar audience? It’s a win/win for both sides.
  • Soundcloud – Soundcloud is an online audio distribution platform that is growing quickly. If you’re using a podcast hosting service like LibSyn, it’ll allow you to automatically publish to SoundCloud. If not, manually publishing isn’t so bad (especially if you’re getting added distribution). In case you didn’t think Soundcloud was viable, they have over 175m monthly users as of 2015. Here’s a snapshot of their growth:
    SoundCloud growth
  • Medium (duplicated posts are OK) – Medium is a growing publishing platform that has some neat tools to help amplify your posts’ reach. As of 3/19/14, Medium has 13 million unique monthly users. That’s nothing to turn your nose up at. Sometimes I’ll syndicate my content to Medium. Most SEOs will say that it’s probably not a good idea to syndicate content. For me, I say it depends. The most important thing when considering syndication is how you can do it safely without harming your website.
  • LinkedIn publishing platform (again…duplicated posts are OK) – Professional social network LinkedIn is starting to take publishing more seriously as it continues to expand. I’ll usually syndicate one or two posts per week to LinkedIn. As of 2015, LinkedIn has 364 million users:
    LinkedIn user statistics

Find more statistics at Statista

  • Twitter – You are still using Twitter, right?
  • LinkedIn Groups – I used to think LinkedIn groups didn’t provide much value, but time and time again, I’m proven wrong:
    LinkedIn Groups
  • Guest posts on other sites – I’ll sometimes write on larger publications such as Entrepreneur.com. Because my content is relevant to their audience it tends to resonate. However, larger publications have strict requirements for original content. That means I’ll have to spend some time recrafting my content to fit their guidelines. It pays off in the long run though. Neil Patel does a good job of breaking down the lessons he learned from publishing over 300 guest posts.

Although I don’t spend much time on YouTube, I get 4,000+ views a month just by pushing to it. On LinkedIn, I can get an additional 400 visits just by republishing the same content:

LinkedIn views analytics

Sure, these numbers aren’t eye-popping, but as you continue to add them across these other platforms, it adds up. Compound it over years and then you’ll see some serious numbers.

But that’s not all. Newer platforms like Pinterest, Instagram and Periscope are popping up all the time. Writing them off without at least exploring can be a huge mistake. For example, Foundr Magazine’s Nathan Chan grew his Instagram following to over 110,000 people in just 5 months. What’s more impressive is that he gets 20,000 of his IG followers to click on his bio link each month – 45% convert into e-mail subscribers.

Step #2: Getting On Bigger Publications

Have you ever wanted to contribute to sites like Forbes, Huffington Post, Inc. or Fast Company? Young Entrepreneur’s Council is a fast pass to getting on these sites. They even have services that will write articles for time-pressed entrepreneurs. You don’t need to worry about coming up with articles or submitting it to editors. They’ll take care of that for you.

The criteria for admission is a business that does >$1m in annual revenues and a $1,000 annual fee. You’ll also be able to connect with young up-and-coming (under 40 years old) entrepreneurs.

But if you don’t exactly fit the mold for YEC, that’s not a problem. Here’s how you can get on bigger publications:

Continue reading %Content Expansion: How to Maximize Your Content%


by Eric Siu via SitePoint

Section Scroll – jQuery Plugin for Scrollable Sections Navigation

Section Scroll is a jQuery plugin for automatically making scrollable sections navigation. You can create one page scrolling website with this plugin.


by via jQuery-Plugins.net RSS Feed

Display Data Sets in InDesign with Porky

As a coder of many years, I am a keen believer in writing everything once and being able to use it in multiple places. In the coding world, thanks to open data formats and widely supported APIs we can generally have one central set of content and use it for different applications and use cases, all nicely in sync.

In the desktop design world, this has traditionally been harder, with sources of content in Word documents, InDesign files and maybe some content management systems or spreadsheets.

Imagine my delight when I by chance came across Porky, an open source InDesign extension (well, actually a script) that lets you connect your InDesign files to a variety of data sources.

Installation

Download the current version of the script, unarchive it and add the folder into the InDesign Scripts/Scripts Panel folder (On my Mac this is inside the InDesign application package), Porky should now show in the InDesign scripts panel.

[caption id="attachment_123093" align="aligncenter" width="882"]Scripts Panel Scripts Panel[/caption]

Porky needs node.js installed on your local computer, full instructions can be found here. When you have that installed, we can install some of the additions to node.js needed by Porky that handle connecting to the various services it supports. Install these by opening up your command line and issuing these two commands (This is for a Mac with InDesign CC installed, paths will vary depending on your platform and version):

[code language="javascript"]
cd /Applications/Adobe\ InDesign\ CC\ 2015/Scripts/Scripts\ Panel/porky
npm install
[/code]

Start Porky

Double click start-porky-data-source-access.jsx in the Scripts panel, this may open up some terminal windows, just leave them for now.

Start Porky

Using Porky

Porky uses Adobe's ExtendScript to create the scripts that connect InDesign to the data sources it supports. There are some examples in the Porky/src/examples folder and I recommend you download the ExtendScript Toolkit to edit and create your own.

I will step through examples of how to connect to and use the data sources that Porky supports, if you want to dig further, read Porky's documentation.

SQL

I created a basic SQL table containing some SitePoint articles, you can find the file here.

[code language="javascript"]
//@include ../bin/porky.jsx;

settings.dataSource.type = "MySQL";
settings.dataSource.server = "127.0.0.1";
settings.dataSource.name ="SitePoint";
settings.dataSource.username = "root";
settings.dataSource.password = "";

var mySQLResult = "";

try{
mySQLResult = connectToDataSource("SELECT * FROM articles");
mySQLResult = JSON.parse(mySQLResult);
alert(mySQLResult);
}catch(e){
alert("Error\nCheck console window for details!");
}
[/code]

JSON

As with all of my tutorials, I will use the Marvel API to show Porky's JSON features.

[code language="javascript"]
//@include ../bin/porky.jsx;

settings.dataSource.type = "JSON";
settings.dataSource.name = "http://ift.tt/1T8C9KC";

// specify path in dot notation here or leave "" to request the entire object
var myJSONResult = connectToDataSource("data.results");

alert( JSON.parse(myJSONResult) );
alert( JSON.stringify(myJSONResult) );
[/code]

CSV

Using a articles">CSV version of the SQL table from earlier:

[code language="javascript"]
//@include ../bin/porky.jsx;

// read an existing text file from a specific folder
var myCSVFileContent = readFile('articles.csv'); // Absolute file path

if(myCSVFileContent){
alert('File read with content\n' + myCSVFileContent);
} else {
alert('File does not exist');
}
[/code]

Displaying Data

Create a Text Frame

[code language="javascript"]
//@include ../bin/porky.jsx;
...
var myTextframe = addFrame(50, 50, 500, 250, "");
...
[/code]

This creates a new text frame and the parameters (in respective order) are equal to the x and y coordinates and the width and height of the frame. The final parameter is the string or file for content, which we will leave empty for now.

Filling frame with data

This process depends on the structure of the data returned and is easier with some data return formats than others. We use the following function:

[code language="javascript"]
//@include ../bin/porky.jsx;
...
var myTable = appendToFrame(myTextframe, myArray);
...
[/code]

The myArray variable expects a string or two-dimensional array, i.e. an array of rows, with each row containing sets of content values. Getting this array is what can end up being complicated.

Continue reading %Display Data Sets in InDesign with Porky%


by Chris Ward via SitePoint

OAuth 2 All the Things with oPRO: Customization

This is the third and the last part of this series. Today we will finalize our authentication provider built with oPRO. Specifically, I will instruct you how to work with the scope, implement limited lifespan for access tokens, and introduce rate limitation. Also, we’ll discuss some advanced configuration options, such as using a custom authentication […]

Continue reading %OAuth 2 All the Things with oPRO: Customization%


by Ilya Bodrov-Krukowski via SitePoint

Master AdWords, Analytics, Social Media, Copywriting and More for $19

Three-Part Digital Marketing Full Stack Marketer Bundle

Acquiring new clients and growing your revenues is about more than creating a great product or business. Learn how to create a marketing strategy and grow your business with the three-part Full-Stack Marketer Bundle for $19.

Whether you want a career in marketing or want to learn how to take your own business to the next level, this bundle has the tools to help. You'll learn how to write great copy, manage your social media presence, ensure your site ranks high in search, and create successful email campaigns. You'll also get plenty of training in two essential tools used by industry pros—Google Analytics and Google Adwords. Use them to understand and track user behavior and create campaigns targeted to your audience. You'll even get a top-selling e-book full of startup advice from Silicon Valley insiders.

Become a marketing pro. Get this three-part Full-Stack Marketer Bundle for $19 at SitePoint Shop.

Continue reading %Master AdWords, Analytics, Social Media, Copywriting and More for $19%


by SitePoint Offers via SitePoint

How to Make WordPress Sites Different by Geography