Monday, January 26, 2009

Mobile sites creator

We wrote recently about QR codes for YouTube. It is a bookmarklet, lets you copy YouTube mobile page right to your phone. Now let us see a more generic solution - how to automatically create a mobile video site. Our new mashup YouTube mobile video lets you collect a bundle of interesting video pages and automatically create a mobile (XHTML, WAP 2.0) site for them. Could be a good source of the mobile traffic for the telecom operators as well a usefull add-on for the mobile sites developers (designers). For example, just create without any programming a link for the video data your visitors could be interested in and use this link on the own mobile portal (site).

The usage is very easy. On the mashup's page (no need for the registration) just set a link for YouTube page. Than edit the title for this page and add it to the site. Mashup automatically detects a relevant mobile data and returns you a link to the mobile site. You can share this link with email, Twitter, Facebook or even copy it right to your own mobile via QR-code. And it is exactly the same link you can reuse across your own mobile sites.

Technically it is an YouTube API and several of custom tags from Coldtags suite. For example - YouTube mashup taglib.

Friday, January 23, 2009

More Twitter 411

Our Twitter 411 mashup in Twitdom directory

Wednesday, January 21, 2009

YouTube QR code

An useful QR code bookmarklet. Lets you obtain QR code for the mobile version of opened YouTube video (it will create a QR code image with the URL of the mobile YouTube page for the video you are viewing).
If you are using Internet Explorer, just right click on the link, and select Add to Favorites and save it to the Links folder. If you are using Firefox, right click the link and select Bookmark This Link and save it to the Bookmark Toolbar Folder.

How does it work? Open any YouTube page. E.g. Magic tricks. With the opened page select YouTube QR code bookmarklet. And you will get a QR code for the mobile version. So as soon as you scan it the mobile URL will be right on your mobile. It could be a good traffic generation tools for the mobile operators - now it is very easy to transfer YouTube video to mobile.

More bookmarklets see here.

Tuesday, January 20, 2009

Decorator

Decorator filter lets you update pages on the fly. Filter lets you add dynamically (on the fly) some content to the serviced requests. More precisely filter adds content from the given file before, after or inside of the given HTML tag (e.g. before the body tag, or after the head tag etc.). For example lets us add a new style for the each div tag. We can create a file /styles/add_on.txt with the following content: style="color:red". Now with the Decorator filter we can do the following:

<filter>
  <filter-name>DecoratorFilter</filter-name>
  <filter-class>com.cj.decorator.DecoratorFilter</filter-class>
  <init-param>
    <param-name>data</param-name>
    <param-value>/styles/add_on.txt</param-value>
  </init-param>
  <init-param>
    <param-name>tag</param-name>
    <param-value>div</param-value>
  </init-param>
  <init-param>
    <param-name>place</param-name>
    <param-value>inside</param-value>
  </init-param>
</filter>

and as soon as we map this filter to our JSP files, filter will update div blocks on the fly.

P.S. check out other filters in our JSOS package. There are a lot of updates.

Monday, January 19, 2009

Twitter talk bot

One interesting feature in Twitter 411 service. This mashup lets users create own programmable Twitter bots. They are so calling messaging bots - so they will respond to direct messages.Service lets you register (reserve) some keywords (words, direct messages started with) and define your own reactions (including your own CGI scripts) for the reserved words in the incoming messages. Here you can see more about building your own information systems on the top of Twitter and how you can easily create your own Twitter bot.

But if you will simply send any DM to Twitter user t411 and the first word in your DM is not reserved for the service you will get answer from the default service - talk robot. Of course, it is not a famous Eliza from J.Veizenbaum, but anyway it can support the conversation, so you can talk. Try to send DM to t411 (you must follow to it first, of course) and talk with the robot.

Sunday, January 18, 2009

Protected messages

Yet another messaging solution: Protected messages. Lets you create password protected text notes. The idea is transparent - use public sources for the private note distribution. E.g. publish private notes (the authorized people only will be able to read) in your public Twitter line. Or leave private replies in the blogs etc.

See also Annotated links and Secure messages mashups

Thursday, January 15, 2009

Mobilize it with QR-codes

Mashup QR-code maker is an easiest way (well – yet another attempt to present an easiest way) for the mobilizing of user-defined content. Here are two tasks at least. At the first hand we need to create a mobile view for user-defined data. And what is important of course we need to do that very simply. After that we have to present by some way this view for our mobile users. Actually, QR-code generator mashup solves these tasks exactly.

As soon as the web user types (or copy-pastes) some content the relevant mobile web page will be created automatically. And a link (URL) for this fresh web page will be presented as a QR-code. So as soon as mobile user scans this code than he/she will get user-defined info (an appropriate web page) automatically.

All in all it is a simplest way for the content mobilization. There is no need in programming/developing skill at all. And QR-codes solve the distribution problem.

The latest version of QR-code mashup lets you add some local document to the content (e.g. photo, video, data files etc.). So you can share for example some local saved video data for the mobile users.

Wednesday, January 14, 2009

Secure messages

Mashup Secure messages supports password protected notes. Here is an idea: you can publish secure notes in the public stream (e.g. in your Twitter status) and only authorized people will be able to read it. And the message is self-destructable (one time readable only).

Technically it is Password protected taglib from Coldtags suite.

Tuesday, January 13, 2009

QR-code in newspapers

Cash - one of the leading financial newspaper in Switzerland uses QR-Codes (in the paper version!). The readers can access stock quotes and financial information by scanning such a code right from the his/her mobile.

The source: QR code maker - an easiest way to mobilize your content with QR codes. And the latest version of this QR code generator lets you deal with the local files too. You can easily share your local files for the mobile users.

Monday, January 12, 2009

Sunday, January 11, 2009

Authorization filter

A fastest way for setting an authorized access to your files - Authorization filter. Just one declaration in your web.xml file, describes user name/password pair:

<filter>
  <filter-name>AuthFilter</filter-name>
  <filter-class>com.cj.auth.AuthFilter</filter-class>
  <init-param>
    <param-name>name</param-name>
    <param-value>guest</param-value>
  </init-param>
  <init-param>
    <param-name>password</param-name>
    <param-value>12345</param-value>
  </init-param>
</filter>

and now just map this filter to some directory (file) you are going to protect:

<filter-mapping>
  <filter-name>AuthFilter</filter-name>
  <url-pattern>/closed/*.jsp</url-pattern>
</filter-mapping>

Thursday, January 08, 2009

Password protected

A new component in our Coldtags suite - Password protected pages. Lets you create password protected pages on the fly. Custom JSP taglib lets you define authorized access only right in your JSP (and/or Coldfusion by the way) page. E.g. place the following code on the top of your page:

<%@ taglib uri="taglib.tld" prefix="p" %>

<p:PasswordProtect realm="Protected" name="guest" password="12345"/>
...
// rest of your JSP (HTML) code

taglib lets you define user name/password pair for this page. And login dialog will be popped up by this taglib also.