This Week's Sponsor:

Collections Database

A Powerful Database with iCloud Sync


Search results for "drafts"

Byword For iOS Gets Improved URL Scheme

In a minor update released today, Byword developers Metaclassy have brought an improved URL scheme (based on x-callback-url) to the app, enabling actions for creating, opening documents, and manipulating text. Documentation is available here.

The actions supported by the URL scheme are:

  • new
  • open
  • append
  • prepend
  • replace

With these actions, you can now send text to a specific file in Byword, choosing to either create/open an existing document, insert text at the top (prepend) or bottom (append), or replace the entire contents of a document with new text. When using the Byword URL scheme, you’ll need to percent-encode text, which can be easily done using Launch Center Pro’s encode actions or Drafts’ double curly brackets.

This improved URL scheme creates some new interesting possibilities for iOS automation with Byword. I imagine many will experiment with workflows to append or create text from Mr. Reader’s Services menu, take notes with Drafts, or prepend text from Safari or Chrome using a browser bookmarklet. However, I still think that the URL scheme could be expanded to include support for triggering Publishing actions automatically, optionally supporting x-success to go back to another app after a post has been sent to a service integrated in Byword. With Poster no longer receiving updates, I believe the folks at Metaclassy have a great opportunity to keep Byword the simple and elegant iOS text editor that many love, while also adding advanced functionality that power users will come to rely upon in their daily workflows.

Permalink

Resolve Short URLs with Pythonista on iOS

Clean URLs

Clean URLs

I don’t like it when third-party apps or services force me to share links to articles or webpages using their own custom shortened links. I understand the appeal of personalized short domains – after all, we tweet mcstr.net links with the @macstoriesnet account – as they can provide analytics to track clicks, can save characters, and, at least in theory, they “look cool”. However, I’ve been long considering the idea of dropping our mcstr.net links, but I think the issue is worse (and more annoying) for apps and services that don’t tweet links to their own content (like we do) but that override others’ links with different domains. An example is Pocket, which gives you the clean, original URL when you choose the “Copy Link” action from the sharing menu, but that instead returns pocket.co links when sending text to Drafts (which I do often). I’ve grown tired of this practice (in Pocket and other services), and I’ve put together a workflow based on a Python script that allows me to easily resolve short links without having to open the browser and tap on multiple menus. Read more



Agenda 4.0 Review

Agenda 4.0

Agenda 4.0

Savvy Apps’ Agenda, one of the most popular third-party calendar apps for iOS that we’ve been covering on MacStories for years, has been updated today to version 4.0, which adds a beautiful new user interface and builds upon the previous version’s app integrations, support for Reminders, and gesture-driven event management. Agenda 4.0 is sold as a separate app for $1.99 on the App Store.

I’ve had the chance to test Agenda 4.0 before today’s public release, and as I kept using the app I noticed how it was turning into a powerful complement to Fantastical, my favorite calendar client for iPhone. As I have discussed this week on The Prompt, in fact, I’m currently going through my annual re-evaluation of my workflow, and, partly because of my curiosity in regard to iOS 7, I’ve started using Apple’s Reminders on a daily basis again. Reminders are easy to use, the app is fast, and, more importantly, it’s one of the Apple apps that can sync in the background all the time with iCloud. I can integrate Reminders with IFTTT for iPhone, and, overall, I have been enjoying the simplicity and deep system-wide integration of Reminders. While I’m a big fan of Fantastical’s Day Ticker (I think it’s one of the best calendar interfaces ever shipped on iOS), Agenda allows me to view calendar events and reminders in the same list (something that Fantastical for iPhone still isn’t capable of), and with version 4.0 this list is even more polished and clear than Agenda 3.0. Read more


IFTTT for iPhone: A Different Kind of iOS Automation

IFTTT for iPhone

IFTTT for iPhone

I used to heavily rely on IFTTT for my daily automation workflows that involved appending bits of text to files in my Dropbox, forwarding tweets to my OmniFocus inbox, generating PDFs, or archiving Instagram photos to my Dropbox account. IFTTT, acronym of If This Then That, is a web service that lets you connect other web services together to create automated workflows that run every time a piece of data is triggered: by leveraging a variety of APIs from compatible channels (such as Facebook, Dropbox, Evernote, Feedly, and more), IFTTT lets you automate the web in powerful (and sometimes unexpected) ways. Browsing Popular recipes on the IFTTT website can give you an idea of the scope of web automation that’s made possible by the service, and we’ve covered IFTTT in the past on MacStories as well.[1]

However, I stopped depending on IFTTT because, once I got more comfortable with my own Mac mini server as a remote automation assistant, I wanted to control the pipes of my personal data. I’m still using IFTTT for things like receiving an email if it’s going to rain tomorrow or a new SMS for press releases published by Apple (just an example of the power of IFTTT channels and recipes), but it’s not the primary system that I rely upon for automating daily tasks. The new IFTTT app for iPhone, which I have been testing and has been released today on the App Store, may make me (partially) reconsider my decision. Read more


The Next Five Years of App Store

Five

Five

A great man once said that we should look up at the stars, be curious, and keep asking questions. With the App Store now a five-year-old business, I would like – allow me to paraphrase that great man for a much more trivial endeavor – to look ahead and trying to imagine what the next five years of the App Store could look like. I already wrote my in-depth App Store retrospective last year, and I touched upon the changes introduced with iOS 6 back in September 2012. Now, it’s time to think about what’s next. The past can be functional to contextualizing the future, but eventually somebody has to think of that future. This is my humble, brief attempt.

The App Store will soon hit the impressive milestone of 1 million apps available for iPhone and iPad. In fact, I wouldn’t be surprised to know Apple is figuring out a way to time the announcement of 1 million apps with the release of iOS 7 (and possibly new iPhone hardware) this Fall. The App Store’s soon-to-be-millionaire catalogue pales in comparison to the iTunes Store’s music offerings, but it’s still impressive when considering that the modern concept of app was born only five years ago, whereas music goes, euphemistically, “a long way” back in human history.

I don’t think that the App Store’s growing catalog will ultimately change the nature of the Store itself: if you look back at the past 10 years of iTunes, you’ll see that, in spite of new releases and additions, the iTunes Store’s core mechanics haven’t changed much. Customers go to iTunes, they buy music, and they enjoy that content on their devices. With the App Store, I think we’ll keep seeing a front page, categories, charts, and a download/purchase mechanism that will go unchanged for the foreseeable future. Apple doesn’t need to alter the simplicity of the App Store model, but they must enhance it and modernize it.

I discussed many of my ideas for a better App Store in my piece from February, and I’ll revisit them today with a knowledge of the announcements Apple made with iOS 7. Read more


Getting Safari’s Selection on iPad As HTML With A JavaScript Bookmarklet

I modified this bookmarklet posted by “Tim Down” on StackOverflow to send selected text from Safari to Drafts as HTML. The result is the following code:

javascript:(function(){var%20h="",s,g,c,i;if(window.getSelection){s=window.getSelection();if(s.rangeCount){c=document.createElement("div");for(i=0;i<s.rangeCount;++i){c.appendChild(s.getRangeAt(i).cloneContents());}h=c.innerHTML}}else%20if((s=document.selection)&&s.type=="Text"){h=s.createRange().htmlText;}window.location='drafts://x-callback-url/create?text='+(h);})()

So let’s say you want to grab the first paragraph in this post. Normally, in Safari for iPad you’d end up with the plain text fetched by window.getSelection:

This is a fantastic report with lots of data points for any developer trying to get their apps featured by Apple. Dave Addey’s highly interactive regional graphs and notes are very well done. Be sure to check out Dave Addey’s other works on his main blog.

As you can see, formatting and hyperlinks have been removed. With the bookmarklet above, you’ll receive the HTML version of the selection – which looks like this. But what’s the point?

My idea was that I wanted to be able to automate the process of capturing rich text from iOS’ Safari; I wanted to achieve the same kind of functionality I have on the Mac, where rich text can be dragged from Safari or Chrome and dropped into Evernote, preserving styles, hyperlinks, and images. I thought that combining HTML output with an Evernote Append action (with the “Send as Markdown HTML” option turned on) would let me receive valid HTML content in Evernote starting from an iOS workflow. And, for the most part, I was right, because the workflow does mostly work.

As it turns out, Evernote is extremely cautious with the HTML tags they accept, and the ones that are supported follow the XHTML guidelines as ENML is a superset of XHTML. This means that my bookmarklet will work for something as simple as selecting a single paragraph, but may easily fail with multiple selections, inline images, complex styles, and so forth. When that will happen, Drafts will return an error when trying to append HTML to Evernote; obviously, this will work just fine with Dropbox, which doesn’t care about the kind of text you’re using in your actions. Even better, this should work very well with Textastic’s just-released update that supports x-callback-url.

I guess the solution would be to build a Pythonista-based converter for Evernote-approved XHTML tags and place it between Safari and Drafts, converting HTML tags Evernote won’t like to compatible ones. If you’re interested, my birthday is August 10.

Permalink

Quickly Append Browser URLs To Evernote with Keyboard Maestro

I often come across webpages and interesting links that I can’t check out right away, but that I also don’t want to send to Instapaper, Pinboard, or my OmniFocus inbox. They are, put simply, “stuff to check out”; I append these URLs to an Evernote note carrying the same name:

Macro

Macro

As I detailed in my review of Drafts 3.0 for iOS, appending text from an iPhone or iPad is easy with Agile Tortoise’s app and a combination of Evernote actions and browser bookmarklets, but I had to think of an equally straightforward workflow for the Mac. Unfortunately, the lack of a Drafts app for OS X forced me to resort to AppleScript to achieve the same kind of functionality, but the deal was (partially) sweetened by the new features introduced in Keyboard Maestro 6.0, released back in May.

Read more


ReadKit and Slow Feeds Updated with Feed Wrangler Support

ReadKit

ReadKit

As I noted yesterday with Mr. Reader’s update, the upcoming shutdown of Google Reader has resulted in a fast uptake of third-party RSS services by existing clients for iOS and OS X, leading to a more variegate, rich ecosystem of apps that sync to different web services that aim at replacing Google Reader. Among the new contenders for the RSS throne there’s David Smith’s Feed Wrangler, which has become my favorite alternative to Google Reader and that, after Mr. Reader and the upcoming Reeder for iPhone update, is now supported by Slow Feeds and ReadKit. Read more