colocolomemo / News / 2013-07-13

Release Notes: Quick Post Form

We have released Quick Post Form as Web Application.

About Quick Post Form

Fig. quick post form

Quick Post Form is the web page only to write a new memo. You can access it with following URL. It is also available in both PC and mobile web browser. If you add it to bookmarks or toolbar of the web browser, you can write a new memo quickly.

https://colocolomemo.com/forms/newmemo

You can customize the initial input value by following query parameters.

title
Set the title
content
Set the body of the memo content (However, it can not be passed the long sentence)
date
Set the date with formatting "yyyy/MM/dd" (e.g. date=2013/01/23
tags
Set the tags as comma separated values (e.g. tags='clip,web')
list
Set the list name (e.g. list='news clip')
star
Set the star (e.g. star=2)

e.g.) https://colocolomemo.com/forms/newmemo?title=Title Sample&content=Hello, World

Bookmarklet

This is the bookmarklet to open Quick Post Form by passing the URL and title of the web page being viewed.
If you select text in the page, the selected text will be passed to the text input field. (However, it can not be passed the long sentence)

PC browser

Drag and add the following link "+ url memo" to the bookmarks or toolbar of the browser.

+ url memo

Mobile browser

  1. Tap the following link "+ url memo".
  2. Nothing happend, but add this page to bookmarks as it is.
  3. Edit the added bookmark. Delete the text before "javascript:" (https://...#) from the URL. And save it.

+ url memo

Customize (for Expert)

All text of the bookmarklet is the following.
You can customize the parameters being passed to Quick Post Form with editing the part "var tags='',list='',titlePrefix=''" in the initial part.

javascript:(function(){var%20tags='',list='',titlePrefix='',quote=false,lt=600,w=window,d=document,enc=encodeURIComponent,t=w.getSelection().toString();if(t&&quote){for(var%20xs=t.split('\n'),i=0,len=xs.length;i<len;++i){xs[i]='>%20'+xs[i];};t=xs.join('\n');};w.open('https://colocolomemo.com/forms/newmemo?exit=true&title='+enc(titlePrefix+d.title)+'&content='+enc(location.href+(t?'\n\n'+(t.length>lt?t=t.substring(0,lt):t):''))+'&tags='+enc(tags)+'&list='+enc(list));})();
tags
Set the tags as comma separated values (e.g. tags='clip,web')
list
Set the list name (e.g. list='News Clips')
titlePrefix
Set the prefix of the title (e.g. titlePrefix='Clip: ')
quote
Whether paste the selected text in the quote format ">..." (e.g. quote=true)
English
日本語