Many apps have their own APIs (OpenURL schemes). When Twitterrific app receives a URL which is like " twitterrific:///post?message=yourText" from another app, Twitterrific app will show its message composer with the passed text in it, and you are ready to tweet. In this case, the prefix "twitterrific://" means that the iOS will open Twitterrific app when this URL is invoked if that app is installed in your device, and " /post?message=" is one of the predetermined APIs of Twitterrific app. Example URL 2: twitterrific:///post?message=Įxample URL 2 shows the Assist URL which allows you to tweet with Twitterrific app by using your text as the sending message. Your text string will be URL-encoded automatically to be a part of an appropriate URL. In this case, " " is the placeholder that means "replace me with the text from current line or selection." When you execute this Assist, DraftPad will make a URL string like " " then opens Safari app by passing the URL to request Google to show the search results. Example URL 1: Įxample URL 1 shows a URL which allows you to search with Google via Safari app by using your text as the searching keyword(s). So modifying this URL as an Assist URL like below makes your DraftPad an interface for Googling. In this case, the string "yourKeyword" is what you are searching for. For example, when you hit the Search button in Google with mobile Safari, the URL which is like " " will be sent to the Google server. The most typical way to make an Assist URL by yourself is to find and reuse the URL which is requested when you submit your input on your favorite web service. The format of Assist URL is just like that of Internet URL, but the one big difference is that - you can use special placeholder(s) within the URL string, so that your text on the text view can be a part of the URL dynamically, and it can be passed to another app or a web service. The title will be shown in the Assists list. Let's talk about the three attributes such as "Title," "URL," and "Option." TitleĪs mentioned above, you can name each Assist as you like. Still, you need to learn about the composition of Assist. If you are familiar with web technology, creating your own Assist is not a big deal. Now if you prefer that the sent string is removed automatically from the text view (because you don't need it anymore), choosing "Clear Current Line or Selection" in the Option menu makes it possible. For example when you execute the "Tweet" Assist, DraftPad sends your text to Twitter server, but the sent string will be still on the text view. This means that the written text is not going to be changed when the Assist is executed. In most of the Assists, Option is set as "None" by default. Option specifies how DraftPad copies, cuts, or clears your text when an Assist is being executed. The Option is another chance to customize the functionality of an Assist. To learn more about placeholders, see the " Placeholders" section below. Now, if you prefer to post the whole text instead of the current line, replacing " " with " " makes it possible. This placeholder means "Current line or selection of your text." Actually, this Assist posts the current line or the selection of your text to Twitter. However, if you see one or more placeholders such as " ," " ," or " " within the URL string, it's not bad to replace them with other placeholders to make the Assist more useful to you.įor example, let's edit the "Tweet" Assist. The URL is specifying the functionality of an Assist itself. The Title doesn't affect the functionality of an Assist. There are three things you can change, the Title, URL, and Option. To modify existing Assist, tap "Edit" button on the Assists list screen and select an item you want to edit. Customizing an AssistĪssists are customizable. You can modify existing Assists to make them suit to your tasks, or you can even make your own ones. Every pre-installed Assist is stored in the Assist Library, so please feel safe to delete ones from your Assists screen because you can import it again from the library anytime later. For example, you can search with Google website directly from DraftPad using your text as the keyword, or you can post to Twitter from DraftPad with/without using other Twitter client apps.Īssists can be imported from the Assist Library webpage which can be accessed from the Assists list screen in your DraftPad. Assists are special bookmarks that you can open from DraftPad to route your text to other apps or web services.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |