Menu Close

Category: WordPress (page 1 of 4)

Wordpress tips and recommendations

Link Post Workflow with Ulysses and Workflow on iOS

A link post is a type of post common on many blogs, including here at 40Tech, where the post links to a story on another site. The purpose of a link post is to say to the reader, “Hey, here’s a good story.” Often the post adds a few words of commentary. The post on sharing your WiFi credentials with a QR code was an example of a link post.

I’ve recently come up with an easy way create a link post on 40Tech using Ulysses and the Workflow app on iOS. I copy the author’s name to the clipboard, select the text I want to quote, and run the workflow via Safari’s share sheet. The workflow prompts me for the name of the other site, before opening Ulysses with my post almost all ready to go. All that’s left for me to do in Ulysses is add some comments, pick my tags and categories, and publish the post.

Behind the Scenes

Here’s what happens, mostly behind the scenes, in the Workflow app:

  1. After Workflow asks me to type the name of the publication, it sets it as a variable;
  2. Workflow gets the clipboard contents (which should be the author’s name, if you copied the name to your clipboard as I explained above), changes it to title case in the event that it isn’t properly capitalized, and sets it as a variable;
  3. Workflow gets the URL from the Safari web page, as well as the text I selected on the page;
  4. Workflow puts together the pieces and creates the text for the post; and
  5. Workflow opens Ulysses with the text as a new sheet.

In the first part of step 4, above, Workflow creates a header tag (#) followed by the name of the story as a clickable link. That’s because Ulysses will take the URL that follows a header tag in the first line and add it as a “linked_list_url” custom field on my WordPress blog. That’s what makes the title of my link posts clickable, and sends you to the other site when you click the title.

Here is a screenshot of the entire workflow:

Here is a link to download the complete workflow in the Workflow directory. I realize the final two steps could probably be redone using a “New Ulysses Sheet” action, but this is working so I’m not messing with it. If you are going to use the workflow yourself, you’ll need to change the path at the end of the second-to-last step to point to a group that already exists in your Ulysses setup (mine points to 40Tech > Linked).

My link post workflow on iOS is now almost as efficient as it is on Mac. More on my Mac workflow soon.

Byword Adds Blog and Evernote Publishing [Mac/iOS]

Byword optionsByword has long been one of my favorite text editors on the Mac, iPad, and iPhone. I like it for its simplicity, its effortless sync between Mac and iOS, and its Markdown support. (For a short primer on Markdown and its virtues, check down my earlier post on it.) Byword has recently become even more useful, adding support for direct publishing to Evernote, WordPress, Tumblr, Blogger, and Scriptogram. Read more

10 Fantastic WordPress Plugins to Make Your Blog Sizzle

Wordpress plugins

I was recently asked to identify some of the essential WordPress plugins that we use are here at 40Tech. A few years ago, we covered five of them. Amazingly, we’re still using all five. There are other plugins, though, that we also use. While I would prefer a lean WordPress installation, these other plugins bring functionality that is important. With that in mind, here are ten additional plugins that make 40Tech tick.

Read more

WordPress Theme Developer to Use Code to Start Tracking All Sites Running Its Themes. Yikes!

Woothemes tracking

Almost two years ago, I wrote about the positive experience that I’d had with WooThemes when switching over to the current WordPress theme that powers 40Tech. I implemented several custom changes to the theme we use here, and the WooThemes folks were very helpful as I worked things out. Lately, though, the WooThemes team has taken a step that has given me pause. Specifically, WooThemes is integrating tracking into all of their themes – new or old – so that they can get a better idea of how their customers are using their themes.

Read more

How to Survive Your Website Getting Hit With a Denial of Service Attack

Denial of service attack

Editor’s note: Today, 40Tech is pleased to present you with a guest post from Lazy Man of Lazy Man and Money.This article is intended to demonstrate one man’s thoughts on what was happening during a denial of service attack, and how he dealt with it.

The second week in February was a very bad week for me. On February 6th, I had received a legal threat from LifeVantage regarding my ProtandimScams.com site. I was still crushed by my beloved Patriots losing the Super Bowl. (Hey, I put up with their 1-15 seasons and Lisa Olsen scandals, so I’m milking the Tom Brady era for all it is worth). On the 8th, my websites stopped working. I went to my Putty window running a Unix top command to see what was the matter. The load average had spiked from its normal level of around 0.50 to 120. If you aren’t familiar with Unix, Top, or Putty, this means that either something on your site isn’t working right or Yahoo decided to feature you on its home page. Here’s what happened next.

Read more